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??防火墙??)

  • 相关阅读:
    What difference between sharepoint web parts and User Controls?
    Backup and Restore in SharePoint 2010
    AJAX 工作原理
    What difference between site definition and site templates?
    Webpart 通信:通过Web Part Connection 在Web Part 之间传递数据(一)
    如何设置zencart能使网店更安全?
    Win7 64bit下安装Moss2010问题总结
    SharePoint配置和自定义Content Query Web Part
    html 自动换行
    ASP.NET 包含几大对象
  • 原文地址:https://www.cnblogs.com/wumz/p/9820295.html
Copyright © 2011-2022 走看看