503 Service Temporarily Unavailable

0

Randomly (some times) when I send a post to the service I get this 503, the service is light, I don't believe it's a performance problem, probably something related to the network, but I don't know what. I'm using an alb on top of an ec2, does anyone have any troubleshooting.

~~~~this return isn't from my microservice running on ec2~~~~

<html>
      <head>
            <title>503 Service Temporarily Unavailable</title>
      </head>
      <body>
            <center>
                  <h1>503 Service Temporarily Unavailable</h1>
            </center>
      </body>
</html>
asked 2 years ago2906 views
2 Answers
0
Accepted Answer

My bad ... it was health check ... (Unfortunately it is not possible to delete this question)

answered 2 years ago
0

Hello,

It is likely that the error message you are receiving is being sent by the Application Load Balancer.

Generally, 503 Service Unavailable server error response code indicates that the server is not ready to handle the request.

In your case, it could mean that the targets behind the ALB are either not responding to the requests, or the ALB does not have registered targets.

You can follow this ALB troubleshooting guide to figure out the problem.

Enabling access logs for your ALB by following this guide can help you figure out the reasons for the failure.

profile pictureAWS
SUPPORT ENGINEER
answered 2 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