Search code examples
gitversion-controlgithubbitbucketgit-remote

The remote end hung up unexpectedly while Git push with large files


When I try to push to my bitbucket repo, I get the following error. (In fact its the same in GitHub as well).

Counting objects: 48, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (38/38), done.
Writing objects: 100% (48/48), 1.95 MiB | 38 KiB/s, done.
Total 48 (delta 9), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
error: RPC failed; result=56, HTTP code = 0
fatal: recursion detected in die handler
Everything up-to-date

Mostly I get another error like

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

Either way PUSH fails. This is only for large files I guess. For smaller changes it works fine. I've updated http.postBuffer to 2M and it still doesn't work.

Important I've a 3G connection and an CDMA based EVDO Internet connection. With the 3G connection, the PUSH and everything else works FINE. But with the EVDO I get the above errors. So I'm under the impression that its because of some connection problem with my EVDO or ISP.

How can I resolve this?


Solution

  • Turns out it was an issue with BSNL's EVDO connection. Unfortunately none of the technicians in BSNL were able to help me. So i discarded the connection.

    Back to good old wired broadband :D.