PythonAnywhere Forums

Error code: 504-loadbalancer

Something went wrong :-( This website is hosted by PythonAnywhere, an online hosting environment. Something went wrong while trying to load it; please try again later.

Please help!!!

If this is your PythonAnywhere-hosted site, the problem is likely to be that it's taking several minutes to respond when requests come in, at least for this particular URL. Check your site's server and error logs for any messages — you can view them from the Web tab inside PythonAnywhere.

If there's nothing in the logs, and you're sure your site is OK, and there's no reason it would be taking a long time to respond, then it might be a problem on our side. Drop us a line at support@pythonanywhere.com, in the forums, or using the "Send feedback" link on the site, quoting the error code below.

Error code: 504-loadbalancer

Instrument your code with some logging so that you can work out where the time is being spent.