git push github失败,提示:SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
问题描述
当在 VScode 中,执行 push 操作时,出现如下报错:
$ git push
fatal: unable to access 'https://github.com/robbiemie/vue-sourcecode-analyze/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
问题原因
因为 Git 的Http代理的问题,Git支持三种协议:
- git
- ssh
- http
本来push的时候应该走ssh隧道的,但是因为设置了http代理,所以就走了http的代理,于是就提交不了了。
解决方案
$ git config --global --unset http.proxy