【发布时间】:2019-03-14 22:05:06
【问题描述】:
直到昨天我都成功使用了 git "push" 和 "pull" 命令,但今天它不起作用并给我这个错误:Push failed: Unable to access 'https://github.com/username/repository.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
我尝试了很多解决方案,但都没有成功。
我尝试过的解决方案:
1. 使用 SSH 密钥
2. 更新 git
3. 用openssl安装curl(安装时同样报错)
这是curl github.com -v的结果:
* Rebuilt URL to: github.com/
* Trying 192.30.253.112...
* TCP_NODELAY set
* Connected to github.com (127.0.0.1) port 80 (#0)
> GET / HTTP/1.1
> Host: github.com
> User-Agent: curl/7.54.0
> Accept: */*
>
* Recv failure: Connection reset by peer
* stopped the pause stream!
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer
【问题讨论】: