error: RPC failed; curl 16 Error in the HTTP2 framing layerfatal: expected flush after ref listing

问题描述:

git pull origin main

报错error: RPC failed,curl 16 Error in the HTTP2 framing laye

解决方法1:

git config --global http.sslVerify false
git config --global http.postBuffer 1048576000

方法1解决了我的问题

解决方法2:

git config --global http.version HTTP/1.1
//如果要设置回http2

git config --global http.version HTTP/2

参考链接:
https://stackoverflow.com/questions/38378914/how-to-fix-git-error-rpc-failed-curl-56-gnutls

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐