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!

1
6 comments

Getting the same exact bug with PyCharm today.

0

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. 

1

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!

0

The buffer fix worked for me too - thanks!!

0

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
 

0

Hi,

Please try the workaround above. 

0

Please sign in to leave a comment.