2014-07-25 117 views
17

虽然做GIT中推,我收到此错误:Git推送错误:RPC失败;结果= 56,HTTP代码= 200致命:远程端挂了出乎意料致命

Username for 'https://github.com': Newbie 
Password for 'https://[email protected]': 
Counting objects: 11507, done. 
Delta compression using up to 4 threads. 
Compressing objects: 100% (8210/8210), done. 
Writing objects: 100% (11506/11506), 21.75 MiB | 0 bytes/s, done. 
Total 11506 (delta 2213), reused 11504 (delta 2211) 
efrror: RPC failed; result=56, HTTP code = 200 
atal: The remote end hung up unexpectedly 
fatal: The remote end hung up unexpectedly 
Everything up-to-date 

我还试图这样做的:混帐配置http.postBuffer 524288000,但仍错误.. 也试过:git config --global http.postBuffer 2M引用git push error: RPC failed; result=56, HTTP code = 0

请任何人都可以帮我解决这个问题吗?

+0

我有完全相同的错误。通过使用GIT_CURL_VERBOSE = 1我得到了以下额外的细节:SSL读取:错误:00000000:lib(0):func(0):reason(0),errno 10054 – Yag

+0

@Newbie,你解决了上述问题,我也面临同样的错误。 – Giresh

回答

0

尝试使用openssl库构建git。请参阅this post。你可能必须在Windows中编译git。我希望有所帮助。

23

看看这里:https://flyingtomoon.com/2011/04/12/git-push-is-failed-due-to-rpc-failure-result56/

的问题很可能是因为您的git的缓冲太低。

你需要通过设置混帐配置VAR“http.postBuffer”增加Git的HTTP缓存到524288000.

git config http.postBuffer 524288000 
+0

这非常有效!这个问题解决后,我们遇到了另一个问题(我们使用Bonovo Git Server)。它已经解决了改变[这个其他答案]中陈述的内容(http://stackoverflow.com/questions/13456025/rpc-failed-result-22-http-code-404)。所以,有可能你们中的一些人可能有同样的问题,所以我想在这里发布它。 – tfrascaroli

+0

适用于我以及 –

+0

我在Windows 7上遇到类似问题。经过数小时的谷歌搜索,在本篇文章中提到并将缓冲区大小加倍后,我发现这是我的防病毒软件引起的问题 – user28864

0

我也陷入了一个非常类似的问题,虽然我是部署到蔚蓝网通过git推送应用程序。我收到此错误:

RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054 
The remote end hung up unexpectedly 

对我来说,解决方案是将我的部署环境从Macbook更改为Windows桌面。详细信息请参见this answer

相关问题