Git推送到Azure失败(RPC失败) [英] Git push to Azure failing (RPC failed)

查看:151
本文介绍了Git推送到Azure失败(RPC失败)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过Git部署到Azure几个月没有大问题,但现在我似乎遇到了一个我无法逾越的错误。



<我创建了一个新的Azure网站,为活动开发中的项目创建单独的预览链接。我在新网站上设置了Git发布,并尝试推送我在其他Azure网站上使用的相同项目回购。但是,每次尝试都会失败:

 错误:RPC失败;结果= 56,HTTP代码= 0 
致命:远程终端意外挂起
致命:远程终端意外挂起

我尝试推送一个更小的提交(只是一个空文本文件),并推送通过罚款。



我相当肯定,这个错误是由于我的回购规模(约50mb)。由于这是一个新的推动,它需要传递完整的回购大小,而不是数月来我一直在做的增量推动。



我试着增加我的 http.postBuffer

  git config http.postBuffer 524288000 

但我的推送仍然失败。

Azure需要增加它收到的POST请求的大小?或者是否有另一个修复程序,我不知道?



有什么建议?



更新:

这是一个已知问题。到目前为止,它已被缩小到Mac和https组合的问题。您可以按照 MSDN GitHub

我很确定这不是你自己可以修复的问题。我也有两个网站,今天早上git push一直很好,但现在我得到了同样的错误。让我们拭目以待......


I've been deploying to Azure via Git for several months with no major issues, but now I've seem to hit an error I can't get past.

I made a new Azure Web Site to create a separate preview link for a project in active development. I set up Git publishing on the new site and tried pushing the same project repo that I am using on other Azure Web Sites. Every push attempt, however, fails:

error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly

I've tried pushing a much smaller commit (just an empty text file), and the push goes through fine.

I'm fairly certain that this error is due to my repo size (~50mb). Since this is a fresh push, it needs to transfer the full repo size instead of the incremental pushes I've been doing for months.

I've tried increasing my http.postBuffer:

git config http.postBuffer 524288000

But my push still fails.

Does Azure needs to increase the size of the POST requests it receives? Or is there another fix I am unaware of?

Any suggestions?

Update:
This is a known issue. It (so far) has been narrowed down to an issue with the compbination of Mac and https. You can follow the issue threads on MSDN and GitHub.

解决方案

I'm pretty sure that this isn't something you can fix on your own. I've also two websites where git push has been working fine this morning but now I get the same error. Let's wait and see what happens...

这篇关于Git推送到Azure失败(RPC失败)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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