windows - git 克隆错误 : RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

标签 windows git curl github clone

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

我试过关闭防病毒软件和防火墙,但没有用。 我还尝试过卸载并重新安装网络适配器驱动程序(并重新启动计算机),但没有用。

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

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

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

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

git config --global http.postBuffer 1048576000

但仍然没有。

我正在遵循 The remote end hung up unexpectedly while git cloning 中的解决方案用于故障排除。

最佳答案

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

git config http.postBuffer 524288000

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

干杯!

关于windows - git 克隆错误 : RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46232906/

相关文章:

.net - 打开文件 - 安全警告

git - 如何重新初始化 git-svn 存储库

java - 如何使用JavaGit库获取提交的id?

git - 读取 git 的最后一次提交和提交编号

cURL 登录到 login.live.com

asp.net - 来自 Mono 2.10 的 XSP4 在 Windows 下不工作

windows - 跨平台的 OpenCV 视频

javascript - 用于注册到第三方网站的脚本

git - 如何使用 curl 下载 gitlab CI/CD 工件?

windows - 如何配置Docker CLI从Git-Bash上的minikube访问docker服务器?