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
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐