zoukankan      html  css  js  c++  java
  • hexo d 部署博客时出错

    问题描述:

      // 第一次遇到的问题
      Error: packet_write_wait: Connection to 192.30.253.113 port 22: Broken pipe
      packet_write_wait: Connection to 192.30.253.113 port 22: Broken pipe
      fatal: sha1 file '<stdout>' write error: Broken pipe
      fatal: The remote end hung up unexpectedly
      fatal: The remote end hung up unexpectedly
      FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
      Error: packet_write_wait: Connection to 192.30.253.113 port 22: Broken pipe
      fatal: sha1 file '<stdout>' write error: Broken pipe
      fatal: The remote end hung up unexpectedly
      fatal: The remote end hung up unexpectedly
    
          at ChildProcess.<anonymous> (D:log
    ode_moduleshexo-utillibspawn.js:37:17)
          at emitTwo (events.js:126:13)
          at ChildProcess.emit (events.js:214:7)
          at ChildProcess.cp.emit (D:log
    ode_modulescross-spawnlibenoent.js:40:29)
          at maybeClose (internal/child_process.js:925:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
    
      // 第N次遇到的问题
      [master 852bb8c] Site updated: 2018-10-20 02:04:33
      67 files changed, 536 insertions(+), 536 deletions(-)
      Connection reset by 192.30.253.113 port 22
      fatal: sha1 file '<stdout>' write error: Broken pipe
      fatal: The remote end hung up unexpectedly
      fatal: The remote end hung up unexpectedly
      FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
      Error: Connection reset by 192.30.253.113 port 22
      fatal: sha1 file '<stdout>' write error: Broken pipe
      fatal: The remote end hung up unexpectedly
      fatal: The remote end hung up unexpectedly
    
          at ChildProcess.<anonymous> (D:log
    ode_moduleshexo-utillibspawn.js:37:17)
          at emitTwo (events.js:126:13)
          at ChildProcess.emit (events.js:214:7)
          at ChildProcess.cp.emit (D:log
    ode_modulescross-spawnlibenoent.js:40:29)
          at maybeClose (internal/child_process.js:925:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
    

    解决方法:

    往 Github push 文件时出现 packet_write_wait: Connection to 192.30.253.112: Broken pipe 这个问题是因为传输
    过程被打断,而导致传输失败。

    1、尝试过 ssh -o ServerAliveInterval=60 mzwua@192.30.253.112(只有一次有效,后面再遇到就挂了!)

    2、有网友说:删除.deploy_git文件后重新部署(我试了一下还是挂了!)

    3、改用手机热点(竟然可以了,Why??防火墙??)

  • 相关阅读:
    NLP——天池新闻文本分类 基于深度学习的文本表示
    NLP——天池新闻文本分类 Task4:fasttext深度学习
    NLP——天池新闻文本分类 TASK3
    Python基础Task3:异常处理
    Python基础TASK2:条件语句与循环语句
    React开发入门:以开发Todo List为例
    [MIT 18.06 线性代数]Intordution to Vectors向量初体验
    [Java Tutorial学习分享]接口与继承
    FutureTask源码分析(JDK7)
    KMP(超详细复杂度分析)
  • 原文地址:https://www.cnblogs.com/wumz/p/9820295.html
Copyright © 2011-2022 走看看