HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
问题描述
使用git的时候发现一直提示HTTP/2 stream 1 was not closed cleanly before end of the underlying stream。 通过排查发现,是git默认使用的通信协议出现了问题,可以通过将默认通信协议修改为http/1.1来解决该问题。
解决方法
git config --global http.version HTTP/1.1
转载自:https://juejin.cn/post/7205072637483860024