【问题标题】:git push heroku master - user closed connectiongit push heroku master - 用户关闭连接
【发布时间】:2014-10-02 18:35:12
【问题描述】:

在将官方 heroku 示例节点应用程序部署到 Heroku 时,我遇到了一些非常奇怪的问题。

我正在关注文章中的每一步“在 Heroku 上使用 Node.js 入门” https://devcenter.heroku.com/articles/getting-started-with-nodejs 但不断收到错误消息:

git push heroku master
Initializing repositoryReceived disconnect from 50.19.85.156: 10: user closed connection
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

有遇到过类似问题的朋友吗?

我自己的应用程序是从 angular-fullstack 派生的,但即使这个入门指南对我来说也失败了。

我试过了(没有成功):

  • 用新的 RSA 密钥替换我的旧密钥。
  • 创建备用 Heroku 帐户。
  • Archlinux 和 osx
  • OSX 重新安装节点、brew 和 gems。

其他信息:

  • OSX (10.9)
    • heroku-toolbelt/3.9.6 (x86_64-darwin10.8.0) ruby​​/1.9.3\
    • git 版本 1.8.5.2 (Apple Git-48)
    • npm 2.0.0-alpha-5
    • 节点 v0.10.30
  • Linux
    • heroku-toolbelt/3.9.6 (x86_64-linux) ruby​​/2.1.2
    • git 版本 2.0.4
    • npm 1.4.21
    • 节点 v0.10.30

有遇到过类似问题的朋友吗?

【问题讨论】:

    标签: node.js git heroku


    【解决方案1】:

    问题解决了。

    我的带有防火墙功能的 Thomson Gateway 调制解调器似乎干扰了 GIT 协议包。在 Wireshark 上,我得到了一个 RST (SSH),然后是大量的重传,最后连接被关闭。

    所以这是一个连接问题。

    如果您认为自己有此问题,请尝试以下方法进行验证:

    • 连接到 VPN。
    • 连接到您的移动网络。
    • 或任何其他替代连接...

    我已经更换了我的 ASDL 调制解调器,一切正常!

    【讨论】:

      猜你喜欢
      • 2011-05-23
      • 1970-01-01
      • 2013-03-21
      • 2013-02-03
      • 2016-12-26
      • 1970-01-01
      • 1970-01-01
      • 2013-06-11
      • 2021-05-19
      相关资源
      最近更新 更多