4/20/2021

error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) fatal: the remote end hung up unexpectedly

 

I encounter this error when I push my repo.


>>>

error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)

fatal: the remote end hung up unexpectedly

<<<


I am trying following things to solve, It comes from stack overflow.


1.

git config --global http.version HTTP/1.1
git push 
git config --global http.version HTTP/2


2.

git config http.postBuffer 524288000



I tired both, but I failed.

In luck you could success.


Thank you.