- Newest
- Most votes
- Most comments
There is article about HTTP 502 errors when using ALB.
How do I troubleshoot Application Load Balancer HTTP 502 errors? https://repost.aws/knowledge-center/elb-alb-troubleshoot-502-errors
How about referring this post?
Hello.
Health Check Failures: ALB requires instances to pass health checks to route traffic to them. Make sure that the health check endpoint is correctly set up in the target group. For WordPress, it might be something as simple as / or /wp-admin. Check the health check path, protocol, port, and other parameters to ensure they are correct. Make sure the health check endpoint on the WordPress site responds with a 200 OK.
Security Groups: Ensure that the security group attached to your EC2 instance allows traffic from the ALB. Usually, this means allowing traffic from the security group that's attached to your ALB to your EC2 instance on the port your web server is listening on.
Regards, Andrii
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago