Nextcloud Caldav / Carddav with Thunderbird TbSync - password not saved
-
Anyone else having a problem with Nextcloud Calendar / Contacts and Thunderbird with the tbsync addon (https://addons.thunderbird.net/en-US/thunderbird/addon/tbsync/)?
I have to re-enter my Nextcloud app password generated for this specific app every single time I open up Thunderbird. I don't have anything meaningful in my Nextcloud log and there are no similar issues on the Nextcloud or Thunderbird forums...
-
Have you tried the addons' issue trackers?
https://github.com/jobisoft/TbSync/issues
https://github.com/jobisoft/DAV-4-TbSync/issues -
Thanks, I have opened a ticket on github. However, I haven't seen a similar issue, neither in tbsync nor on Nextcloud or Thunderbird forums.
After some research it seems the source of the error is that the two-factor authentication in Nextcloud stopped working.
I have 2FA enabled and created an app password for caldav sync.
However, all clients show the following error: "password login forbidden":
<?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:o="http://owncloud.org/ns"> <s:exception>OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden</s:exception> <s:message/> <o:hint xmlns:o="o:">password login forbidden</o:hint> </d:error>
This would be correct error if I used my main password - but I don't, I'm using the app password.
Was anything changed in the recent package update for Nextcloud?
-
The desktop app uses some kind of webauth (you're redirected to the login page of nextcloud), so I can't say.
Other clients like iOS I can't test because Nextcloud is stopped due to redis errors (see https://forum.cloudron.io/topic/2569/after-update-to-cloudron-5-2-3-redis-runs-out-of-memory)Now that Nextcloud is running again: Yes, I can access the Nextcloud calendar via iOS and add appointments that show up on the Nextcloud web calendar.
-
BTW: In Cloudron, I can generate an app password for Nextcloud in the "Profile Tab" - how is that different from generating app passwords in Nextcloud itself? Is there a conflict maybe?