【问题标题】:"git push heroku master" fails with the error: "Connection to ... closed by remote host"“git push heroku master”失败并出现错误:“连接到......被远程主机关闭”
【发布时间】:2011-11-23 12:44:21
【问题描述】:

我正在尝试部署我的第一个 Heroku 应用程序。每次我“git push heroku master”时,我都会得到这个......(特定目录/文件名被编辑)

C:\Documents and Settings\Alex\My Documents\Business\Software\...>git push heroku master
Enter passphrase for key '/c/Documents and Settings/Alex/.ssh/...':
Counting objects: 1671, done.
Compressing objects: 100% (1522/1522), done.
Writing objects: 100% (1668/1668), 4.35 MiB | 32 KiB/s, done.
Total 1668 (delta 67), reused 0 (delta 0)
Connection to 10.102.25.251 closed by remote host.
fatal: The remote end hung up unexpectedly

总是发送完所有对象,然后 Heroku 过早挂断,推送不成功。有没有人见过这个???

我正在运行 Windows XP,git 1.7.0.2.mysysgit.0 和 OpenSSH_4.6p1。如果我忘记了任何重要的细节,请告诉我。

【问题讨论】:

    标签: git heroku push


    【解决方案1】:

    看起来你在某种公司防火墙后面,它阻止了你的请求 - 10.102.25.251 不是 Heroku 的之一

    【讨论】:

      【解决方案2】:

      这似乎是您的网络设置错误尝试在 VPN 中运行命令或更改您的代理设置。

      【讨论】:

        【解决方案3】:

        我认为问题可能是互联网连接不佳。第二天早上我又试了一次,第二次“git push”就通过了。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 2014-10-02
          • 2013-03-21
          • 1970-01-01
          • 2012-08-30
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2019-06-29
          相关资源
          最近更新 更多