Git克隆存储库错误:RPC失败;结果= 56,HTTP代码= 200 [英] Git clone repository error: RPC failed; result=56, HTTP code = 200

查看:115
本文介绍了Git克隆存储库错误:RPC失败;结果= 56,HTTP代码= 200的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用了一个Git仓库几年了,仍然感觉像是一个新手..帮助是最受欢迎的!



它开始克隆一段时间:<

  remote:计数对象:22394< br> 
remote:压缩对象:100%(12314/12314)< br>
接收对象:32%....

错误:



 错误:RPC失败;结果= 56,HTTP代码= 200< br> 
致命:远端意外挂断< br>
致命:早期的EOF< br>
致命:index-pack失败

git命令:

  git clone https:// [用户名]:[密码] @ github.com / MegaWorldStudios / OmegatechV2.gitC:\OmegatechV2 

Git版本:

1.9.4-preview20140929(已下载/更新今天git fellas)



我发现了这样的问题,但没有一个答案能解决问题。



我也尝试过:

将postBuffer设置得更高,如同类似帖子中提到的那样


  git config http.postBuffer 524288000< br> 
git config --global http.postBuffer 524288000

设置 - 深度1并做一个浅的克隆,我可以稍后拉动休息



设置 - 深度2 -

 错误:RPC失败;结果= 18,HTTP代码= 200 
从主分支以外的分支克隆
重新安装软件并更新

这个可恶的错误是什么意思,什么是修复/解决方法?

非常感谢!

解决方案

由于Git的HTTPS协议,发生此错误。要详细查看错误,可以设置 GIT_CURL_VERBOSE 环境变量。例如:

  $ GIT_CURL_VERBOSE = 1 git pull 

您的防病毒软件或防火墙可能会修改传输中的HTTP数据包。请参阅 git克隆由于防病毒而失败例。

最后,它可能是一个不可靠的网络连接。我正在使用连接到Wifi的OSX机器,并且当我切换到LAN连接时问题消失。

I have been using a Git repository for a couple years and still feel like a newb.. help is most welcome!

It starts cloning for a while:

remote: Counting objects: 22394<br>
remote: Compressing objects: 100% (12314/12314)<br>
Receiving objects: 32% ....

The error:

error: RPC failed; result=56, HTTP code = 200<br>
fatal: The remote end hung up unexpectedly<br>
fatal: early EOF<br>
fatal: index-pack failed

The git command:

git clone https://[username]:[password]@github.com/MegaWorldStudios/OmegatechV2.git "C:\OmegatechV2"

Git Version:
1.9.4-preview20140929 (downloaded/updated today from the git fellas)

I found questions such as this one, but none of the answers solves the problem.

I've also tried:
Setting the postBuffer higher as mentioned from similar posts

git config http.postBuffer 524288000<br>
git config --global http.postBuffer 524288000

Setting --depth 1 and doing a shallow clone that I can later pull the rest

Setting --depth 2

error: RPC failed; result=18, HTTP code = 200
Cloning from a branch other than the main branch
Reinstalling the software and updating

What does this infernal error mean and what's the fix/workaround?

Thanks so much in advance!

解决方案

This error occurs due to Git's HTTPS protocol. To view the error in detail, you can set the GIT_CURL_VERBOSE environment variable. For example:

$ GIT_CURL_VERBOSE=1 git pull

Your Antivirus or Firewall could be modifying the HTTP packets in transit. See git clone failed due to antivirus for example.

Finally, it could be an unreliable network connection. I am using an OSX machine connected to Wifi, and the problem disappeared when I switch to a LAN connection.

这篇关于Git克隆存储库错误:RPC失败;结果= 56,HTTP代码= 200的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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