Skip to content

Instantly share code, notes, and snippets.

@daopk
Last active February 22, 2025 09:40
Show Gist options
  • Save daopk/0a95772d582cafb202142ff7871da2fc to your computer and use it in GitHub Desktop.
Save daopk/0a95772d582cafb202142ff7871da2fc to your computer and use it in GitHub Desktop.
Fix error : RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
git config --global http.version HTTP/1.1
git config --global http.postBuffer 157286400
@SmileMachine
Copy link

Change of network worked for me ..

yeah i switched to mobile newtork and it worked for me as well

Same, after trying so many solution, using a hotspot solved this problem. (My phone is connected to the same wifi)

@atomlab
Copy link

atomlab commented Oct 31, 2024

Worked for me.

@GermanAizek
Copy link

git config --global http.postBuffer 157286400 worked for me. Thanks!

Many thanks, its worked for me.

@kyilwinhan
Copy link

kyilwinhan commented Dec 15, 2024

Screenshot from 2024-12-15 22-06-17

I followed the instruction, but the download speed is too slow.
So I canceled it and switch back to HTTP/2 using
git config --global http.version HTTP/2
and it worked.
Hope this also work for others. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment