Calendar sync does not work with

  • Summary:
    I want to synchronize calendar and contacts with posteo account. Synchronization of contacts is working.

    Android calendar has been synchronized with posteo, but not all appointments have been synchronized to server. If I trigger a new synchronization via “Settings > Account DavDroid > Synchronize Now” the synchronization will somehow run, but actually modifications will not be synchronized. Timestamp of last synchronization does not change though no “synchronization error” is shown. Neither server modifications nor local modifications are synchronized anymore.

    No recovery. I tried to solve the problem by using a new account, but that did not help out.


    DavDroid 0.6.2 from Google Play Store
    Android 4.4.4
    Motorola Moto G
    Server: with activated encryption for contacts and calendar

  • related to #302 😉

  • developer

    I/davdroid.SyncManager( 7905): Uploading 1127 new resource(s) (if not existing)
    D/davdroid.SNISocketFactory( 7905): Preparing direct SSL connection (without proxy) to
    D/davdroid.SNISocketFactory( 7905): Using documented SNI with host name
    I/davdroid.SNISocketFactory( 7905): Established TLSv1.2 connection with using SSL_RSA_WITH_RC4_128_MD5
    W/davdroid.DavSyncAdapter( 7905): Soft HTTP error 500 (Android will try again later)
    W/davdroid.DavSyncAdapter( 7905): at.bitfire.davdroid.webdav.HttpException: 500 Internal Server Error
    W/davdroid.DavSyncAdapter( 7905): 	at at.bitfire.davdroid.webdav.WebDavResource.checkResponse(
    W/davdroid.DavSyncAdapter( 7905): 	at at.bitfire.davdroid.webdav.WebDavResource.checkResponse(
    W/davdroid.DavSyncAdapter( 7905): 	at at.bitfire.davdroid.webdav.WebDavResource.put(
    W/davdroid.DavSyncAdapter( 7905): 	at at.bitfire.davdroid.resource.RemoteCollection.add(
    W/davdroid.DavSyncAdapter( 7905): 	at at.bitfire.davdroid.syncadapter.SyncManager.pushNew(
    W/davdroid.DavSyncAdapter( 7905): 	at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(
    W/davdroid.DavSyncAdapter( 7905): 	at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(
    W/davdroid.DavSyncAdapter( 7905): 	at android.content.AbstractThreadedSyncAdapter$
    I/davdroid.DavSyncAdapter( 7905): Sync complete for
    1. Is it correct that you have inserted 1127 events which shall be synchronized?
    2. According to the logs, DAVdroid received HTTP 500 Internal Server Error from posteo, so it might be that it’s a Posteo issue.

    To see which request caused the HTTP error 500, please activate verbose logs and provide logs that contain the actual network traffic.

  • I missed to switch on verbose mode. Sorry for that.

    New log file with activated verbose mode:

  • developer

    New log file with activated verbose mode:

    The upload of the resources (PUT request) failed with 500 Internal Server Error. Can you please report this to Posteo, mentioning this issue report?

    Maybe it’s also because the event has DTSTART;TZID=Europe/Berlin:20090117T100000 but RRULE:FREQ=WEEKLY;UNTIL=20080301T170000Z;INTERVAL=1;BYDAY=SA which means “Starting on 17 Jan 2009, every Week on Saturday until 1 Mar 2008” which doesn’t make sense.

  • Thanks for your support. I contacted Posteo to double-check this.

  • You have been right. Posteo verified that the error is caused by the broken event. After I have removed the event synchronization works now.

    Thanks for your support!

Similar topics

  • 6
  • 7
  • 19