Sync on Zarafa failed since 0.9.1 update



  • I have a Nexus 5 with Android 5.1.1. There are 2 DAVDROID-accounts configured. The first sync calendar and contact with an onwcloud-server and the second sync a calendar with a zarafa caldav gateway. Since the update to 0.9.1 the second one has no successful sync finished. It is given the following error message from the debugging.

    [error] I/O exception during sync, trying again later - EXCEPTION:
    java.io.IOException: unexpected end of stream on Connection{host:port, proxy=DIRECT@ hostAddres
    s=192.168.220.6 cipherSuite=TLS_RSA_WITH_AES_128_CBC_SHA protocol=http/1.1} (recycle count=0)
    	at com.squareup.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:211)
    	at com.squareup.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
    	at com.squareup.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:910)
    	at com.squareup.okhttp.internal.http.HttpEngine.access$300(HttpEngine.java:93)
    	at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:895)
    	at at.bitfire.davdroid.HttpClient$PreemptiveAuthenticationInterceptor.intercept(HttpClient.java:155)
    	at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:868)
    	at at.bitfire.davdroid.HttpClient$UserAgentInterceptor.intercept(HttpClient.java:142)
    	at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:868)
    	at com.squareup.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:749)
    	at com.squareup.okhttp.Call.getResponse(Call.java:277)
    	at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:234)
    	at com.squareup.okhttp.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:180)
    	at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:223)
    	at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:196)
    	at com.squareup.okhttp.Call.execute(Call.java:79)
    	at at.bitfire.dav4android.DavCalendar.multiget(DavCalendar.java:120)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager.downloadRemote(CalendarSyncManager.java:156)
    	at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:182)
    	at at.bitfire.davdroid.syncadapter.CalendarsSyncAdapterService$SyncAdapter.onPerformSync(CalendarsSyncAdapterService.java:58)
    

    edit by admin: surround mono-space text with ``` to make it readable


  • developer

    @bronic Hello, it seems like there's an unexpected end of stream, i.e. the connection is interrupted.