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…
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:
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.