Forums

Bash console not loading

Logged in and saw the bash console gets stuck on: Loading console ... for a long time and doesn't load. Killing the console and starting it again doesn't seem to help..

Thanks Mannan

Yea I'm getting this.

Very sorry about that, one of the console servers was having a bad time (too many people logged in at once). I have evened out the load a bit, so it should be working fine now. While we do have automated reporting for some other stuff (eg: if the site goes down), we do not have good enough automatic alerts for this particular issue. We are looking into ways to address this more promptly in the future. Next time that happens, you can also kill that console and start a new one (you get randomly assigned to different servers) as a temporary hack around it.

Thanks for the explanation. I did try that a few times (actually around 5 times) but didn't quite do it. Or was that not enough times?

hmm. weird- I guess next time keep an eye out for which server you are connecting to. If you take a look at the white bubble that popups up before you get to the loading screen about, it says console-1, console-2 etc. (and make sure you are killing them and recreating them instead of connecting to the same one)

the same problem is happening today

hi helensirius, thanks for reporting! the issue should have been resolved now- let us know if you are still seeing any problems.

What is the meaning of command not found in bash console? I simply type 5+5 and hit enter, but I don't understood what the console is saying.

It means that the command you tried to run was not found. '5' is not a bash command.

I think the issue is recurring now. I can see the console name..But no new terminal is starting up.

same...not loading the console. Just gets stuck.

Hmm, we don't have any known console server problems at the moment, and didn't at the time you were posting above. Are you still having issues? Could you post a screenshot of what you're seeing if so?

Giles,

Thanks for the response. Unfortunately, it's still not loading. It keeps saying;

Loading console Preparing execution environment...

That's odd. What console server are you on? You can find out by refreshing the page, and looking for the white "Connecting to consoles-X.pythonanywhere.com" message that will (briefly) appear at the bottom of the page, just before it starts showing "Loading console"

It seems to be working now. Thanks.

OK, thanks for letting us know.

bash console take along time to open n finally not loading!!!!!!! plse reply p.A.W

Which browser are you using? What does the console display, if anything -- that is, is it a black web page, a blank white one, or some other kind of error?

I am facing the same issue. Bash console stuck at

Loading console...
Preparing execution environment...

I tried to start another console but it's not working. (*DB is console is working)

Please help!

I am facing the same issue. Bash console stuck at

Loading console... Preparing execution environment...

Which browser are you using? Do you have any plugins active in your browser?

bash is not loading. Please help) Starting encrypted connection to consoles-3.pythonanywhere.com on port 443

Are you connecting from some kind of institutional network, like a university or a corporation? Unfortunately some networks like that block the WebSocket connections that our consoles use to communicate with the server.

Hi,

Console is not loading for me. it is stuck at "Starting encrypted connection to consoles-8.pythonanywhere.com on port 443". I have tried multiple browsers and restarted consoles multiple times, but it's still not working.

We had an outage where we had to disable consoles for a bit. We have re-enabled them so you should be able to connect again.

I'm having this issue now, it just says "Starting encrypted connection to consoles-4.pythonanywhere.com on port 443", console not working

Are you behind some kind of institutional network, like a university or a corporation? Unfortunately some networks like that block the WebSocket connections that our consoles use to communicate with the server.

Hello. I am new to the PythonAnywere, and I am trying to learn about building a website.

I am following along with "A beginner's guide to building a simple database-backed Flask website on PythonAnywhere" at https://blog.pythonanywhere.com/121/.

Half way through, I encountered an issue with Bash console. Specifically, the guide says to run ipython3.6 to start a Python interpreter, but when I did it bash returns that "bash: ipython3.6: command not found"

Could anyone help to resolve an issue I have? Thanks.

the 3.6 in ipython3.6 refers to the version of python that you're using. Since that blog post is pretty old, youre probably using a later version of python. You likely have the following versions available, ipython3.7 ipython3.8 ipython3.9 ipython3.10

Hello, I'm on https://blog.pythonanywhere.com/121/ somewhere in

Now that we’ve defined our model, we need to get SQLAlchemy to create the database tables. This is a one-off operation – once we’ve created the database’s structure, it’s done. Save your Python file, then head over to the bash console we’ve been using so far for git stuff, and run ipython3.6 to start a Python interpreter (if you chose a different Python version for your website, just replace the 3.6 with the version that you used).

but after running ipython3.10 My bash is stuck.

Loading console...
Preparing execution environment... OK
Flux Capacitor... Fluxing... OK
Loading Ipython3.10 interpreter...

I tried killing consoles and tried ipython3.10 console and it is the same.

I learned that there is an outage. I read from other posts a message from a staff:

Hi @Nifu, it looks like you were caught up in a outtage on a particular server which hosts your files. Unfortunately it seems like there's a gap in our alerting and nobody was woken up to deal with the issue so it carried on for some time before fixing itself. It looks like it's functioning correctly now but as I've just been notified , we don't currently have any more information about what went wrong. I'll let you know when I know more

You can ignore my message.

Yes, that was likely the issue. IPython uses SQLite for some internal data structures, and the issue that you heard about was because SQLite databases were locking up one one of our storage servers.