DEV Community

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

Obinna Johnson on November 26, 2019

So I was having an error trying to push my project to GITLAB (Error reproduced below) $ git push -u origin master Enumerating objects: 113, done....
Collapse
 
costonied profile image
Igor Savin

It's was not worked for me. But worked downgrade version of HTTP from 2 to 1.1:
$ git config --global http.version HTTP/1.1
After it push was ok and I have changed HTTP version to 2 again:
$ git config --global http.version HTTP/2

Collapse
 
asher_not_found profile image
asher

Thanks a lot man, it worked for me too.

Collapse
 
vhenckel profile image
Vitor Henckel

This worked for me too. Thanks!

Collapse
 
manoelcamillo profile image
Manoel Camillo

This worked for me too. Thanks!

Collapse
 
gustavozapata profile image
Gustavo Zapata

This worked for me. Thanks!

Collapse
 
mmhgarcia profile image
Alberto G

It did not work for me neither.

Collapse
 
lailahgrant profile image
Kemigisa Lailah Grant

Thanks for the post.
Meanwhile the above solution didn't work for me but rather found another solution...

git config --global http.postBuffer 100000000

Reference : https://stackoverflow.com/questions/15240815/git-fatal-the-remote-end-hung-up-unexpectedly?page=1&tab=votes#tab-top

Thanks

Collapse
 
repsick3r profile image
repsick3r

degrading the http.version is the only practical way i found

thanks for the suggestion

Collapse
 
iamwebwiz profile image
Ezekiel Oladejo

Thanks a lot. This worked for me! 👍🏾

Collapse
 
obynonwane profile image
Obinna Johnson

You Welcome

Collapse
 
judlup profile image
Judlup Luna

Thank you! :)

Collapse
 
snehanitdgp profile image
Sneha Chattopadhyay

Worked for me. Thanks!

Collapse
 
pytoncraft2 profile image
pytoncraft2

Thank you ! <3