Ruby SSL_connect returned=1 errno=0 state=SSLv2/v3

tablecell · August 27, 2021 · Last by huacnlee replied at August 30, 2021 · 252 hits

SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version (https://api.rubygems.org/api/v1/dependencies?gems=bundle) 旧版本的 https 连接是用的 ssl3 但是 api 服务器从 ssl 升级到 tls

这算是是掉坑里了吗,除了强制升级新版本,还有别的办法吗?

这种一般是你本地没安装 openssl 导致的问题

You need to Sign in before reply, if you don't have an account, please Sign up first.