Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git push to Azure failing (RPC failed)

Tags:

git

azure

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.

like image 556
redhotvengeance Avatar asked Oct 08 '12 22:10

redhotvengeance


1 Answers

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...

like image 191
Daniel Lang Avatar answered Sep 28 '22 04:09

Daniel Lang