Home > Mobile >  Git pull error: RPC failed; curl 16 Error in the HTTP2 framing layer. fatal: expected flush after re
Git pull error: RPC failed; curl 16 Error in the HTTP2 framing layer. fatal: expected flush after re

Time:07-15

Forgive my ignorance of GitLab but I keep getting this error after thinking I resolved it. I'm unsure how I'm having such difficulties finding what it even means, maybe I've used all my allotted brain cells and there are none left.

$ git pull 'https://gitlab....'
error: RPC failed; curl 16 Error in the HTTP2 framing layer
fatal: expected flush after ref listing

Background/things I've tried:

I used Git as version control from two different computers. I only have one branch. The only thing in the .git/refs/heads/ is 'master'. I think it started as a merge conflict but I thought I resolved it. I also thought it might be a file that's too large? or maybe it's because I'm using master on two computers? But it worked before with this technique.

I tried just cloning the entire directory again in a separate spot but same error. I can push/pull it fine from my other computer.

Many thanks for any help!

CodePudding user response:

Try to force git to use HTTP 1.1 by setting git config like this

git config --global http.version HTTP/1.1

then pull

if you want to set it back to HTTP2 to you can do the same

git config --global http.version HTTP/2
  • Related