报错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

相关推荐
交换机路由器测试之路1 天前
交换机路由器基础(四)--TCPIP四层模型及常见协议技术
网络·网络协议·路由器·交换机·tcp/ip模型
老蒋新思维1 天前
借刘润之智,在 IP+AI 时代构筑战略 “增长方舟”|创客匠人
大数据·网络·人工智能·网络协议·tcp/ip·创客匠人·知识变现
行走的陀螺仪1 天前
git-旧项目继续开发新功能,同时还要维护线上版本
git·git push·git commit·git 协同开发
多多*1 天前
一个有 IP 的服务端监听了某个端口,那么他的 TCP 最大链接数是多少
java·开发语言·网络·网络协议·tcp/ip·缓存·mybatis
网硕互联的小客服1 天前
Windows2008 如何禁用FSO?
运维·服务器·网络·windows·安全
打码人的日常分享1 天前
智慧楼宇资料合集,智慧城市智慧社区智慧园区
大数据·网络·人工智能
普普通通的南瓜1 天前
网站提示 “不安全”?免费 SSL 证书一键解决
网络·数据库·网络协议·算法·安全·iphone·ssl
Pailugou1 天前
使用socket实现TCP服务端
服务器·网络·tcp/ip
fendouweiqian1 天前
git提交与commitlint规则
git
Bruce_Liuxiaowei1 天前
权限维持:操作系统后门技术分析与防护
网络·安全·web安全