EC2's load balancer suddenly shows 502 Bad Gateway errors



My client's Hasura server has been running on EC2 for a while but for the past few days, we can no longer access the server.
From the front-end client-side, we are seeing the "Blocked by CORS policy" error when it tries to connect to the Hasura server, but when I tried to access the server directly on a browser, I'm seeing the "502 Bad Gateway" error.

As far as I know, nothing has changed on the code side and nothing new has been deployed.

I'm a newbie and if you can give any advice on how to troubleshoot this, it would be a great help. Thanks.

Edited by: aa-surialabs on Oct 22, 2020 4:46 PM

asked 4 years ago723 views
1 Answer

Turns out I just need to reboot the EC2 instance

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions