-
On ECS, the loadbalancer/target group can perform health checks to whatever URL etc you want on the container. I have mine set to target /health on the container. I keep getting the errors below
Because of this, the container keeps cycling as the 502 is being thrown with This is a surprise to me, as #731 shows this has come up before, but apparently /health should ignore this check? Or is it a regression? Note: the AWS loadbalancers don't send the Host header, they just use the IP of the host running container, is that a problem? I have made sure to set all the relevant params as environment variables - I can confirm that the IPs used by the Loadbalancer should be allowed:
Is it because the request is just |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
My bad - the route is /health/alive (or /health/ready)! I was using / and getting the error, which led me to the PR/issue above, where it was /health, but which doesn't work by itself either. In the end, I used /health/ready as the best indication of a 'healthy' Hydra. |
Beta Was this translation helpful? Give feedback.
My bad - the route is /health/alive (or /health/ready)! I was using / and getting the error, which led me to the PR/issue above, where it was /health, but which doesn't work by itself either. In the end, I used /health/ready as the best indication of a 'healthy' Hydra.