Running Heroku Console Does Not Start

Running Heroku Console does not start

I just had a thread with Heroku support about my similar issue, here was their response, which worked for me.

So this is a bamboo app. You can either do

$ heroku console

which will tap into a running web dyno, or you can run a new console
as a one-off process with:

$ heroku run bundle exec rails console

On cedar apps you'd also be able to do

$ heroku run console

which also starts a one-off process, because the console process type
would be implied by the rails buildpack or declared in your Procfile.
It amounts to the same as the previous line.

Can't access Heroku console with app name

What about heroku run rails c? Does it make any difference if you add rails?

PS: I'm unsure if you want to access Rails' console or just a normal shell, from the comments.

Heroku Run Rails Console Not Working

Install the heroku toolbelt first, and then try again your heroku run rails c command.

To verify your toolbelt installation use:

$ heroku --version

See Heroku CLI for more information.

Heroku Console won't boot- cannot load such file -- rack/handler/console

You can try this way:

heroku run console

Why can't I start a Heroku console on the Cedar stack?

on Celadon Cedar Stack it is changed to:

$ heroku run bash

heroku: Running console attached to terminal...

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.

How can I run rails console in Heroku? Rails 5.1 and postgresql

You can specify the name of the app in case you have several:

heroku run rails c -a APP_NAME


Related Topics



Leave a reply



Submit