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년 전2985회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠