Rails / Heroku:致命的:远端意外挂断 [英] Rails / Heroku: fatal: The remote end hung up unexpectedly

查看:311
本文介绍了Rails / Heroku:致命的:远端意外挂断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我昨天创建了一个Heroku帐户,并上传了一个网站,并多次更新它。但今天当我试图上传一个新版本时,它并没有工作,它只是一直给我这个错误信息:

I created a Heroku account yesterday, and uploaded a website, updating it multible times. But today when I tried to upload a new version it did'nt work, it just keeps giving me this error message:

ssh: connect to host port 22: Connection refused
fatal: The remote end hung up unexpectedly

我尝试重新启动heroku服务器,我自己的电脑,使用以下命令创建新密钥:
http:// devcenter.heroku.com/articles/keys

I tried to restart the heroku server, my own computer, create new keys using: http://devcenter.heroku.com/articles/keys

如果我去ssh -vvv mail @ adress:

If I go ssh -vvv mail@adress:

OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to  [195.128.174.124] port 22.
debug1: connect to address 195.128.174.124 port 22: Connection refused
ssh: connect to host  port 22: Connection refused

我能做些什么才能使它工作?

What can I do to make it work?

推荐答案

过去我看到过这个问题,问题是托管的应用程序位置不正确或安全密钥丢失/腐败。你的主机名似乎很奇怪。除非您将该域映射到heroku托管的应用程序。通常情况下,heroku应用程序url会与herokuapp.com/someapname类似。

I have seen this problem in the past and the problem is either the hosted app location is incorrect or the security keys are missing/corrupt. The hostname you have seems odd. Unless you have that domain mapped out to the heroku hosted app. Typically heroku app url would be something like herokuapp.com/someapname

但是,如果您有DNS映射,请忽略该评论。但是确实有人要交叉检查关键安装步骤,并确保它们与heroku准则同步。

But if you have a DNS mapping in place, please ignore that comment. But do have someone cross-check the key installation steps and make sure they are in sync with the heroku guidelines.

这篇关于Rails / Heroku:致命的:远端意外挂断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆