javax.net.ssl.SSLHandshakeException: Handshake failed

GitHub | punksta | 5 months ago
  1. 0

    Can't make OkHttp to trust my certificate

    Stack Overflow | 9 months ago | Olcay ErtaƟ
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
  2. 0

    GitHub comment 31#217140509

    GitHub | 7 months ago | nishashirawala
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    SSLHandshakeException: Connection closed by peer on android app

    Stack Overflow | 6 months ago | Kiwi
    javax.net.ssl.SSLHandshakeException: Connection closed by peer
  5. 0

    Connection closed by peer (Android 5)

    Stack Overflow | 1 year ago | Lalson
    retrofit.RetrofitError: Connection closed by peer

  1. martyn 9 times, last 9 months ago
  2. bmacedo 1 times, last 2 weeks ago
  3. filpgame 1 times, last 3 weeks ago
  4. Alexandru Popa 13 times, last 2 weeks ago
  5. VeryRedChris 2 times, last 4 weeks ago
34 more registered users
17 unregistered visitors
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 aborted: ssl=Failure in SSL library, usually a protocol error error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (external/openssl/ssl/s23_clnt.c:795 0xabea4dd4: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:318)
    2 frames
  3. okhttp3.internal.io
    RealConnection.connect
    1. okhttp3.internal.io.RealConnection.connectTls(RealConnection.java:239)
    2. okhttp3.internal.io.RealConnection.establishProtocol(RealConnection.java:196)
    3. okhttp3.internal.io.RealConnection.buildConnection(RealConnection.java:171)
    4. okhttp3.internal.io.RealConnection.connect(RealConnection.java:111)
    4 frames
  4. okhttp3.internal.http
    HttpEngine.sendRequest
    1. okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:187)
    2. okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:123)
    3. okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:93)
    4. okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:296)
    5. okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:248)
    5 frames
  5. okhttp3
    RealCall$ApplicationInterceptorChain.proceed
    1. okhttp3.RealCall.getResponse(RealCall.java:243)
    2. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201)
    2 frames
  6. ru.example.example
    NetModule$Companion$TokenInterceptor.intercept
    1. ru.example.example.tech.modules.NetModule$Companion$TokenInterceptor.intercept(NetModule.kt:156)
    1 frame
  7. okhttp3
    RealCall.execute
    1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:190)
    2. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
    3. okhttp3.RealCall.execute(RealCall.java:57)
    3 frames
  8. retrofit2
    OkHttpCall.execute
    1. retrofit2.OkHttpCall.execute(OkHttpCall.java:174)
    1 frame
  9. retrofit2.adapter.rxjava
    RxJavaCallAdapterFactory$RequestArbiter.request
    1. retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$RequestArbiter.request(RxJavaCallAdapterFactory.java:171)
    1 frame
  10. rxjava
    Subscriber.setProducer
    1. rx.internal.operators.OperatorSubscribeOn$1$1$1.request(OperatorSubscribeOn.java:80)
    2. rx.Subscriber.setProducer(Subscriber.java:211)
    3. rx.internal.operators.OperatorSubscribeOn$1$1.setProducer(OperatorSubscribeOn.java:76)
    4. rx.Subscriber.setProducer(Subscriber.java:205)
    4 frames
  11. retrofit2.adapter.rxjava
    RxJavaCallAdapterFactory$CallOnSubscribe.call
    1. retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:152)
    2. retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:138)
    2 frames
  12. rxjava
    ScheduledAction.run
    1. rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
    2. rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
    3. rx.Observable.unsafeSubscribe(Observable.java:8666)
    4. rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)
    5. rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:220)
    6. rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
    6 frames
  13. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    7. java.lang.Thread.run(Thread.java:818)
    7 frames