問題描述
環境:MacOS 10.15.4
科學上網的情況下,能夠git clone,但是在git push操作時出現以上問題,搜了搜確實是代理出現了問題,解決方法基本都是關掉代理,本人則重新設置了代理,原~/.gitconfig
內容如下:
[https "https://github.com"]
proxy = https://127.0.0.1:1086
[http "https://github.com"]
proxy = socks5://127.0.0.1:1086
[user]
name = JohnJim0816
按照解決git clone太慢的問題的方法更改後的~/.gitconfig
內容如下:
[http]
proxy = socks5://127.0.0.1:1086
[https]
proxy = socks5://127.0.0.1:1086
至於網上之所以說關掉代理,估計是他們git clone的時候沒有科學上網,而所以需要刪掉~/.gitconfig
中的內容
參考鏈接
git使用代理出現LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 錯誤
LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
macos LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
VS code提交失敗,輸出提示:OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443