tlsv1专题

使用OKHTTP3发送HTTPS请求时,抛出异常:Server chose TLSv1, but that protocol version is not enabled or not support

最近项目上需要使用OKHTTP3发送HTTPS请求,但发现向有些HTTPS服务器发送请求时,会抛出异常,类似: javax.net.ssl.SSLHandshakeException: Server chose TLSv1, but that protocol version is not enabled or not supported by the client. 在网上搜索这个错误,发现

IDE 结合github在push代码时,error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

完整的报错信息如下: 18:28 Push failed: Failed with error: unable to access 'https://github.com/cmshome/HelloWorld.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version 原因:说是

使用SourceTree报错:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

解决方法1:可以使用内嵌版本 解决2 :如果用的是系统版本则,更新系统git版本(我就是这么解决的) 解决3:(stackoverflow上有人说的,试了下没用,可以试一下)  I had the same problem and my fix was: 1.in command line check your tls version with command: git config

SourceTree error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

git版本过低,导致的错误,git下载链接 fatal: unable to access 'https://github.com/*****.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Completed with errors, see above.