HTTP/2 stream 1 was not closed cleanly before end of the underlying stream

米斯特程序猿 2023年03月17日 340次浏览

最近使用 git 遇到clone 项目出现 'HTTP/2 stream 1 was not closed cleanly before end of the underlying stream' 错误提示,解决办法就是停用 http/2 协议,改用 http/1.1

  • 执行以下命令后再clone 项目就好了
git config --global http.version HTTP/1.1