CardDAV sync with radicale
So with update 10, I can create a CalDAV + CardDAV account, and the CalDAV portion works, I can sync things from my radicale server. The initial discovery goes OK as well, I am reproducing the server debug log below. However, even though an addressbook resource is advertised, Jolla doesn't pick it up and never mentions it in any further communication with the server. In other words, the CardDAV portion of the account is not even created and as such a sync is never attempted. The ag-tool output is at the end.
2014-12-21 18:08:56,025 - DEBUG: Request content:
<d:propfind xmlns:d="DAV:" xmlns:cs="http://calendarserver.org/ns/" xmlns:c="urn:ietf:params:xml:ns:caldav" xmlns:ca="http://apple.com/ns/ical/"><d:prop><d:resourcetype /><d:current-user-principal /><d:displayname /><cs:getctag /><ca:calendar-color /></d:prop></d:propfind>
2014-12-21 18:08:56,040 - DEBUG: Response content:
<?xml version="1.0"?>
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:CR="urn:ietf:params:xml:ns:carddav" xmlns:CS="http://calendarserver.org/ns/" xmlns:ICAL="http://apple.com/ns/ical/">
<response>
<href>/mornfall/main.ics/</href>
<propstat>
<prop>
<resourcetype>
<C:calendar />
<collection />
</resourcetype>
<current-user-principal>
<href>/mornfall/</href>
</current-user-principal>
<displayname>main.ics</displayname>
<CS:getctag>"408012581"</CS:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<ICAL:calendar-color />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/mornfall/contacts.vcf/</href>
<propstat>
<prop>
<resourcetype>
<CR:addressbook />
<collection />
</resourcetype>
<current-user-principal>
<href>/mornfall/</href>
</current-user-principal>
<displayname>contacts.vcf</displayname>
<CS:getctag>"-1269130180"</CS:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<ICAL:calendar-color />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/mornfall/konzerva.ics/</href>
<propstat>
<prop>
<resourcetype>
<C:calendar />
<collection />
</resourcetype>
<current-user-principal>
<href>/mornfall/</href>
</current-user-principal>
<displayname>konzerva.ics</displayname>
<CS:getctag>"1020629537"</CS:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<ICAL:calendar-color />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/mornfall/</href>
<propstat>
<prop>
<resourcetype>
<principal />
<collection />
</resourcetype>
<current-user-principal>
<href>/mornfall/</href>
</current-user-principal>
<displayname>mornfall</displayname>
<CS:getctag>"0"</CS:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<ICAL:calendar-color />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
</multistatus>
And ag-tool says this:
[nemo@jolla ~]$ ag-tool list-settings 33
default_credentials_username = mornfall
profile_id = caldav-sync-33
Jolla/segregated_credentials/Jolla = 34
CredentialsId = 34
CredentialsNeedUpdate = false
enabled = true
name = mornfall
onlinesync-caldav
CredentialsId = 34
calendar_colors = ["#ffffff", "#ffffff"]
server_address = https://ash.fixp.eu:24
enabled_calendars = ["/mornfall/konzerva.ics/", "/mornfall/main.ics/"]
caldav-sync/profile_id = caldav-sync-33
auth/method = password
calendars = ["/mornfall/konzerva.ics/", "/mornfall/main.ics/"]
calendar_display_names = ["konzerva.ics", "main.ics"]
enabled = true
auth/mechanism = password
sync_profile_templates = ["caldav-sync"]
onlinesync-carddav
auth/method = password
server_address = https://ash.fixp.eu:24
auth/mechanism = password
CredentialsId = 34
enabled = true
sync_profile_templates = []
Today I installed 1.1.7.28 Björntrösket, and now Radicale contact sync seems to work. Could someone confirm?
soulsource ( 2015-09-01 17:21:02 +0200 )edit