javax.net.ssl.SSLHandshakeException: Connection closed by peer at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)

前端 未结 3 1410
天涯浪人
天涯浪人 2021-02-02 15:27

before api level 24 my code is working fine but it is giving me error on api level 24( 7.0 Nougat). I am not getting what\'s going wrong with my code.

First Approach i

3条回答
  •  无人及你
    2021-02-02 16:23

    I have faced the same issue, same javax.net.ssl.SSLHandshakeException is throwing at the time of API call.

    but in my case, the following was the issue

    my device was connected to the wifi but wifi router was not having the internet connection and then the exception was thrown

提交回复
热议问题