CardDAV will not sync ( and

asked 2015-07-01 22:49:54 +0300

jonathanarcher gravatar image

updated 2015-07-15 16:30:57 +0300

heubergen gravatar image

Hi everyone, I just gave up trying to get CardDAV to work on my Jolla. Maybe someone here knows some advice. I'm runnning a Synology CardDAV server on a NAS which synchronizes fine with Thunderbird using SOGO. But no matter what settings I use (with or w/o SSL, with or w/o full path) I never achieve a synch. The account is always created without error nevertheless. In developer mode I started a debugging session. Whatever set of settings I try there's always the following error (multiple times) in the log:

SailfishKeyProvider_storedKey(): error: no scheme or key found for provider/service

Does someone have any idea?

Many Thanks in advance, jonathanarcher

update: update to 1.1.7 didn't do the trick. Still the same error in log. Additionally I found the following lines:

Jul 15 14:51:30 Jolla carddav-client[5429]: [D] {anonymous}::debugDumpData:60 - "Bad request line: PROPFIND HTTP/1.1" Jul 15 14:51:30 Jolla carddav-client[5429]: [W] Syncer::cardDavError:284 - CardDAV sync finished with error: 400 purging state data for account: 48

edit retag flag offensive close delete


I seem to have the same problem with

urlauber ( 2015-07-14 10:28:00 +0300 )edit

Are you able to provide detail logging? Requires developer mode.

First, ensure that /etc/systemd/journald.conf has RateLimitBurst=3000 and RateLimitInterval=10s Then, open an ssh terminal to device:

$ systemctl --user stop msyncd
$ killall msyncd
$ MSYNCD_LOGGING_LEVEL=8 devel-su -p msyncd

Leave that running, and then open a new terminal.

$ devel-su journalctl -af | grep carddav

Then trigger a sync (Settings|Accounts, longpress the CardDAV account->Sync)

The second (journalctl) terminal should be full of debugging output. Please send those logs to chris dot adams at jolla dot com and I will try to figure out what we've done wrong.

Thanks, Chris.

chris.adams ( 2015-07-16 04:20:05 +0300 )edit

Hi Chris, thanks for the help. Logs are on their way.

Cheers, Christian

jonathanarcher ( 2015-07-16 11:27:29 +0300 )edit

The stored key warning can be ignored. It's an unfortunate but harmless warning due to a quirk in our oauth2 authentication framework (which this plugin doesn't actually need to use).

From the logs Christian sent, it looks like the plugin is skipping an important server-path-discovery step in this case, but I don't yet know why. I am investigating and hopefully will figure out what is happening, shortly.

chris.adams ( 2015-07-22 08:45:10 +0300 )edit

Hi Chris, is there any news on the Synology front? Would it help to have logs from another person? I have an account on a Synology cloud but nothing happens when I try to sync using the Sailfish CalDAV&CardDAV account. Searching through TJC I found some people who succeeded in syncing their phones with an Owncloud system which also uses the CalDAV&CardDAV account, how come?

Maximilian1st ( 2015-10-27 10:01:47 +0300 )edit