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>
preguntada hace 2 años2985 visualizaciones
2 Respuestas
0
Respuesta aceptada

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

respondido hace 2 años
  • Thank you for the update!

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
INGENIERO DE SOPORTE
respondido hace 2 años
  • Thank you for the guide, will help me in the future

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas