Note that there are some explanatory texts on larger screens.

plurals
  1. POHeroku could not connect to server: 'Connection refused' when deploying a Rails 3.2.3 app on cedar stack
    primarykey
    data
    text
    <p>Since yesterday it worked, but this morning, I can't figure out why, my app on heroku is unable to connect to the shared DB. I can't even do a simple:</p> <pre><code>$ heroku run rake db:reset </code></pre> <p>(I'm on a cedar stack). And this is the console trace dump:</p> <pre><code>** Invoke db:reset (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! could not connect to server: Connection refused Is the server running on host "ec2-107-22-222-231.compute-1.amazonaws.com" and accepting TCP/IP connections on port 5432? /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1194:in `initialize' /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1194:in `new' /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1194:in `connect' /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:329:in `initialize' ... Tasks: TOP =&gt; db:reset =&gt; environment </code></pre> <p>Any idea, please?</p> <p>--<strong>UPDATE</strong>---</p> <p>They just updated their status at <a href="https://status.heroku.com/" rel="nofollow">https://status.heroku.com/</a> with incident 375: <a href="https://status.heroku.com/incidents/375" rel="nofollow">https://status.heroku.com/incidents/375</a> </p> <p>...I guess I just have to wait.</p> <p>--<strong>UPDATE</strong>---</p> <p>After 3 hours the error message changed into:</p> <pre><code>could not translate host name "ec2-107-22-222-231.compute-1.amazonaws.com" to address: Name or service not known (PG::Error) </code></pre> <p>At least now I know for sure that Heroku guys are working.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload