Bug 486871 - Can't fetch caldav or carddav from Nextcloud in Fedora 40, driver error
Summary: Can't fetch caldav or carddav from Nextcloud in Fedora 40, driver error
Status: CONFIRMED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-10 19:49 UTC by Christian (Fuchs)
Modified: 2024-09-20 12:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian (Fuchs) 2024-05-10 19:49:59 UTC
SUMMARY
Since re-installing a fresh Fedora 40 after using Fedora 39, I am no longer able to add my nextcloud calendar or addressbooks in akonadi. The error message shown in the window is completely useless (driver error, on German, couldn't get it to show it in English), on the console it's a bit more usefull, 

org.kde.pim.akonadiserver: Handler exception when handling command FetchCollections on connection akonadi_davgroupware_resource_0 (0x560355340ab0) : Hierarchical RID does not specify an existing collection
org.kde.pim.davresource: Unable to fetch collections 320 "Ungültige Antwort des Treibers"

STEPS TO REPRODUCE
1. Install Fedora 40 with akonadi 6.0.2
2.  Try to add a nextcloud ressource, either via the built in Nextcloud setting in the drop down or by specifying the URLs manually

OBSERVED RESULT
You get the above error


EXPECTED RESULT
It works

The same nextcloud instance works with other software, e.g. a still running KDE 5.* based kontact on my desktop box, davx on Android etc. 

Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-300.fc40.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20NQS30W00
System Version: ThinkPad X390 Yoga
Comment 1 Alexander Minges 2024-09-20 12:31:12 UTC
I experience the same issue trying to fetch CardDav or CalDav from my Nextcloud (29.0.7) installation. The English error message is:

org.kde.pim.davresource: Unable to fetch collections 320 "Invalid responses from backend"

Operating System: CachyOS Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-2-cachyos-lto (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 29.3 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO Pulse 14 Gen1