upstream connect error or disconnect/reset before headers. reset reason: protocol error

1

I have a service, and i want to call this service in aws throu CloudFront -> ALB -> ECS Service. This service fully functional in local environment, but only partly funcional in aws (there are endpoints that works fine). Unfortunately I have one endpoint that is not working in aws, I see that it gets called in the service it also returns 200, but from cloudfront, i get 502 with response body (upstream connect error or disconnect/reset before headers. reset reason: protocol error)

My configuration is: The ECSService is configured for service connect. ALB as origin for CloudFront is only HTTP.

The errored endpoint is a POST with request body and two request param, and it returns json object.

No hay respuestas

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