Bug 511223 - cant connect to stalwart as carddav server
Summary: cant connect to stalwart as carddav server
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (other bugs)
Version First Reported In: 6.5.0
Platform: EndeavourOS Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-27 15:51 UTC by Arian
Modified: 2025-10-27 15:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arian 2025-10-27 15:51:56 UTC
SUMMARY
I can't connect to my stalwart server with my Contacts. I am not sure who is to blame but Thunderbird, Evolution, DAVx5 work, so I suspect it may be Akonadis Fault.

STEPS TO REPRODUCE
1. Setup a stalwart server
2. connect to the carddav port via https://stalwartserver.lan/dav/card/username/
3. Check Errorlogs

OBSERVED RESULT
Stalwart gives the following error.

 2025-10-27T15:43:13Z DEBUG WebDAV error (web-dav.error) listenerId = "http", localPort = 8080, remoteIp = 172.16.64.2, remotePort = 36220, url = "/dav/card/shrippen/default/", type = "CardDAV", details = ["Depth", 0, "Content-Type", "text/xml; charset=utf-8"], result = 400, reason = "Unexpected token: ElementStart { name: NamedElement { ns: Dav, element: Allprop }, raw: RawElement { element: BytesStart { buf: Owned("allprop xmlns=\\"DAV:\\""), name_len: 7 }, namespace: Some([68, 65, 86, 58]) } }", elapsed = 0ms

EXPECTED RESULT
Should receive available contacts as in thunderbird, evolution or DAVx5

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION