javax.net.ssl.SSLHandshakeException: Handshake failed

GitHub | AndyScherzinger | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 228#243492325

    GitHub | 8 months ago | AndyScherzinger
    javax.net.ssl.SSLHandshakeException: Handshake failed
  2. 0

    Falied SSL Initialization

    GitHub | 2 months ago | leleobhz
    javax.net.ssl.SSLHandshakeException: Handshake failed
  3. 0

    SSLHandshakeException: Handshake failed on Android N/7.0

    Stack Overflow | 8 months ago | Cornelis
    com.android.volley.NoConnectionError: javax.net.ssl.SSLHandshakeException: Connection closed by peer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SSL handshake issue

    GitHub | 11 months ago | chriss745
    javax.net.ssl.SSLHandshakeException: Handshake failed
  6. 0

    SSLHandshakeException: Connection closed by peer

    Stack Overflow | 4 months ago | Pritesh
    javax.net.ssl.SSLHandshakeException: Connection closed by peer
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.net.ssl.SSLProtocolException

    SSL handshake terminated: ssl=0x75c5e0c1c0: Failure in SSL library, usually a protocol error error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE (external/boringssl/src/ssl/s3_pkt.c:610 0x75d494eca0:0x00000001) error:1000009a:SSL routines:OPENSSL_internal:HANDSHAKE_FAILURE_ON_CLIENT_HELLO (external/boringssl/src/ssl/s3_clnt.c:764 0x75d720ef76:0x00000000)

    at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake()
  2. RoboVM
    OpenSSLSocketImpl.startHandshake
    1. com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
    2. com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:357)
    2 frames
  3. com.owncloud.android
    AdvancedSslSocketFactory.createSocket
    1. com.owncloud.android.lib.common.network.AdvancedSslSocketFactory.verifyPeerIdentity(AdvancedSslSocketFactory.java:248)
    2. com.owncloud.android.lib.common.network.AdvancedSslSocketFactory.createSocket(AdvancedSslSocketFactory.java:185)
    2 frames
  4. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    2. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
    3. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    5. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    6 frames
  5. com.owncloud.android
    OperationsService$ServiceHandler.handleMessage
    1. com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:222)
    2. com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:192)
    3. com.owncloud.android.lib.resources.status.GetRemoteStatusOperation.tryConnection(GetRemoteStatusOperation.java:89)
    4. com.owncloud.android.lib.resources.status.GetRemoteStatusOperation.run(GetRemoteStatusOperation.java:194)
    5. com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:136)
    6. com.owncloud.android.operations.GetServerInfoOperation.run(GetServerInfoOperation.java:81)
    7. com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:136)
    8. com.owncloud.android.services.OperationsService$ServiceHandler.nextOperation(OperationsService.java:489)
    9. com.owncloud.android.services.OperationsService$ServiceHandler.handleMessage(OperationsService.java:425)
    9 frames
  6. Android Platform
    HandlerThread.run
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:154)
    3. android.os.HandlerThread.run(HandlerThread.java:61)
    3 frames