akmur
akmur

Reputation: 1635

heroku: Running console attached to terminal...

I am trying to deploy a simple rails application to an heroku account, I was able to login and push, only it seems to hang when I try to heroku run rake db:migrate

or to

heroku run console

I get the message

Running console attached to terminal... 

and then nothing happens... it just hangs. I read that it could be I have some blocked ports (like, port 5000) but it seems quite strange to me, I never had such problems before...

I am on Ubuntu, how can I check if that's the case? or how could I fix the issue? Anybody got any hint? I already tried to heroku update, same issue...

Upvotes: 4

Views: 9099

Answers (2)

Gul
Gul

Reputation: 1767

Its the port problem i also face the same issue a while ago and their support guys told me top make open the port.

Here is their reply

This problem is typically caused by a connectivity or firewall issue. You can test your connection to our heroku run and heroku console servers by running the following commands:

telnet rendezvous.heroku.com 5000
telnet s1.runtime.heroku.com 5000

Some users have success after whitelisting these hostname+port combinations in their firewall. We recommend contacting your IT department to move forward with this issue.

If you are successfully able to connect, press Ctrl+] (right bracket) and then type quit to exit the telnet session.

An application which takes a long time to boot can also exasperate connectivity issues. If the server does not respond quickly enough, your local connection will timeout before the app can boot.

Upvotes: 7

robermorales
robermorales

Reputation: 3488

To test the net enabled access to that port try the following. They mention that filtered-port issue on their guide.

$ telnet rendezvous.heroku.com 5000 

Upvotes: -2

Related Questions