Trying to add CalDAV / CArdDAV resources from SOGo server, akonadi fails to retrieve collections, and complains about lack of authentication
STEPS TO REPRODUCE
1. Add an Address Book
2. akonadi_davgroupware assistant pops up and asks for credentials
3. asks for server name and computes the full URLs (notice ther last part is missing, ie personal/ is my case, name of my address book)
4. when clicking OK, a popup appears and complains that the web site does not require authentication, warning for a possible trap, and asks for confirmation
5. after confirmation, nothing happens... looking at akonadiconsole, the resources shows "Extracting collections (0%"
No usable resources (address book or calendar) is added.
Evolution and Android DAVx5 work fine with server.
Going to the url with a browser asks for authentication.
Add and synchronize address book(s) and calendar(s) available on the SOGo server
Linux/KDE Plasma: Ubuntu 22.04 / KDE Plasma 5.24.3
(available in About System)
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
I found the origin of the problem: the resource URLs have moved and the server is redirecting (301) to a new URL.
Evolution as well as DAVx5 cope with this, but akonadi does not. Using the current url (and not the redirected one) works...