Putting ALb-NLB-ALB route for requests is giving 502 for application

0

We had a primary ALB listening to all out apps mapped through R53 records. Now we have listener rule crunch as ALB doesn't support more rules above 100. So we had been proposed a solution where we can put a NLB under primary ALB and then secondary ALB under NLB. So flow will be:

Requests--->R53--->ALB1--->NLB--->ALB2--->Apps

ALB1 has a default rule which allows unmatched requests to pass through to NLB and then ultimately to ALB2 where new rules are evaluated.

Rule configuration at ALB1 is: Default rule --Forwardto-->

Rule at NLB: TCP-443 listener rule --ForwardTo--> ALB2 TG with fargate application ip

But we're seeing intermittent 502 responses on primary ALB while testing. We are not seeing any 502 logging on ALB2. So possibly NLB is ending it as we have seen multiple TArget reset count happening at NLB in metrics. Also, nothing is getting logged in application logs.

We did another testing where we directly routed traffic to ALB2 through R53, we didn't see any 502 responses there.

Any suggestion, how to go about the debugging it?

I can give more details if needed.

1回答
0

Hello,

Please refer the link: https://aws.amazon.com/premiumsupport/knowledge-center/elb-alb-troubleshoot-502-errors/ for the troubleshooting of 502 errors in detail.

profile pictureAWS
回答済み 2年前

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

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

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

関連するコンテンツ