git - 致命的 : unable to access 'https://github.com/xxx' : LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github. com:443

标签 git openssl

直到昨天我都成功地使用了 git “push” 和 “pull” 命令,但今天它不起作用并给我这个错误: Push failed: Unable to access 'https://github.com/username/repository.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL 连接到 github.com:443

我尝试了很多解决方案,但都没有成功。 我尝试过的解决方案:
1.使用SSH key
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

最佳答案

问题已通过重新启动计算机解决。

更新:
卡巴斯基安全软件/防病毒软件会导致问题,禁用/删除它可以解决大多数用户的问题。

关于git - 致命的 : unable to access 'https://github.com/xxx' : LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github. com:443,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52732686/

相关文章:

macos - Git:删除当前分支并丢失 reflog

git - phabricator "arc land"与非源 Remote ?

smtp - 使用 gmail 端口 587 的 openssl 客户端 SMTP,在 <crlf>.<crlf> 之后没有响应(250 OK)

openssl - 使用 OpenSSL CLI 从 x509 证书获取链或 CA 颁发者

apache - SVN checkout 失败并显示 “chunk delimiter was invalid”

git - 卡在 git commit 窗口

java - 使用 MAMP、Tomcat、Java 进行本地开发

windows - 设置 jenkins git 返回 "Host key verification failed"错误

php - 如何以编程方式安装 ssl 证书 (OpenSSL)

c - 使用 openssl C API 解析 asn1 文档