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 

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

阅读 14.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 来自:美国

    被墙了,设置终端走代理

      • 5.8k

      重新clone一份吧。

        1. 在github把仓库https改成SSL

        clipboard.png

        1. 把本地链接的远程仓库修改为SSL地址
          • 2
          • 新人请关照
            撰写回答

            登录后参与交流、获取后续更新提醒