SSL_ERROR_SYSCALL in connection to github.com:443

过年回来要更新github项目,突然不能更新了,出现如下报错
报错信息

Error: fatal: unable to access 'https://github.com/xxx/xxx.github.io.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 

怎么解决呢,有出现过这个问题的人吗

阅读 22.8k
4 个回答
~/workspace/blog-cli(master ✔) git push origin master
fatal: unable to access 'https://github.com/mrdulin/blog-cli.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
~/workspace/blog-cli(master ✔) curl github.com
curl: (52) Empty reply from server
~/workspace/blog-cli(master ✔) proxy
~/workspace/blog-cli(master ✔) gp
Counting objects: 20, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (16/16), done.
Writing objects: 100% (20/20), 4.66 KiB | 681.00 KiB/s, done.
Total 20 (delta 8), reused 0 (delta 0)
remote: Resolving deltas: 100% (8/8), completed with 5 local objects.
To https://github.com/mrdulin/blog-cli.git
   85edbec..00429e7  master -> master
~/workspace/blog-cli(master ✔) curl ip.cn
当前 IP:45.78.47.19 来自:美国

被墙了,设置终端走代理

重新clone一份吧。

  1. 在github把仓库https改成SSL

clipboard.png

  1. 把本地链接的远程仓库修改为SSL地址
新手上路,请多包涵
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
logo
Microsoft
子站问答
访问
宣传栏