更新于 

Github

GitHub托管个人网站

个人博客搭建

静态网站托管

Git报错

error: RPC failed; HTTP 400 curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)

报错信息

在执行hexo deploy的时候报错:

1
2
3
4
5
6
7
8
9
10
Total 129 (delta 121), reused 0 (delta 0), pack-reused 0
error: RPC failed; HTTP 400 curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
fatal: the remote end hung up unexpectedly
Everything up-to-date
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html
Error: Spawn failed
at ChildProcess.<anonymous> (D:\HelloWorld\Code\Project_Indie\Project_Web\hexo_blog\node_modules\hexo-util\lib\spawn.js:51:21)
at ChildProcess.emit (node:events:519:28)
at cp.emit (D:\HelloWorld\Code\Project_Indie\Project_Web\hexo_blog\node_modules\cross-spawn\lib\enoent.js:34:29)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
处理方式

看报错信息,是由于网络速度慢导致连接关闭
挂VPN再部署一遍就行了