Hexo -d部署的时候发现一直报错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
Hexo -d部署的时候发现一直报错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
SSH连接报错"kex_exchange_identification read Connection reset by peer"
SSH连接报错"Support for password authentication was removed"