MVVM-JueJin icon indicating copy to clipboard operation
MVVM-JueJin copied to clipboard

Android4.4及以下,未知错误 [SSLProtocolException: SSL handshake aborted]

Open duwurensheng010 opened this issue 7 years ago • 8 comments

请求基本都是这错误,还没弄好吧

duwurensheng010 avatar Oct 18 '17 02:10 duwurensheng010

具体是什么错误,贴一下log. 可能是你没登录?

fashare2015 avatar Oct 18 '17 02:10 fashare2015

登录也是未知错误,注册也是! (OkHttpFactory.java:19)#log ] 10-18 10:51:09.997 12779-8322/com.fashare.mvvm_juejin D/okhttp-/v1/login: ║ <-- HTTP FAILED: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7972ac98: Failure in SSL library, usually a protocol error 10-18 10:51:09.997 12779-8322/com.fashare.mvvm_juejin D/okhttp-/v1/login: ║ error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version (external/openssl/ssl/s23_clnt.c:744 0x7523d894:0x00000000) E/Composers: ApiException(errorCode=1000, errorMsg=未知错误)

duwurensheng010 avatar Oct 18 '17 02:10 duwurensheng010

log 筛选一下 okhttp-/v1/login

fashare2015 avatar Oct 18 '17 02:10 fashare2015

[ 1508295432464

duwurensheng010 avatar Oct 18 '17 02:10 duwurensheng010

手机Android4.4的?可能是这个原因?http://www.cnblogs.com/daquexian/p/5883585.html image

fashare2015 avatar Oct 18 '17 02:10 fashare2015

嗯,系统是4.4.4的

duwurensheng010 avatar Oct 18 '17 03:10 duwurensheng010

你先找个高版本的机子,或者模拟器试一下。4.4以下,我找时间适配一下

fashare2015 avatar Oct 18 '17 03:10 fashare2015

@duwurensheng010 话说你的机子有点年代了。。。

fashare2015 avatar Oct 18 '17 03:10 fashare2015