GitHub: error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 send-pack: unexpected disconnect while reading sideband packet fatal: the remote end hung up unexpectedly
Pushing to a GitHub repository I've been using for a couple years. Today, however, I get errors on a pretty standard commit.
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
I've updated PHPStorm and all plugins. Same error. Haven't found anything in the community or on the internet in general that gives me a clue (except for references to a postbuffer size – but this commit isn't unusual at all).
Can't push the commit until I get this solved. Help!
Please sign in to leave a comment.
Getting the same exact bug with PyCharm today.
Hi all,
Please see: https://stackoverflow.com/questions/62753648/rpc-failed-http-400-curl-22-the-requested-url-returned-error-400-bad-request
The workaround provided there should fix it.
Error does not seem to be related to us.
Thank you! I can't believe I found that yesterday and didn't try it!
All I needed to do was execute the git command to change the buffer size. Then I did a push in PHPStorm and it worked fine! (I hope its a one time thing).
Thanks again!
The buffer fix worked for me too - thanks!!
I am getting same problem. Tried to create new branch , new workspaces, new repo etc.
Getting same error:
Delta compression using up to 10 threads
Compressing objects: 100% (4449/4449), done.
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (13782/13782), 352.32 MiB | 251.41 MiB/s, done.
Total 13782 (delta 6663), reused 13758 (delta 6657), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date
Hi,
Please try the workaround above.
Hello everyone,
I was facing the same error as Jim Schiel . My setting is CLion on MacOS and i had the same error. The following workaround, as Jim Schiel suggested, worked for me:
git config --global http.postBuffer 524288000 → increase buffersize to 500MB(maybe it is too much but worked for me)
git config --global http.lowSpeedLimit 0 → allow slow transfer speed
After that "git push" works as before
I hope this helps!