Forums

Error code: 502-backend keeps occurring, but there are no issues in the error or server logs.

Yesterday, my application was working fine, but after some changes today it will not launch. I keep getting the 502 backend error and was instructed to look at my logs. There have been no new entries in the error or server logs in the past hour, but the 502 issue remains. I'm not really sure where to begin looking for the problem.

It looks like the code that runs your site is trying to start up, but is failing before it's able to fully start running. Do you have a Flask app.run somewhere in the code, or something else that might be blocking on startup?