https://bugs.kde.org/show_bug.cgi?id=386985
Bug ID: 386985
Summary: akonadi CalDav resource not synching with certain
servers
Product: Akonadi
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: DAV Resource
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The behavior I am seeing is somewhat similar to what is described in bug#386905
(though it's unclear to me if the root cause is the same, so I created a new
bug report)
I am able to setup a CalDav resource. It successfully detects all the Calendars
on the server but it doesn't sync and Event with the server.
To get an understanding of what's going on, I compared the traffic that various
other clients (e.g. Evolution) with the traffic from akonadi (using mitmproxy
which is quite helpful)
It turns out that the main difference between both implementations is the way
they send the "calendar-multiget" requests to fetch a list of multiple Events
from the Server. Evolution (which works) sends the all the URLs back exactly as
they were return by the server (i.e. just paths without any URL scheme and
hostname) while akonadi seems to turn them into full blown URLs, adding the
scheme, hostname and port of the connection URL. It seems some servers (e.g.
the one I am testing against) don't like this.
For testing purpose I crafted a manual "calendar-multiget" request (using
curl), which, after cleaning up the URLs manually got the a successful reply
from the server.
I am currently working on a patch for libkdav to implement that behavior.
--
You are receiving this mail because:
You are watching all bug changes.