Skip to content

Instantly share code, notes, and snippets.

@greve
Created November 10, 2014 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save greve/30e121e624c527cab720 to your computer and use it in GitHub Desktop.
Save greve/30e121e624c527cab720 to your computer and use it in GitHub Desktop.
Debug log of task synchronisation failure (DAVdroid/0.6.2-mirakel)
This is the item that consistently and consequently fails to sync and causes entire sync to abort.
When pasting the same URL of the item into the browser the item is accessed correctly (browser downloads & saves it).
Here is just that item, with personal information stripped:
D/davdroid.SNISocketFactory(21015): Preparing direct SSL connection (without proxy) to https://stripped.url.of.server:443
D/davdroid.SNISocketFactory(21015): Using documented SNI with host name stripped.url.of.server
I/davdroid.SNISocketFactory(21015): Established TLSv1.2 connection with stripped.url.of.server using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "PUT /calendars/user%40stripped.domain/651772634b8baee2/libkcal-1957073921.247.ics HTTP/1.1[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "If-Match: "f63dd70490d46417-347"[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "Content-Type: text/calendar[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "Content-Length: 327[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "Host: stripped.url.of.server[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "Connection: Keep-Alive[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "User-Agent: DAVdroid/0.6.2-mirakel[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "Authorization: *** STRIPPED *** [\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "BEGIN:VCALENDAR[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "VERSION:2.0[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "PRODID:-//bitfire web engineering//DAVdroid 0.6.2-mirakel//EN[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "BEGIN:VTODO[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "DTSTAMP:20141110T090758Z[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "UID:libkcal-1957073921.247.ics[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "SUMMARY:Some important task[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "STATUS:COMPLETED[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "TRANSP:TRANSPARENT[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "PRIORITY:0[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "PERCENT-COMPLETE:100[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "COMPLETED:20141110T090758Z[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "END:VTODO[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 >> "END:VCALENDAR[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 << "HTTP/1.1 404 Not Found[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 << "Date: Mon, 10 Nov 2014 09:07:59 GMT[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 << "Server: Apache[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 << "X-Frame-Options: SAMEORIGIN[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 << "X-Powered-By: PHP/5.3.29[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 << "Content-Length: 269[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 << "Connection: close[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 << "Content-Type: application/xml; charset=utf-8[\r][\n]"
D/ch.boye.httpclientandroidlib.wire(21015): http-outgoing-29 << "[\r][\n]"
F/davdroid.WebDavResource(21015): https://stripped.url.of.server/calendars/user%40stripped.domain/651772634b8baee2/libkcal-1957073921.247.ics
E/davdroid.DavSyncAdapter(21015): Hard HTTP error 404
E/davdroid.DavSyncAdapter(21015): at.bitfire.davdroid.mirakel.webdav.NotFoundException: 404 Not Found
E/davdroid.DavSyncAdapter(21015): at at.bitfire.davdroid.mirakel.webdav.WebDavResource.checkResponse(WebDavResource.java:415)
E/davdroid.DavSyncAdapter(21015): at at.bitfire.davdroid.mirakel.webdav.WebDavResource.checkResponse(WebDavResource.java:393)
E/davdroid.DavSyncAdapter(21015): at at.bitfire.davdroid.mirakel.webdav.WebDavResource.put(WebDavResource.java:365)
E/davdroid.DavSyncAdapter(21015): at at.bitfire.davdroid.mirakel.resource.RemoteCollection.update(RemoteCollection.java:166)
E/davdroid.DavSyncAdapter(21015): at at.bitfire.davdroid.mirakel.syncadapter.SyncManager.pushDirty(SyncManager.java:163)
E/davdroid.DavSyncAdapter(21015): at at.bitfire.davdroid.mirakel.syncadapter.SyncManager.synchronize(SyncManager.java:48)
E/davdroid.DavSyncAdapter(21015): at at.bitfire.davdroid.mirakel.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:135)
E/davdroid.DavSyncAdapter(21015): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
I/davdroid.DavSyncAdapter(21015): Sync complete for de.azapps.mirakel.provider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment