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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠