git clone 错误:RPC 失败;curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054 [英] git clone error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

查看:45
本文介绍了git clone 错误:RPC 失败;curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 git 上克隆存储库时遇到问题.我已经尝试了好几天并尝试了很多解决方案(在大多数情况下,问题略有不同,但似乎适用)但没有做任何改变.

I'm having trouble cloning a repo on git. I've been trying for to days and have tried quite a few solutions (in most the problem was slightly different but seemed to apply) but nothing has done anything to make a difference.

我试过关闭防病毒和防火墙,但这没有帮助.我也试过卸载并重新安装网络适配器驱动程序(并重新启动计算机),但没有奏效.

I've tried switching off the anti-virus and firewall but that didn't help. I've also tried uninstalling and reinstalling the network adapter drivers (and restarting the computer) and that didn't work.

据我所知,这是某个地方的网络问题,因为远程服务器不断挂断,但我无法解决问题.

From what I understand it's a network issue somewhere as the remote server keeps hanging up but I'm not managing to get anywhere with the issue.

使用 git clone -v --progress 似乎给出与 git clone 相同的输出.git clone -v --progress https://github.com/mit-cml/的输出appinventor-sources.git

Using git clone -v --progress seemed to give the same output as git clone. Output from git clone -v --progress https://github.com/mit-cml/appinventor-sources.git

克隆到appinventor-sources"...
POST git-upload-pack(gzip 1425 到 774 字节)
远程:计数对象:41649,完成.
远程:压缩对象:100% (7/7),完成.
错误:RPC 失败;curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
致命:远端意外挂断
致命:早期EOF
致命:索引包失败

Cloning into 'appinventor-sources'...
POST git-upload-pack (gzip 1425 to 774 bytes)
remote: Counting objects: 41649, done.
remote: Compressing objects: 100% (7/7), done.
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

我现在再次尝试增加缓冲区

I've now tried increasing the buffer again

git 配置 --global http.postBuffer 1048576000

git config --global http.postBuffer 1048576000

但还是什么都没有.

我正在遵循 远程端挂起的解决方案git 克隆时意外启动以进行故障排除.

I'm following the solution from The remote end hung up unexpectedly while git cloning for troubleshooting.

推荐答案

我通过这个解决了同样的问题:

I resolved the same problem by this:

git config http.postBuffer 524288000

可能是因为仓库的大小和git的默认缓冲区大小,所以通过上面的操作(在git bash上),git缓冲区大小会增加.

It might be because of the large size of repository and default buffer size of git so by doing above(on git bash), git buffer size will get increase.

干杯!

这篇关于git clone 错误:RPC 失败;curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆