【问题标题】:Fail to deploy to Heroku: Argument list too long - bin/receive_untrusted无法部署到 Heroku:参数列表太长 - bin/receive_untrusted
【发布时间】:2015-05-05 17:39:27
【问题描述】:

当我尝试在 Heroku 上更新我的 Java 应用程序时,它失败并显示“参数列表太长 - bin/receive_untrusted”。这发生在实际构建过程开始之前,这是我得到的唯一错误。当然它在本地构建完美..

Counting objects: 95506, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (28630/28630), done.
Writing objects: 100% (95506/95506), 16.95 MiB | 2.82 MiB/s, done.
Total 95506 (delta 42943), reused 94815 (delta 42643)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: Build stream timed out, reverting to polling...
remote: 
remote: Build output:
remote: Argument list too long - bin/receive_untrusted
remote: !   Push rejected to xxxxx.
remote: 
To https://git.heroku.com/xxxx.git
 ! [remote rejected] develop -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/xxxxx.git'

【问题讨论】:

  • 这是持续发生还是一次性事件?
  • 显然它只发生在那天(始终如一)。尽管我这边没有任何改变,但它似乎已修复。奇数
  • 我在 Heroku 工作,我在内部询问了一些人。我们一直无法弄清楚是什么原因造成的。如果您再次看到,请打开支持票。 help.heroku.com 谢谢!
  • 我的 node.js 应用也遇到了同样的问题。没有人解释为什么?

标签: heroku


【解决方案1】:

唯一为我解决的问题是在 Heroku 中重置 Git 存储库并从头开始推送它,这在 answer 中进行了描述。

【讨论】:

    猜你喜欢
    • 2022-01-07
    • 2020-05-26
    • 1970-01-01
    • 2014-08-30
    • 2015-04-27
    • 2019-02-22
    • 2021-03-28
    • 2018-07-24
    • 1970-01-01
    相关资源
    最近更新 更多