git clone报错error: RPC failed; curl 18 transfer closed with outstanding read data remaining

具体错误信息如下图:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed

这个错误产生的原因是时间太久,资源太大。

基于此,第一种考量即扩大缓存区。即在命令行输入:

        git config --global http.postBuffer 524288000

然而这对我并没有用。

第二种可能是你网速太慢,导致运行失败。

因此我们可以输入:

git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999

问题解决,果然是因为我的网速太慢。??

当然,这只对我的问题有效,并不一定所有人的问题都是一样的。此外,还有通过设置浅层clonessh替换https的方式。

原文地址:https://www.cnblogs.com/lbrs/p/11701450.html

时间: 2024-10-11 22:05:36

git clone报错error: RPC failed; curl 18 transfer closed with outstanding read data remaining的相关文章

Jenkins之发布报错“error: RPC failed; curl 18 transfer closed with outstanding read data remaining”

报错信息: error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.

解决git报错:error: RPC failed; curl 18 transfer closed with outstanding read data remaining 的方法

报错信息: error: RPC failed; curl 18 transfer closed with outstanding read data remainingfatal: the remote end hung up unexpectedlyfatal: early EOFfatal: index-pack failed 解决方法一:网上大部分解决措施:命令终端输入如下命令,但是一般并不好使, git config --global http.postBuffer 524288000

Git 报错:git - error: RPC failed; curl 18 transfer closed with outstanding read data remaining 解决方案

error: RPC failed; curl 18 transfer closed with outstanding read data remaining because have error when clone by HTTP protocol (curl command). And, you should increment buffer size: git config --global http.postBuffer 524288000 原因:由于Http协议错误,当Pull或者C

error: RPC failed; curl 18 transfer closed with outstanding read data remaining的解决

解决方案也是网上搜的,总结一下 一,加大缓存区git config --global http.postBuffer 524288000这个大约是500M二.少clone一些,–depth 1git clone https://github.com/flutter/flutter.git --depth 1–depth 1的含义是复制深度为1,就是每个文件只取最近一次提交,不是整个历史版本.三.换协议clone http方式换成SSH的方式,即 https:// 改为 git://例如git c

PHP Curl transfer closed with outstanding read data remaining

php transfer closed with outstanding read data remaining php curl CURLOPT_HTTPHEADER php curl 报错 transfer closed with outstanding read data remaining http://php.net/manual/zh/function.curl-setopt.php

git error: RPC failed; curl transfer closed with outstanding read data remaining

网速原因. $ git clone http://github.com/xxxxx --depth 1 $ cd xxxxx $ git fetch --unshallow 原文地址:https://www.cnblogs.com/amitherblogs/p/12681861.html

git clone 报错 sign_and_send_pubkey: signing failed: agent refused operation Permission denied (publickey).

这个是我遇到的问题,一开始我以为是我的ssh公钥失效了,为了验证这一想法,我反复的将公钥创建 了N次,却依旧无法解决问题.于是,我就开始怀疑自己是否某些关键性的配置配置错误,或者粗心导致的,反复检查后发现自己没有问题.ok,下面是解决的办法: 在你的ternimal下执行该命令 ssh-agent -s 然后再执行下面的命令 ssh-add 参考:https://blog.csdn.net/StudyLww/article/details/90750158 原文地址:https://www.cn

(转)git clone: error: RPC failed; result=18, HTTP code = 200 解决办法

git clone: error: RPC failed; result=18, HTTP code = 200 解决办法 分类: git2013-09-01 17:03 10753人阅读 评论(2) 收藏 举报 gitcurl ?今天git clone时,出现这个错误. [php] view plaincopy 因为自己的git库上面放了一些数据,所以整个库较大.google了一下,发现是curl的postBuffer 默认值较小的原因,配置下个这个值,就不会出现该错误了.

git push报错error: failed to push some refs to '[email protected]:

$ git push -u origin master To [email protected]:xxx/xxx.git ! [rejected] master -> master (fetch first) error: failed to push some refs to '[email protected]:xxx/xxx.git' hint: Updates were rejected because the remote contains work that you do hint: