Hello!
After updating to the latest version of DAVdroid, I’ve been having problems with my address book. While calendar synchronization works flawless, contacts just aren’t synchronized. Reinstalling DAVdroid did not resolve the issue. The server is running the latest version of ownCloud 7.
I’d appreciate any suggestions.
Let me post the log I got:
SYNCHRONIZATION INFO
Synchronization phase: 7
Account name: [name]
Authority: com.android.contacts
HTTP REQUEST:
REPORT https://[server]/remote.php/carddav/addressbooks/[name]/contacts/
Content-Length: 184
Content-Type: application/xml; charset=utf-8
Depth: 1
<?xml version='1.0' encoding='UTF-8' ?><CARD:addressbook-query xmlns="DAV:" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><getetag /></prop><CARD:filter /></CARD:addressbook-query>
HTTP RESPONSE:
http/1.1 500 Internal Server Error
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: close
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *
Content-Type: text/html; charset=utf-8
Date: Thu, 22 Oct 2015 08:46:23 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
OkHttp-Received-Millis: 1445503583748
OkHttp-Selected-Protocol: http/1.1
OkHttp-Sent-Millis: 1445503581823
Pragma: no-cache
Server: Apache/2.2.22 (Ubuntu)
Set-Cookie: oca1b99cf975=d3baigk87kbe3vbd1jmg43k1c3; path=/; HttpOnly
Set-Cookie: oca1b99cf975=emffe91vhpj00655odh0aj1eg1; path=/; secure; HttpOnly
Strict-Transport-Security: max-age=63072000; includeSubDomains
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: Sameorigin
X-Powered-By: PHP/5.3.10-1ubuntu3.20
X-Robots-Tag: none
X-XSS-Protection: 1; mode=block
STACK TRACE:
at.bitfire.dav4android.exception.HttpException: 500 Internal Server Error
at.bitfire.dav4android.exception.HttpException: 500 Internal Server Error
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:281)
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
at at.bitfire.dav4android.DavAddressBook.addressbookQuery(DavAddressBook.java:68)
at at.bitfire.davdroid.syncadapter.ContactsSyncManager.listRemote(ContactsSyncManager.java:118)
at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:169)
at at.bitfire.davdroid.syncadapter.ContactsSyncAdapterService$ContactsSyncAdapter.onPerformSync(ContactsSyncAdapterService.java:52)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
SOFTWARE INFORMATION
DAVdroid version: 0.9.0.3 (81) Thu Oct 22 10:25:24 MESZ 2015
Installed from: Google Play Store
JB Workaround installed: no
CONFIGURATION
System-wide synchronization: automatically
SYSTEM INFORMATION
Android version: 5.1.1 (klte-userdebug 5.1.1 LMY48W f3b4ed107c test-keys)
Device: samsung / Samsung Galaxy S5 (klte)
[edited by admin: added ``` prefix/postfix so that logs are monospace]
Thanks in advance,
Parexus