I am getting 504 for only one endpoint in my service. All other endpoints are working without any issue. My rules are as follows:
IF THEN
Host is example.com Forward to:
Path is /abc?/* <load balancer URL1>
IF THEN
Host is example.com Forward to:
Path is /* <load balancer URL1>
The endpoint works locally so there is no issue with the code.
- The target groups are healthy.
- I also changed the timeout to 120s but it still returns 504. Someone asked me to hit
<alb-dns>/endpoint
but then I found out that the rules are specifically forexample.com
and hence I was getting 404 which apparently is not an issue.
Can someone help!