1

我使用 Spree 并托管在 Heroku 上的 Rails 应用程序一直运行良好,直到昨晚,但我今天早上醒来发现应用程序崩溃了,我不知道为什么。我最近没有做任何改变。我尝试 heroku restart 没有成功。Heroku 似乎出了点问题(日志问我一个关于亚马逊主机是否正在运行的问题??)我如何让他们知道为我解决这个问题?

2013-06-04T06:47:59.795210+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1076:in `initialize': could not connect to server: Connection refused (PGError)
2013-06-04T06:47:59.795659+00:00 app[web.1]:    from /app/vendor/bundle/ruby/1.9.1/bundler/gems/spree-58e0391d3496/core/config/initializers/spree.rb:15:in `<top (required)>'
2013-06-04T06:47:59.795210+00:00 app[web.1]:    Is the server running on host "ec2-54-243-188-56.compute-1.amazonaws.com" and accepting
2013-06-04T06:47:59.795210+00:00 app[web.1]:    TCP/IP connections on port 5442?
4

2 回答 2

0

转到http://help.heroku.com打开支持票

于 2013-06-04T07:02:40.877 回答
0

从终端检查日志

heroku logs --app <heroku app name>

检查崩溃堆栈跟踪,然后从仪表板重新启动所有测功机

在此处输入图像描述

于 2018-09-08T08:34:59.317 回答