Hexo Depoly报错

Fatal: unable to access 'https://github.com/username/username.github.io.git/': Failed to connect to github.com port 443 after 21144 ms: Timed out
FATAL {
  err: Error: Spawn failed
      at ChildProcess.<anonymous> (D:\Blogs\HexoNext8\node_modules\_hexo-util@1.9.1@hexo-util\lib\spawn.js:51:21)
      at ChildProcess.emit (events.js:400:28)
      at ChildProcess.cp.emit (D:\Blogs\HexoNext8\node_modules\_cross-spawn@7.0.3@cross-spawn\lib\enoent.js:34:29)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) {
    code: 128
  }
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html

解决方法:检查SSH公钥与github的连接情况。
执行命令:

ssh -T git@github.com

具体见issue: https://github.com/hexojs/hexo-deployer-git/issues/71#issuecomment-299649220

posted @ 2021-11-12 10:12  kervias  阅读(63)  评论(0)    收藏  举报

Loading