No sync anymore after update from 0.6.1 -> 0.6.2



  • Before update: everything was fine.
    After update to 0.6.2, every attempt to sync fails. logcat:

    D/davdroid.SNISocketFactory( 8641): Preparing direct SSL connection (without proxy) to https://server_dns_here:443
    W/ContextImpl( 1805): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1543 android.content.ContextWrapper.startService:494 com.android.settings.search.SettingsSearchFilterAdapter.<init>:150 com.android.settings.Settings.onCreateOptionsMenu:282 android.app.Activity.onCreatePanelMenu:2538
    D/davdroid.SNISocketFactory( 8641): Using documented SNI with host name server_dns_here
    E/davdroid.DavSyncAdapter( 8641): I/O error (Android will try again later)
    E/davdroid.DavSyncAdapter( 8641): javax.net.ssl.SSLPeerUnverifiedException: Cannot verify hostname: server_dns_here
    E/davdroid.DavSyncAdapter( 8641): at at.bitfire.davdroid.webdav.TlsSniSocketFactory.connectWithSNI(TlsSniSocketFactory.java:117)
    E/davdroid.DavSyncAdapter( 8641): at at.bitfire.davdroid.webdav.TlsSniSocketFactory.connectSocket(TlsSniSocketFactory.java:74)
    E/davdroid.DavSyncAdapter( 8641): at ch.boye.httpclientandroidlib.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:118)
    E/davdroid.DavSyncAdapter( 8641): at ch.boye.httpclientandroidlib.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)
    E/davdroid.DavSyncAdapter( 8641): at ch.boye.httpclientandroidlib.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
    E/davdroid.DavSyncAdapter( 8641): at ch.boye.httpclientandroidlib.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
    E/davdroid.DavSyncAdapter( 8641): at ch.boye.httpclientandroidlib.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
    E/davdroid.DavSyncAdapter( 8641): at ch.boye.httpclientandroidlib.impl.execchain.RetryExec.execute(RetryExec.java:85)
    E/davdroid.DavSyncAdapter( 8641): at ch.boye.httpclientandroidlib.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
    E/davdroid.DavSyncAdapter( 8641): at ch.boye.httpclientandroidlib.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
    E/davdroid.DavSyncAdapter( 8641): at ch.boye.httpclientandroidlib.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    E/davdroid.DavSyncAdapter( 8641): at at.bitfire.davdroid.webdav.WebDavResource.propfind(WebDavResource.java:261)
    E/davdroid.DavSyncAdapter( 8641): at at.bitfire.davdroid.resource.RemoteCollection.getCTag(RemoteCollection.java:61)
    E/davdroid.DavSyncAdapter( 8641): at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:58)
    E/davdroid.DavSyncAdapter( 8641): at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:133)
    E/davdroid.DavSyncAdapter( 8641): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
    I/davdroid.DavSyncAdapter( 8641): Sync complete for com.android.calendar
    D/davdroid.DavSyncAdapter( 8641): Closing httpClient

    Chris


  • developer

    E/davdroid.DavSyncAdapter( 8641): javax.net.ssl.SSLPeerUnverifiedException: Cannot verify hostname: server_dns_here

    Has the server certificate changed? Can you delete and add the account again? Please read FAQ: Cannot verify hostname.

    What do you mean by "server_dns_here"? It should be a host name that matches the certificate's subject.



  • Sorry for bothering you. By coincidence parallel to update davdroid 0.6.1 -> 0.6.2, I move from
    CM11 M8 to CM11 M9.
    That completely rewrote the
    /system/etc/security/cacerts
    directory, where I had stored my cacert before.
    Please delete this issue.
    Thank's for your sofware,
    Chris


  • developer

    No problem, closing


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.