javax.net.ssl.SSLException: Connection closed by peer. in android kitkat versions

Viewed 3485

i am using REST api to connect with server on ssl https the problm is on android kitkat devices. all device with kitkat version or 4.x.x are not making connection with server

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

on all above devices than 4.x.x working fine and making connection

Is there any solution for that. i have also tried OkHttp which is also not working in my cause.

1 Answers
Related