-
I'm trying to synchronize a Confluence Team Calendar to my Android 10 device. When connecting with Davx5 v4.2.3.4, I am able to add the calendar by URL, username, password and Davx5 is able to retrieve the list of available team calendars. However, any synchronization attempt with any of these calendars fails with a HTTP 500 error. I did some digging and found some older versions of Davx5 on the internet. I tried all of them ordered ascending by version. It turns out that up to v4.2 the synchronization process works fine, but starting with v4.2.0.1 I always receive HTTP 500 errors, up to the current version v4.2.3.4. I installed a man-in-the-middle proxy to capture the PROPFIND requests made by the different versions: v4.2 and before: <?xml version='1.0' encoding='UTF-8' ?>
<propfind xmlns="DAV:"
xmlns:CAL="urn:ietf:params:xml:ns:caldav"
xmlns:CARD="urn:ietf:params:xml:ns:carddav">
<prop>
<supported-report-set/>
<n0:getctag xmlns:n0="http://calendarserver.org/ns/"/>
<sync-token/>
</prop>
</propfind> v4.2.0.1 and after: <?xml version='1.0' encoding='UTF-8' ?>
<propfind xmlns="DAV:"
xmlns:CAL="urn:ietf:params:xml:ns:caldav"
xmlns:CARD="urn:ietf:params:xml:ns:carddav">
<prop>
<CAL:max-resource-size/>
<supported-report-set/>
<n0:getctag xmlns:n0="http://calendarserver.org/ns/"/>
<sync-token/>
</prop>
</propfind> The HTTP headers are identical in all versions and the only difference in the HTTP body is the additional Comparing the 4.2 and 4.2.0.1 tags, it seems a different version of the dav4jvm library is used, which changes the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello, Thanks for providing all the info. The request is correct (and yes, we now query the max resource size). If this is a problem for a specific server, please fix/report it there because it's a server problem (which is also indicated by error code 500 which means Internal server error). I would be happy if you could report it there (service side) and provide some kind of reference here (ticket ID, ...) so if the problem occurs again we can refer to it. |
Beta Was this translation helpful? Give feedback.
I don't have experience with that, but I created a
mydomain.atlassian.net
trial and added an event to my personal calendar.I synced this event (had to create a token for authentication) with current DAVx5 and there was no problem. It has
PRODID:-//Atlassian Confluence//Calendar Plugin 1.0//EN
.During the capabilities check, the server returned
which is invalid (it should be
<max-resource-size/>
with code 404), but it was ignored by DAVx5.So if there's still a problem, I suggest to update both the server and DAVx5 to the latest version and it should work.