1

I am having a problem trying to push my code to github. This is the error that I am facing I have tried few solutions that I have found but they all seem not to be working. This is the error that I am facing:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly

I have tried to resolve the error by using this solution that I found in stack overflow but It has not worked

git config --global http.postBuffer 524288000

I even tried to replace http with ssh but it still did not work

Felix Kariuki
  • 414
  • 5
  • 9
  • Please see [the Git FAQ}(https://git-scm.com/docs/gitfaq#http-postbuffer) for why you should not need to set `http.postBuffer` and why it indicates a problem if you do. – bk2204 Sep 08 '21 at 21:45

1 Answers1

0

After trying most of the solutions here:git push gives: error: RPC failed.
None of the solutions worked for me.

I got a solution inspired by this answer and it worked all I had to was to change my internet connection since it was slow. Seems slow internet causes this error

Felix Kariuki
  • 414
  • 5
  • 9
  • Please help others with similar problems by posting what exactly was the solution that fixed your issue. – James Sep 10 '21 at 09:25