gpt4 book ai didi

ruby-on-rails - Rails/Heroku : fatal: The remote end hung up unexpectedly

转载 作者:行者123 更新时间:2023-12-02 14:15:57 25 4
gpt4 key购买 nike

我昨天创建了一个 Heroku 帐户,并上传了一个网站,多次更新。但是今天当我尝试上传新版本时它不起作用,它只是不断给我这个错误消息:

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

我尝试重新启动 heroku 服务器,我自己的计算机,使用以下命令创建新 key :
http://devcenter.heroku.com/articles/keys

如果我去 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

我该怎么做才能让它发挥作用?

最佳答案

我过去见过这个问题,问题是托管应用程序位置不正确或安全 key 丢失/损坏。您拥有的主机名似乎很奇怪。除非您将该域映射到 heroku 托管应用程序。通常,heroku 应用程序 url 类似于 herokuapp.com/someapname

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

关于ruby-on-rails - Rails/Heroku : fatal: The remote end hung up unexpectedly,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8742937/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com