Heroku git push - "fatal: the remote end hung up unexpectedly" Heroku git推送-"致命错误:远程端意外挂起"

3

我正在尝试使用Heroku托管网站。我已经使用git commit将应用程序提交给了Heroku,但是当我执行git push heroku master时,它无法完成最终操作。

以下是我收到的输出:

Enumerating Objects: 51, done.
Counting Objects: 100% (51/51), done.
Delta compression using up to 4 threads
Compressing objects: 100% (49/49), done.
Error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
Fatal: the remote end hung up unexpectedly
Writing objects: 100% (51/51), 48.24 MiB | 13 KiB/s, done.
Total 51 (delta 2), reused 0 (delta 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date
1个回答

0

我遇到了同样的错误,看起来你的密钥存在问题,你需要将当前密钥上传到Heroku

 heroku keys:add

有关详细信息,请参阅“管理您的SSH密钥”:https://devcenter.heroku.com/articles/keys


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接