javax.net.ssl.SSLHandshakeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Monkop | App Report
    via by Unknown author,
  • Issue https://jira.appcelerator.org/browse/TIMOB-20061 is not fixed. Parameter *tlsVersion* (TLS_VERSION_1_2) is ignored on android < 5.0 *Sending a request ends with error:* TiHTTPClient: (TiHttpClient-10) [3509,3509] HTTP Error (javax.net.ssl.SSLHandshakeException): javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb7e3d2b8: Failure in SSL library, usually a protocol error [ERROR] TiHTTPClient: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x96f79926:0x00000000) [ERROR] TiHTTPClient: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb7e3d2b8: Failure in SSL library, usually a protocol error [ERROR] TiHTTPClient: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x96f79926:0x00000000) [ERROR] TiHTTPClient: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:448) [ERROR] TiHTTPClient: at com.android.okhttp.Connection.upgradeToTls(Connection.java:146) [ERROR] TiHTTPClient: at com.android.okhttp.Connection.connect(Connection.java:107) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:294) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:296) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:143) [ERROR] TiHTTPClient: at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:544) [ERROR] TiHTTPClient: at java.net.URLConnection.getContentLength(URLConnection.java:316) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:182) [ERROR] TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient.handleResponse(TiHTTPClient.java:159) [ERROR] TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient.access$1200(TiHTTPClient.java:85) [ERROR] TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1207) [ERROR] TiHTTPClient: at java.lang.Thread.run(Thread.java:841) [ERROR] TiHTTPClient: Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb7e3d2b8: Failure in SSL library, usually a protocol error [ERROR] TiHTTPClient: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x96f79926:0x00000000) [ERROR] TiHTTPClient: at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method) [ERROR] TiHTTPClient: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:405) [ERROR] TiHTTPClient: ... 15 more
    via by Michael Bahl,
  • TLSv1.2 protocol on android 4.* &lt;
    via Stack Overflow by tiagoMissiato
    ,
  • Issue https://jira.appcelerator.org/browse/TIMOB-20061 is not fixed. Parameter *tlsVersion* (TLS_VERSION_1_2) is ignored on android < 5.0 *Sending a request ends with error:* TiHTTPClient: (TiHttpClient-10) [3509,3509] HTTP Error (javax.net.ssl.SSLHandshakeException): javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb7e3d2b8: Failure in SSL library, usually a protocol error [ERROR] TiHTTPClient: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x96f79926:0x00000000) [ERROR] TiHTTPClient: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb7e3d2b8: Failure in SSL library, usually a protocol error [ERROR] TiHTTPClient: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x96f79926:0x00000000) [ERROR] TiHTTPClient: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:448) [ERROR] TiHTTPClient: at com.android.okhttp.Connection.upgradeToTls(Connection.java:146) [ERROR] TiHTTPClient: at com.android.okhttp.Connection.connect(Connection.java:107) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:294) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:296) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:143) [ERROR] TiHTTPClient: at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:544) [ERROR] TiHTTPClient: at java.net.URLConnection.getContentLength(URLConnection.java:316) [ERROR] TiHTTPClient: at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:182) [ERROR] TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient.handleResponse(TiHTTPClient.java:159) [ERROR] TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient.access$1200(TiHTTPClient.java:85) [ERROR] TiHTTPClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1207) [ERROR] TiHTTPClient: at java.lang.Thread.run(Thread.java:841) [ERROR] TiHTTPClient: Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb7e3d2b8: Failure in SSL library, usually a protocol error [ERROR] TiHTTPClient: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x96f79926:0x00000000) [ERROR] TiHTTPClient: at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method) [ERROR] TiHTTPClient: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:405) [ERROR] TiHTTPClient: ... 15 more
    via by Michael Bahl,
  • Handshake failed
    via GitHub by juliocotta
    ,
    • javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb81201c8: Failure in SSL library, usually a protocol error 03-28 03:31:30.171: W/System.err(1214): error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0xad3cdd5c:0x00000000) at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:448) at com.myapp.ServerCon.getSecureSocket(ServerCon.java:362) at com.myapp.ServerCon.access$0(ServerCon.java:310) at com.myapp.ServerCon$1.doInBackground(ServerCon.java:283) at com.myapp.ServerCon$1.doInBackground(ServerCon.java:1) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841) Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb81201c8: Failure in SSL library, usually a protocol error 03-28 03:31:30.191: W/System.err(1214): error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0xad3cdd5c:0x00000000) at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method) at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:405) ... 10 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    NedGr8
    2 times, last one,
    szoszi
    10 times, last one,
    filipebatista
    5 times, last one,
    26 more bugmates