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.

回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ