Git larger file error
Objective: Solve error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
Before doing that we need to understand some time When you push you may experience this error:
RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (1796/1796), 363.70 MiB | 178.00 KiB/s, done.
Total 1796 (delta 991), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
In the first step, we need to increase the buffer size by using this command git config --global http.postBuffer 157286400
You may want to know why this error happened, go to this source down below.
The next step is to, change the HTTP version, and run this command git config --global http.version HTTP/1.1
Extra if you count the same issue find Fiber connection with high speed will upload successfully.