美文网首页程序人生
git使用代理出现LibreSSL SSL_connect: S

git使用代理出现LibreSSL SSL_connect: S

作者: 为自己代颜_ | 来源:发表于2021-11-23 23:49 被阅读0次

操作系统:MAC OS 10.14.6

git版本:2.15.2

设置了ssr作为git代理在执行git pull时出现LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443错误

是由于ipv6引起的 执行networksetup -setv6off Wi-Fi即可

来源:https://stackoverflow.com/questions/48987512/ssl-connect-ssl-error-syscall-in-connection-to-github-com443 (国内不能直接访问)

提示:Error: Command requires admin privileges. 解决 sudo networksetup -setv6off Wi-Fi

评论区提供的另一种方式也work:

git config --global http.sslBackend "openssl"

相关文章

网友评论

    本文标题:git使用代理出现LibreSSL SSL_connect: S

    本文链接:https://www.haomeiwen.com/subject/lpggtrtx.html