Forums

Error code: 504-loadbalancer

I have a web app that is purely used for redirecting traffic from <username>.pythonanywhere.com to <custom domain> and when I visit it, it doesn't load. After some moments I receive a message - "Error code: 504-loadbalancer". The app used to work. The code I use to achieve the redirect is copied from https://help.pythonanywhere.com/pages/RedirectWebApp.

It's pretty embarrassing that this is failing us today because today is the soft launch of our site.

The latest from the server log:

2023-02-27 18:40:49 announcing my loyalty to the Emperor...
2023-02-27 18:41:10 announcing my loyalty to the Emperor...

The latest from the error log (two days ago - not relevant):

2023-02-25 04:11:05,530: OSError: write error
2023-02-25 18:14:42,818: OSError: write error

I am also getting 504 on a site that used to work, as of 30 minutes ago. Didn't make any configuration changes at all.

Okay, it is working now. I guess PythonAnywhere had a hiccup in their system today.