尝试通过Heroku托管网站。 Heroku在
之后就收到了该应用程序 git commit
但当我输入以下内容时,它不会完成:
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
答案 0 :(得分:0)
我遇到了同样的错误,看来您的密钥有问题,您需要将当前密钥上传到heroku
heroku keys:add
“管理SSH密钥”的详细信息:https://devcenter.heroku.com/articles/keys