git RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly 类似问题解决

今天在使用git 通过http 协议进行git repo clone 的时候发现的问题,记录下

参考解决方法

  • 使用http1.1 协议
git config --global http.version HTTP/1.1
  • 增加buffer
git config --global http.postBuffer 524288000

说明

以下链接包含了比较不少解决方法,可以参考

参考资料

https://stackoverflow.com/questions/59282476/error-rpc-failed-curl-92-http-2-stream-0-was-not-closed-cleanly-protocol-erro

posted on 2024-02-15 08:00  荣锋亮  阅读(491)  评论(0编辑  收藏  举报

导航