git clone : Early EOF the remote end hung up unexpectedly index-pack failed RPC failed; curl 56 Ope

本文详细记录了解决Git在操作远程仓库时遇到的“EarlyEOF”、“remote end hung up unexpectedly”等错误的过程,通过调整配置参数,如http.postBuffer大小,解决了因传输数据过大导致的连接异常问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题:

Early EOF the remote end hung up unexpectedly index-pack failed RPC failed; 
curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

解决


C:\Users\able>git config -l
http.sslbackend=openssl
http.sslcainfo=D:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
http.sslverify=false
credential.helper=manager

//设置
C:\Users\able>git config --global http.postBuffer 524288000
// 如果还满足不了就翻倍


C:\Users\able>git config -l
http.sslbackend=openssl
http.sslcainfo=D:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
http.sslverify=false
credential.helper=manager
http.postbuffer=524288000

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值