Forums

Cannot open SSH Tunnel: Timeout connecting to ssh.pythonanywhere.com

Hello,

I previously was able to successfully connect to my PythonAnywhere MySQL database through MySQL Workbench using the directions from https://help.pythonanywhere.com/pages/AccessingMySQLFromOutsidePythonAnywhere/

However, today, I cannot connect. When I even try, I get a popup that shows "Cannot open SSH Tunnel: Timeout connecting to ssh.pythonanywhere.com"

I did change my PythonAnywhere login password today. I don't know if that is somehow related. But I am getting this error message now whether I use the correct password or a bad password in my MySQL Workbench "Test Connection" attempts.

No joke, two minutes after I posted this, it started working again.

Any chance it was related to password change and a still-open-in-my-Web-tab MySQL Console that was somehow keeping the password change from being able to propagate?

Anyway, it's working now.

Your MySQL password would not affect whether you were able to open the SSH tunnel - that would only be used in the next step (connecting to the database through the tunnel). It sounds like something in your network or on your machine may have been blocking the SSH connection.