mc73 Well-Known Member Licensed User Longtime User Feb 8, 2018 #1 While testing an app using okHttp on an Android 4.4.2, i got these errors: B4X: error: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x54121df0: Failure in SSL library, usually a protocol error and B4X: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol (external/openssl/ssl/s23_clnt.c:714 0x4fe6ed44:0x00000000) Seems like a bug in android 4. Any workaround?
While testing an app using okHttp on an Android 4.4.2, i got these errors: B4X: error: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x54121df0: Failure in SSL library, usually a protocol error and B4X: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol (external/openssl/ssl/s23_clnt.c:714 0x4fe6ed44:0x00000000) Seems like a bug in android 4. Any workaround?
Erel B4X founder Staff member Licensed User Longtime User Feb 8, 2018 #2 You can try to initialize OkhttpClient with InitializeAcceptAll. I'm not sure that it will help in this case. Update the device SSL provider: https://www.b4x.com/android/forum/threads/ssl-websocket-client.88472/#post-560032 (see the next page as well). Upvote 0
You can try to initialize OkhttpClient with InitializeAcceptAll. I'm not sure that it will help in this case. Update the device SSL provider: https://www.b4x.com/android/forum/threads/ssl-websocket-client.88472/#post-560032 (see the next page as well).