Forums

Console stuck on "Starting encrypted connection to consoles-10. pythonanywhere.com on port 443"

I hope this message finds you well. I encountered a roadblock while attempting to run one of my files, as it appears to have become stuck on the encrypted connection. Unfortunately, I am unable to resolve this on my end. I appreciate any assistance you can provide in resolving this matter!

What happens when you try to start a new console?

When I try to start a new console, I hit run on my code and I get the error message. Then Google Chrome ends up crashing and I need to restart.

What happens if you just start a console from the Consoles page?

I can't run my python file from the Consoles page.

That wasn't what I was asking. I was asking if you are able start a console from the Consoles page.

You can start a bash console an run your file in the console with python /path/to/script/name-of-your-script.py

When attempting to execute my Python program through the bash console, I encountered an error message that read "Permission Denied."

That just means that the Linux executable permission bit hasn't be set. Normally it's best to run Python scripts using the python command explicitly, eg.

python /path/to/script.py