在提交git或者git clone的时候出现了下面的错误:
LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
然后尝试git clone其他的仓库,也是报这个错误。
第一种解决方法:(因涉及到修改的地方https有些命令不清楚,不敢冒然删掉)
vim ~/.gitconfig
把里面关于https的配置删掉,然后就可以了,原来代理配置被写入到了文件,难怪一直git用不了。
第二种解决办法:(亲测有效)
git config --global http.sslBackend "openssl"
参考文献
[1]. SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443. https://stackoverflow.com/questions/48987512/ssl-connect-ssl-error-syscall-in-connection-to-github-com443
第三种解决办法:
LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 问题+解决过程
感谢!