git bash:错误:RPC失败;结果= 18,HTP码= 200B | 1KiB /秒 [英] git bash: error: RPC failed; result = 18, HTP code = 200B | 1KiB/s
问题描述
$ git clone< link>当您尝试克隆git bash时,我收到此错误:
$ p
克隆到'name_project'中...
'< link>'的密码:
remote:计数对象:100%(659/659),完成。
错误:RPC失败;结果= 18,HTTP代码= 200B | 1 KiB / s
致命:远程终端意外挂起
致命:早期EOF
致命:在处理程序中检测到递归
这是使用的命令:
git clone h(double t )ps://account@bitbucket.org/path.git
任何人都可以帮忙吗?
解决方案错误解决方案:RPC失败;结果= 18,HTTP代码= 200
第一个解决方案: 在远程存储库中,如果错误是致命的:索引包失败
git repack -a -f -d --window = 250 - 深度= 250
第二种解决方案:
远程存储库的位置,如果上面的一个没有工作:
git gc --aggressive
git repack -a -f -d --window = 250 --depth = 250
第三种解决方案:
尝试减少远程存储库配置中的postBuffer大小。
请按照以下步骤操作:
$ b
- 转至远程git存储库目录
- 运行以下命令以减小postBuffer的大小
git config http.postBuffer 24288000
- 您可以通过执行git config --get http.postBuffer来检查此值。
- 立即尝试克隆存储库(返回你克隆)
- 如果因错误而失败:RPC失败;结果= 18,HTTP代码= 200通过在配置中进一步增加postBuffer再次尝试。请转到第1步。
When I try to clone on git bash, I receive this error:
$git clone <link> Cloning into 'name_project'... Password for '<link>': remote: Counting objects: 100% (659/659), done. error: RPC failed; result=18, HTTP code = 200B | 1 KiB/s fatal: The remote end hung up unexpectedly fatal: early EOF fatal: recursion detected in die handler
This is the command used:
git clone h(double t)ps://account@bitbucket.org/path.git
Can anyone help?
解决方案Solution for failed with error: RPC failed; result=18, HTTP code = 200
First Solution:
Try running the command below in the remote repository if error is fatal: index-pack failed
git repack -a -f -d --window=250 --depth=250
Second Solution:
Also try the below ones from the remote repository location if the above one didn't work:
git gc --aggressive
git repack -a -f -d --window=250 --depth=250
Third Solution:
Try reducing the postBuffer size in the remote repository config. Follow the steps below
- Go to remote git repository directory
- Run the following command to reduce the size of postBuffer
git config http.postBuffer 24288000
- you can check this value by doing "git config --get http.postBuffer"
- Try cloning the repository now (back to where are you cloning)
- If failed with error: RPC failed; result=18, HTTP code = 200 try again by incresing the postBuffer ever further in the config. go to step 1.
这篇关于git bash:错误:RPC失败;结果= 18,HTP码= 200B | 1KiB /秒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!