If my origin server is behind a load balancer, how do I troubleshoot 502 errors?

Responsive Ad Header

Question

Grade: Education Subject: Support
If my origin server is behind a load balancer, how do I troubleshoot 502 errors?
Asked by:
80 Viewed 80 Answers

Answer (80)

Best Answer
(333)
Check the load balancer's health checks to ensure it's correctly identifying healthy instances. Verify the load balancer's configuration, including target groups and listener rules. Examine the load balancer's access logs for errors and latency metrics. Also, ensure the load balancer's security group allows traffic from CloudFront.