VibeDict

🌐The middle server got no answer (502)

What you'll see
502 Bad Gateway

The server in front of your site asked the server behind it (your app), but didn't get a proper answer.

🤔 Why does it happen?

  • Your app server is off, or it stopped while starting up
  • The server code hit an error and couldn't answer
  • An outside service is having a short outage

🔧 Try this

  1. Check your hosting service's logs to see why the app stopped
  2. Try again in a moment to see whether it's a temporary problem
  3. Try undoing recently changed code or environment variables

🤖 Ask your AI like this

I get 502 Bad Gateway on my deployed site. The server logs are below. Please find why the app stopped and fix it. [Paste the server logs here]

Replace the [ ] parts with your own situation, and paste the error with a few extra lines before and after it.

Related terms

Other errors in this group