The Git pull encounter issue "RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly: CANCEL (err 8)"

I'm experiencing difficulties executing git pull in my repository. The order is unsuccessful with the subsequent error notifications:

remote: Enumerating objects: 42, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (11/11), done.
error: RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly: CANCEL (err 8)
error: 4136 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: unpack-objects failed

It appears that the operation is not successful while the transfer is taking place. I have attempted to execute the command several times, yet I continue to receive the identical error message.

  1. Increased the Git buffer size using the following command, but it didn’t resolve the issue:

git config --global http.postBuffer 524288000
  1. Checked my internet connection, which seems stable and works fine with other services.

For me, only using SSH instead of HTTP solves the problem.

Back to Top