Forums

Reload Problem: Error code: 504

Reload the application does not seem to work properly in my case.I have modified my virtualenv and then the entire application stopped working. I got the error Error code: 504-loadbalancer and when I tried to fix it the new changes have not be reloaded. It also takes a lot of time to reload and by the end I receive the following message:

There was a problem. If this keeps happening, please send us feedback.

Am I missing something crucial?

Thanks

A 504 error is a timeout -- normally it means that your site took more than a couple of minutes to start up. Are you doing any large computations in the startup code? One common cause is with Flask apps that do app.run() when imported -- more information about that here.