API Gateway 524 Response

0

I have an endpoint in API Gateway that I POST to, and most of the time it is successful. However, sometimes I'll receive status 524 in response with no message. Does anyone have any insight about this? I haven't been able to find any documentation related. Thanks!

  • May I know what is the target for your API Gateway?

  • @Manikandan yes, the target is a lambda function. if it helps, I'm using HTTP API.

preguntada hace 2 años488 visualizaciones
1 Respuesta
0

Looking for error 524, it seems it is a CloudFlare timeout error. Do you have CloudFlare in front of your API? The default timeout is defined as 100 seconds.

profile pictureAWS
EXPERTO
Uri
respondido hace 2 años
profile picture
EXPERTO
revisado hace un mes
  • hey! sorry for the delayed response. I was on PTO. I looked into it and yes we do have CloudFlare in front. Per the docs for that error, it is due to no response from AWS APIGateway within 100 seconds. Is there any reason our call to API Gateway would hang for 100+ seconds without any response? I can't find anything about that with my searching.

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