【问题标题】:Can't "git push". "Heroku Git error" for 4 days now不能“git push”。 “Heroku Git 错误”已有 4 天了
【发布时间】:2012-09-29 22:19:08
【问题描述】:

如标题中所述,我无法推送到我的某个应用程序。
“git push”到其他应用程序工作正常,因此设置凭据/密钥就可以了。

错误信息:

$ git push app-remote

 !  Heroku Git error, please try again shortly.
 !  See http://status.heroku.com for current Heroku platform status.
 !  If the problem persists, please contact http://support.heroku.com.

fatal: Could not read from remote repository.

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

我对 Heroku 的支持感到失望,因为我的票在 4 天后没有答案:(

【问题讨论】:

  • 一些可能对您有帮助的想法...您确定您的权限是正确的吗?您是否能够以其他方式与应用程序交互? heroku 应用程序:信息是否显示您的应用程序?你最近改名了吗?
  • 我很确定我的权限是正确的。 Push 上周五为这个应用程序工作,然后停止工作。
  • heroku apps:info 有效。除了 git 访问之外的一切似乎都运行良好。
  • 我也是。几个月来我每天都在推,这很好。现在我推不动了。试过gem update heroku 但这没有帮助。可以推送到另一个heroku应用程序就好了。我想我会尝试重新启动(Mac)。
  • 4 天后他们回答了我的票。他们说应用程序 git repo 有问题,他们将不得不重置它。我已经在他们回复几分钟后授权重置,但他们仍然没有这样做。现在已经 6 天了,我对 Heroku 的支持感到非常失望。

标签: git heroku


【解决方案1】:

$ git push heroku master

Warning: Permanently added the RSA host key for IP address '50.19.85.156' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

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

heroku 键:为我添加修复此问题

【讨论】:

    【解决方案2】:

    我得到了类似的回应:

    $ git push heroku master
    exec request failed on channel 0
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    

    访问应用程序 URL 后推送成功。我想错误必须与过去一小时内未使用的 Heorku 空闲应用程序有关(我的是免费/开发帐户)。

    【讨论】:

    • 访问应用程序 URL 为我修复了它,它可能已被休眠
    • 这也是我遇到的问题。当我希望我的 CI '正常工作'时,这不好。
    【解决方案3】:

    我也突然遇到了这个问题。只需使用heroku restart 重新启动测功机即可为我修复它。我猜是@akegalj 提到的原因

    【讨论】:

      【解决方案4】:

      存储库已损坏。

      Heroku 支持花了一个多星期的时间来修复它。

      【讨论】:

      • 我第一次听说有损坏的 git 存储库。很高兴他们帮助了你
      猜你喜欢
      • 2013-02-03
      • 2016-12-26
      • 1970-01-01
      • 1970-01-01
      • 2016-02-19
      • 2011-05-23
      • 2013-06-11
      • 2014-07-05
      • 1970-01-01
      相关资源
      最近更新 更多