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

查看:1529
本文介绍了git clone错误:RPC失败; curl 56 OpenSSL SSL_read:SSL_ERROR_SYSCALL,错误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 config --global http.postBuffer 1048576000

git config --global http.postBuffer 1048576000

但还是没有。

我正在从解决方案

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,错误10054的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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