ALB to Nginx every other request fails, doesn't even make it upstream

0

I have an ALB setup that goes to an EC2 with Nginx within a VPC. Every other request to the ALB will fail with a 504 Gateway Timeout. I've looked into the access logs and it's showing -1 for the request_processing_time, but I've confirmed that the timeouts for my Nginx instance are set correctly. Also, health checks are passing throughout. Moreover, looking at the Nginx logs, and testing via netcat on the EC2 shows that the ALB doesn't even make an attempt to talk to the EC2 on every other attempt. Searching the forums has revealed other people having this problem, yet I've not found anyone that's had some resolve, anyone out there that's successfully troubleshot this?

Edited by: KingOfNuggets on Apr 8, 2020 9:27 AM

Ok, looks like the failing is happening on one specific Network Interface for the ELB. Security groups are the same on both of them, not sure what the issue is, will continue looking.

Edited by: KingOfNuggets on Apr 8, 2020 9:41 AM

질문됨 4년 전325회 조회
1개 답변
0

Ok, strange AF but what I did is created a new ALB, did all my settings the same. Tested and everything works now..

답변함 4년 전

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

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

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

관련 콘텐츠