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.