I've spent all day on this one and could really use some help. When I try to push a relatively large commit,
Writing objects: 100% (21/21), 908.07 KiB | 0 bytes/s, done.
Total 21 (delta 17), reused 0 (delta 0)
git takes a very long time to respond and then gives
"efrror: RPC failed; result=55, HTTP code = 0
atal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date"
I have searched this error code, and the most likely solution seems to be extending the buffer size
git config http.postBuffer 524288000
I have tried this solution with no success. After VonC's suggestion, I tried switching from http to ssh. From ssh, I get a long hang up at the same point. Eventually, the following error message appears
Read from remote host github.com: Connection reset by peer
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Could this be a router issue? I have tried pushing from a different computer on a different network and am able to do so successfully.
I am away from my Linux machine on a Windows host and using the terrible poshGit Windows PowerShell interface.
Any ideas??
I experienced the issue due to a misconfiguration, where I pointed to a remote prefixed with http:// instead of https:// the answer hinted on SSL and this helped me to a solution for my issue.
So my remote configuration should be written:
over:
Take care,
jonasbn
You can follow the debug advices from the BitBucket article:
Cause
Workaround