Random 502 errors

My rails application seems to experience the 502 page randomly. Looking in the logs around that time, I see nothing wrong. I migrated this application from Heroku and didn’t seem to have these issues, so I’m assuming I’ve configured something wrong. There are no issues reported in the events tab either.

What do I need to look at to troubleshoot this?

Hi Travis,
I’m not sure if this is the right direction, but try to find out if your server takes long time to respond for requests.

We had similar problem when we’ve had lot of non-optimized SQL queries that delayed the responses.