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>
gefragt vor 2 Jahren2988 Aufrufe
2 Antworten
0
Akzeptierte Antwort

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

beantwortet vor 2 Jahren
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-TECHNIKER
beantwortet vor 2 Jahren
  • Thank you for the guide, will help me in the future

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen