Random Error 500 after idle time

Sometimes after a while of idleness and I reload the app I get an error 500. The Problem though is that there are no errors that would show up in the logs. If I hit the refresh button everything is back to normal again.
My guess is that there is something wrong with the DB connection, but why? and how would I figure this out?

Update: It’s actually not random. After like 15 minutes of not using the app the first request is always Error 500, but right after a refresh the site shows up just fine.

Is your service on the free tier? Free tier services scale to zero after 15 minutes of inactivity.

Hi

No it was not that’s the strange thing

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.