Skip to content

Instantly share code, notes, and snippets.

@klemens
Created Aug 17, 2015
Embed
What would you like to do?
davdroid SSLHandshakeException
I/davdroid.QueryServer(21404): onCreateLoader
I/davdroid.DavHttpClient(21404): Wire logging active, disabling HTTP compression
I/davdroid.ResourceFinder(21404): *** Starting CardDAV resource detection
D/davdroid.ResourceFinder(21404): Looking up SRV records for _carddavs._tcp.cal.schoelhorn.eu
I/davdroid.ResourceFinder(21404): Looking up principal URL for service carddav; initial context: https://cal.schoelhorn.eu/klemens@schoelhorn.eu/
D/davdroid.WebDavResource(21404): Using preemptive authentication (not compatible with Digest auth)
D/HttpClient(21404): CookieSpec selected: best-match
D/HttpClient(21404): Re-using cached 'basic' auth scheme for https://cal.schoelhorn.eu:443
D/HttpClient(21404): Connection request: [route: HttpRoute[{s}->https://cal.schoelhorn.eu:443]][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 3]
D/HttpClient(21404): Connection leased: [id: 36][route: HttpRoute[{s}->https://cal.schoelhorn.eu:443]][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 3]
D/HttpClient(21404): Opening connection HttpRoute[{s}->https://cal.schoelhorn.eu:443]
D/HttpClient(21404): Connecting to cal.schoelhorn.eu/2003:40:6e07:2a00:be5f:f4ff:fefa:4276:443
D/HttpClient(21404): Connecting socket to cal.schoelhorn.eu/2003:40:6e07:2a00:be5f:f4ff:fefa:4276:443 with timeout 20000
D/HttpClient(21404): Enabled protocols: [TLSv1, TLSv1.1, TLSv1.2]
D/HttpClient(21404): Enabled cipher suites:[TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_RC4_128_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_RC4_128_SHA, TLS_EMPTY_RENEGOTIATION_INFO_SCSV, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_RC4_128_MD5, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA]
D/HttpClient(21404): Enabling SNI for cal.schoelhorn.eu
D/HttpClient(21404): Starting handshake
D/HttpClient(21404): http-outgoing-36: Shutdown connection
D/HttpClient(21404): Connection discarded
D/HttpClient(21404): http-outgoing-36: Close connection
D/HttpClient(21404): Connection released: [id: 36][route: HttpRoute[{s}->https://cal.schoelhorn.eu:443]][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 3]
E/davdroid.ResourceFinder(21404): Well-known carddav service detection failed with I/O error
E/davdroid.ResourceFinder(21404): javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb9f748: Failure in SSL library, usually a protocol error
E/davdroid.ResourceFinder(21404): error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:744 0x53941d74:0x00000000)
E/davdroid.ResourceFinder(21404): at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:449)
E/davdroid.ResourceFinder(21404): at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:340)
E/davdroid.ResourceFinder(21404): at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:281)
E/davdroid.ResourceFinder(21404): at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:124)
E/davdroid.ResourceFinder(21404): at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
E/davdroid.ResourceFinder(21404): at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:373)
E/davdroid.ResourceFinder(21404): at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:225)
E/davdroid.ResourceFinder(21404): at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
E/davdroid.ResourceFinder(21404): at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
E/davdroid.ResourceFinder(21404): at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
E/davdroid.ResourceFinder(21404): at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:178)
E/davdroid.ResourceFinder(21404): at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
E/davdroid.ResourceFinder(21404): at at.bitfire.davdroid.webdav.WebDavResource.propfind(WebDavResource.java:192)
E/davdroid.ResourceFinder(21404): at at.bitfire.davdroid.resource.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:276)
E/davdroid.ResourceFinder(21404): at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:60)
E/davdroid.ResourceFinder(21404): at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:117)
E/davdroid.ResourceFinder(21404): at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:95)
E/davdroid.ResourceFinder(21404): at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
E/davdroid.ResourceFinder(21404): at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
E/davdroid.ResourceFinder(21404): at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
E/davdroid.ResourceFinder(21404): at android.os.AsyncTask$2.call(AsyncTask.java:288)
E/davdroid.ResourceFinder(21404): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/davdroid.ResourceFinder(21404): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/davdroid.ResourceFinder(21404): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/davdroid.ResourceFinder(21404): at java.lang.Thread.run(Thread.java:841)
E/davdroid.ResourceFinder(21404): Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb9f748: Failure in SSL library, usually a protocol error
E/davdroid.ResourceFinder(21404): error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:744 0x53941d74:0x00000000)
E/davdroid.ResourceFinder(21404): at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
E/davdroid.ResourceFinder(21404): at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:406)
E/davdroid.ResourceFinder(21404): ... 24 more
D/davdroid.ResourceFinder(21404): Well-known service detection failed, trying initial context path https://cal.schoelhorn.eu/klemens@schoelhorn.eu/
D/HttpClient(21404): CookieSpec selected: best-match
D/HttpClient(21404): Connection request: [route: HttpRoute[{s}->https://cal.schoelhorn.eu:443]][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 3]
D/HttpClient(21404): Connection leased: [id: 37][route: HttpRoute[{s}->https://cal.schoelhorn.eu:443]][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 3]
D/HttpClient(21404): Opening connection HttpRoute[{s}->https://cal.schoelhorn.eu:443]
D/HttpClient(21404): Connecting to cal.schoelhorn.eu/2003:40:6e07:2a00:be5f:f4ff:fefa:4276:443
D/HttpClient(21404): Connecting socket to cal.schoelhorn.eu/2003:40:6e07:2a00:be5f:f4ff:fefa:4276:443 with timeout 20000
D/HttpClient(21404): Enabled protocols: [TLSv1, TLSv1.1, TLSv1.2]
D/HttpClient(21404): Enabled cipher suites:[TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_RC4_128_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_RC4_128_SHA, TLS_EMPTY_RENEGOTIATION_INFO_SCSV, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_RC4_128_MD5, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA]
D/HttpClient(21404): Enabling SNI for cal.schoelhorn.eu
D/HttpClient(21404): Starting handshake
D/HttpClient(21404): http-outgoing-37: Shutdown connection
D/HttpClient(21404): Connection discarded
D/HttpClient(21404): http-outgoing-37: Close connection
D/HttpClient(21404): Connection released: [id: 37][route: HttpRoute[{s}->https://cal.schoelhorn.eu:443]][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 3]
D/HttpClient(21404): Connection manager is shutting down
D/HttpClient(21404): Connection manager shut down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment