I have setup an ALB Ingress that points to single Nodeport service. Everything works fine and traffic is routed from the ALB to my backend service as expected.
But sometimes I see Http 504 Gateway timeout error, I validated the cloud watch metrics and no latencies are observed. So it seems that backend instances or services may have closed the connection before the default idle time out (60s) of the ALB
Now my backend is a Spring Boot API deployed in EKS as a nodeport service. Can you please suggest if changing the "server.connection-timeout" to 75s is going to help?