git - Heroku git 推送 - "fatal: the remote end hung up unexpectedly"

标签 git heroku heroku-toolbelt heroku-cli

尝试使用 Heroku 托管站点。 Heroku 已在之后收到应用程序

git 提交 但当我输入以下内容时,它不会最终确定: 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

最佳答案

我遇到了同样的错误,看来您的 key 有问题,您需要将当前的 key 上传到heroku

 heroku keys:add

“管理您的 SSH key ”的详细信息:https://devcenter.heroku.com/articles/keys

关于git - Heroku git 推送 - "fatal: the remote end hung up unexpectedly",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57643375/

相关文章:

node.js - 无法使用 Travis-ci 构建和部署 node.js 项目 - 未找到 Rakefile

heroku - 如何在heroku中删除以前的帐户

git - 致命: cannot exec '/home/<user>/.ssh' : Permission denied when using Git

heroku - Imagemagick - 在 Heroku 上更改 policy.xml

ruby - 在 Sinatra 应用程序中维护单一、持久的 EM 连接

angular - 类型 { production : boolean; } 上不存在属性 'firebase'

ruby-on-rails - Ruby on Rails 应用程序的 Heroku 错误日志

git - "git push"和 "git push origin master"有什么区别?

android - 何时将分支 merge 到主分支

git - 如何将 Git 版本控制 (Bitbucket) 添加到现有源代码文件夹?