报错error: RPC failed,curl 16 Error in the HTTP2 framing layer解决方法

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

问题描述:

bash 复制代码
git pull origin main

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

解决方法1:

bash 复制代码
git config --global http.sslVerify false
git config --global http.postBuffer 1048576000

方法1解决了我的问题

解决方法2:

bash 复制代码
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

相关推荐
摆烂且佛系13 小时前
十分钟了解Git Cherry-Pick
git
为何创造硅基生物14 小时前
ESP32S3的RGB屏幕漂移问题
网络
好运的阿财14 小时前
process 工具与子agent管理机制详解
网络·人工智能·python·程序人生·ai编程
周杰伦fans14 小时前
C# required 关键字详解
开发语言·网络·c#
洛水水14 小时前
深入理解网络编程核心:Reactor、IOCP 与异步 IO 模型详解
网络·iocp
favour_you___14 小时前
epoll惊群问题与解决
服务器·网络·tcp/ip·epoll
北方的流星14 小时前
华三网络设备的路由重定向配置
运维·网络·华三
.select.15 小时前
TCP 3
服务器·网络·tcp/ip
星渊澈15 小时前
从github上git clone 比较慢,如何解决。。
git·github
阿捏利15 小时前
详解网络协议(十六)UDP协议
网络·网络协议·udp