Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
部署到Heroku失败:参数列表太长-bin/receive\u不受信任_Heroku - Fatal编程技术网

部署到Heroku失败:参数列表太长-bin/receive\u不受信任

部署到Heroku失败:参数列表太长-bin/receive\u不受信任,heroku,Heroku,当我尝试在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% (9550

当我尝试在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中重置Git回购协议并从头开始推动它,如本文所述。

这是持续发生的,还是一次性事件?显然,它只发生在那天(一贯)。这似乎是固定的,虽然没有改变我这边。OddI在Heroku工作,我在内部询问了一些人。我们还没有弄清楚是什么引起的。如果您再次查看,请打开支持票证。谢谢!我在node.js应用程序中看到了同样的问题。没有人能解释为什么?