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>
已提问 2 年前2988 查看次数
2 回答
0
已接受的回答

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

已回答 2 年前
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
支持工程师
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则