Skip to content

Instantly share code, notes, and snippets.

@rigid
Created April 4, 2014 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rigid/9983670 to your computer and use it in GitHub Desktop.
Save rigid/9983670 to your computer and use it in GitHub Desktop.
DavDroid Sync log
I/davdroid.ContactsSyncAdapter(10660): httpClient = ch.boye.httpclientandroidlib.impl.client.InternalHttpClient@4185af50
I/davdroid.DavSyncAdapter(10660): Performing sync for authority com.android.contacts
I/davdroid.ContactsSyncAdapter(10660): httpClient 2 = ch.boye.httpclientandroidlib.impl.client.InternalHttpClient@4185af50
D/davdroid.WebDavResource(10660): Using preemptive authentication (not compatible with Digest auth)
I/davdroid.SyncManager(10660): Remotely removing 0 deleted resource(s) (if not changed)
I/davdroid.SyncManager(10660): Uploading 1 new resource(s) (if not existing)
V/davdroid.LocalAddressBook(10660): Couldn't read contact photo
V/davdroid.LocalAddressBook(10660): java.io.FileNotFoundException: No photo file found for ID 0
V/davdroid.LocalAddressBook(10660): at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:146)
V/davdroid.LocalAddressBook(10660): at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:577)
V/davdroid.LocalAddressBook(10660): at android.content.ContentProviderClient.openAssetFile(ContentProviderClient.java:200)
V/davdroid.LocalAddressBook(10660): at at.bitfire.davdroid.resource.LocalAddressBook.populatePhoto(LocalAddressBook.java:306)
V/davdroid.LocalAddressBook(10660): at at.bitfire.davdroid.resource.LocalAddressBook.populate(LocalAddressBook.java:159)
V/davdroid.LocalAddressBook(10660): at at.bitfire.davdroid.resource.LocalCollection.findById(LocalCollection.java:152)
V/davdroid.LocalAddressBook(10660): at at.bitfire.davdroid.syncadapter.SyncManager.pushNew(SyncManager.java:140)
V/davdroid.LocalAddressBook(10660): at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:46)
V/davdroid.LocalAddressBook(10660): at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:93)
V/davdroid.LocalAddressBook(10660): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:257)
D/davdroid.SNISocketFactory(10660): Setting SNI hostname
I/davdroid.SNISocketFactory(10660): Established TLSv1 connection with dav.server.com using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "PUT /card.php/addressbooks/daniel/default/abb38630-aa9e-493e-a067-e3f82fe8ed83.vcf HTTP/1.1[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "If-None-Match: *[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "Content-Type: text/vcard[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "Content-Length: 276[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "Host: dav.server.com[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "Connection: Keep-Alive[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "User-Agent: DAVdroid/0.5.11-alpha[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "Accept-Encoding: gzip,deflate[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "Authorization: Basic XXX[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "BEGIN:VCARD[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "VERSION:3.0[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "PRODID:DAVdroid/0.5.11-alpha (ez-vcard/0.9.2)[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "UID:abb38630-aa9e-493e-a067-e3f82fe8ed83[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "FN:Testo Test[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "N:Test;Testo;;;[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "TEL;TYPE=cell:1234[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "TEL;TYPE=home:4567[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "EMAIL;TYPE=work:test@test.com[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "URL:http://www.test.com[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "REV:20140404T213518Z[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 >> "END:VCARD[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "HTTP/1.1 201 Created[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "Server: nginx/1.4.7[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "Date: Fri, 04 Apr 2014 21:35:21 GMT[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "Content-Type: text/html; charset=utf-8[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "Content-Length: 0[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "Connection: keep-alive[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "Keep-Alive: timeout=20[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "X-Powered-By: PHP/5.5.10-pl0-gentoo[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "Set-Cookie: PHPSESSID=XXX; path=/[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "Expires: Thu, 19 Nov 1981 08:52:00 GMT[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "Pragma: no-cache[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "ETag: "c2743a76079e6ecef58ed03c8c237abf"[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "X-Frame-Options: SAMEORIGIN[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "X-Frame-Options: sameorigin[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-1 << "[\r][\n]"
D/davdroid.LocalCollection(10660): Committing 1 operations
I/davdroid.SyncManager(10660): Uploading 0 modified resource(s) (if not changed)
I/davdroid.SyncManager(10660): Synchronization forced
I/davdroid.SyncManager(10660): Fetching remote resource list
D/davdroid.SNISocketFactory(10660): Setting SNI hostname
I/davdroid.SNISocketFactory(10660): Established TLSv1 connection with dav.server.com using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "PROPFIND /card.php/addressbooks/daniel/default/ HTTP/1.1[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Depth: 1[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Content-Length: 134[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Host: dav.server.com[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "User-Agent: DAVdroid/0.5.11-alpha[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Authorization: Basic XXX[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "<propfind xmlns="DAV:">[\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> " <prop>[\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> " <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/>[\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> " <getetag/>[\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> " </prop>[\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "</propfind>"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "HTTP/1.1 207 Multi-Status[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Server: nginx/1.4.7[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Date: Fri, 04 Apr 2014 21:35:24 GMT[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Content-Type: application/xml; charset=utf-8[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Transfer-Encoding: chunked[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Connection: keep-alive[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Keep-Alive: timeout=20[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "X-Powered-By: PHP/5.5.10-pl0-gentoo[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Set-Cookie: PHPSESSID=XXX; path=/[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Expires: Thu, 19 Nov 1981 08:52:00 GMT[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Pragma: no-cache[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Vary: Brief,Prefer[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "DAV: 1, 3, extended-mkcol, addressbook, access-control, calendarserver-principal-property-search[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "36f[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "<?xml version="1.0" encoding="utf-8"?>[\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/card.php/addressbooks/daniel/default/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">2</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getetag/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/card.php/addressbooks/daniel/default/abb38630-aa9e-493e-a067-e3f82fe8ed83.vcf</d:href><d:propstat><d:prop><d:getetag>"c2743a76079e6ecef58ed03c8c237abf"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus>[\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "0[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "[\r][\n]"
D/davdroid.WebDavResource(10660): Processing multi-status element: https://dav.server.com/card.php/addressbooks/daniel/default/
D/davdroid.WebDavResource(10660): Processing multi-status element: https://dav.server.com/card.php/addressbooks/daniel/default/abb38630-aa9e-493e-a067-e3f82fe8ed83.vcf
I/davdroid.SyncManager(10660): Fetching 0 new remote resource(s)
I/davdroid.SyncManager(10660): Fetching 1 updated remote resource(s)
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "GET /card.php/addressbooks/daniel/default/abb38630-aa9e-493e-a067-e3f82fe8ed83.vcf HTTP/1.1[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Host: dav.server.com[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Connection: Keep-Alive[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "User-Agent: DAVdroid/0.5.11-alpha[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Accept-Encoding: gzip,deflate[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "Authorization: Basic XXX[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 >> "[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "HTTP/1.1 200 OK[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Server: nginx/1.4.7[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Date: Fri, 04 Apr 2014 21:35:25 GMT[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Content-Type: text/x-vcard; charset=utf-8[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Content-Length: 276[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Connection: keep-alive[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Keep-Alive: timeout=20[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "X-Powered-By: PHP/5.5.10-pl0-gentoo[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Set-Cookie: PHPSESSID=XXX; path=/[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Expires: Thu, 19 Nov 1981 08:52:00 GMT[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Pragma: no-cache[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "Last-Modified: Fri, 04 Apr 2014 21:35:21 GMT[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "ETag: "c2743a76079e6ecef58ed03c8c237abf"[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "X-Frame-Options: SAMEORIGIN[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "X-Frame-Options: sameorigin[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "BEGIN:VCARD[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "VERSION:3.0[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "PRODID:DAVdroid/0.5.11-alpha (ez-vcard/0.9.2)[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "UID:abb38630-aa9e-493e-a067-e3f82fe8ed83[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "FN:Testo Test[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "N:Test;Testo;;;[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "TEL;TYPE=cell:1234[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "TEL;TYPE=home:4567[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "EMAIL;TYPE=work:test@test.com[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "URL:http://www.test.com[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "REV:20140404T213518Z[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(10660): http-outgoing-2 << "END:VCARD[\r][\n]"
I/davdroid.SyncManager(10660): Updating abb38630-aa9e-493e-a067-e3f82fe8ed83.vcf
D/davdroid.LocalCollection(10660): Committing 7 operations
I/davdroid.SyncManager(10660): Removing non-dirty resources that are not present remotely anymore
D/davdroid.LocalCollection(10660): Committing 1 operations
I/davdroid.SyncManager(10660): Sync complete, fetching new CTag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment