1 Answer
- Newest
- Most votes
- Most comments
1
Two possibilities:
If you're running a load balancer then it will return a 502 error to the client if the instance(s) in your target group(s) are not available.
If you're running a single instance then a 502 error means that you've connected successfully to the instance but the web server software (Apache, IIS, etc) is not configured correctly. In this case, if it is intermittent then there is some issue on the instance itself. Check the log files and see what is happening.
Relevant content
- asked a year ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago