【问题标题】:heroku rake aborted! could not connect to server: Connection timed outheroku rake 中止!无法连接到服务器:连接超时
【发布时间】:2012-05-26 20:21:15
【问题描述】:

最近我通过以下命令重置了 heroku 上的数据库。

heroku pg:reset SHARED_DATABASE

我已经运行了以下命令。

heroku run rake db:migrate

我收到的回复如下所示。

rake aborted!
could not connect to server: Connection timed out
Is the server running on host "ec2-23-23-203-225.compute-1.amazonaws.com" and accepting
TCP/IP connections on port 5432?

Tasks: TOP => db:migrate
(See full trace by running task with --trace)

有什么想法吗?

谢谢。

【问题讨论】:

    标签: ruby-on-rails-3 deployment heroku


    【解决方案1】:

    今天我可以在 status.heroku.com 上看到共享数据库问题 - 它现在仍然存在吗?您可能受到共享数据库服务器中断的影响。

    【讨论】:

      猜你喜欢
      • 2019-10-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-14
      • 2017-08-02
      • 1970-01-01
      • 2019-02-08
      • 2014-07-05
      相关资源
      最近更新 更多