We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2017-07-06 02:35:40 +0200 |
When I synchronized my cardDAV account, it used to fail and carddav-client wrote the following in the log:
[W] CardDav::upsyncResponse:1128 - void CardDav::upsyncResponse() error: 299 ( 409 )
[W] Syncer::cardDavError:290 - CardDAV sync finished with error: 409 purging state data for account: 24
[C] CardDavClient::syncFinished:142 - CardDAV sync failed: 401 ""
As I understand it, 409 refers to the HTTP response code, and 409 means Conflict:
Indicates that the request could not be processed because of conflict in the request, such as an edit conflict between multiple simultaneous updates.
I could find the conflicting contact by checking the server logs, but now I instead get the following in Sailfish:
[W] Syncer::continueSync:166 - void Syncer::continueSync(const QList<QtContacts::QContact>&, const QList<QtContacts::QContact>&, const QList<QtContacts::QContact>&) no contact id specified for contact with guid "24:AB:/dav.php/addressbooks/erik/default/<CONTACT ID>.vcf:<CONTACT ID>" from account 24
[W] Syncer::cardDavError:290 - CardDAV sync finished with error: 0 purging state data for account: 24
[C] CardDavClient::syncFinished:142 - CardDAV sync failed: 401 ""
2 | No.2 Revision |
When I synchronized my cardDAV account, it used to fail and carddav-client wrote the following in the log:
[W] CardDav::upsyncResponse:1128 - void CardDav::upsyncResponse() error: 299 ( 409 )
[W] Syncer::cardDavError:290 - CardDAV sync finished with error: 409 purging state data for account: 24
[C] CardDavClient::syncFinished:142 - CardDAV sync failed: 401 ""
As I understand it, 409 refers to the HTTP response code, and 409 means Conflict:
Indicates that the request could not be processed because of conflict in the request, such as an edit conflict between multiple simultaneous updates.
I could find the conflicting contact by checking the server logs, logs (it attempted PUT /dav.php/addressbooks/erik/default/<CONTACT ID>.vcf/<ANOTHER ID>.vcf
but got 409), so I removed the contact from the addressbook in Sailfish, but now I instead get the following in Sailfish:sync error:
[W] Syncer::continueSync:166 - void Syncer::continueSync(const QList<QtContacts::QContact>&, const QList<QtContacts::QContact>&, const QList<QtContacts::QContact>&) no contact id specified for contact with guid "24:AB:/dav.php/addressbooks/erik/default/<CONTACT ID>.vcf:<CONTACT ID>" from account 24
[W] Syncer::cardDavError:290 - CardDAV sync finished with error: 0 purging state data for account: 24
[C] CardDavClient::syncFinished:142 - CardDAV sync failed: 401 ""