Route 53 Health Checks works once and then switches to Failed immediately

0

Hello,

I am trying to implement a health check for a custom application.
The first request that the health check performs will be considered "OK", but every request after that will say "Failed".
I do not really have an explanation, why the health check behaves that way.
The Service is online and i can also get valid 200 return codes via curl without any problems.

Any ideas what might be happening here?
Is there any way to do some additional troubleshooting?

已提问 4 年前557 查看次数
4 回答
0

Hi,

The topic "How Amazon Route 53 determines whether a health check is healthy" in the Route 53 Developer Guide says:

"Route 53 considers a new health check to be healthy until there's enough data to determine the actual status, healthy or unhealthy."

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html

If you post your domain name, I'll take a look at your DNS configuration.

Scott

专家
已回答 4 年前
0

The Health Check is supposed to check if a service that runs under port 3272 responds to HTTP requests.

The port 3272 is open to the public and I can curl it from my external computer, but the route 53 health check fails:

curl -I 3.80.197.207:3272/connect
HTTP/1.1 200 OK
Content-Length: 300
Content-Type: Json
Server: CockpitMain Microsoft-HTTPAPI/2.0
Date: Wed, 15 Apr 2020 15:41:16 GMT

Edited by: hyperdanny on Apr 15, 2020 8:35 AM

已回答 4 年前
0

I have done more testing and I think my application can not keep up with the timeout time of 2 secs.
My application needs at least 5 seconds.

Is there a way to get this changed?

已回答 4 年前
0

Hi,

Can you change to TCP health checks? For HTTP and HTTPS health checks, Route 53 must establish a connection within four seconds. For TCP health checks, it's 10 seconds. For details, see "How Route 53 determines the status of health checks that monitor an endpoint":

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html#dns-failover-determining-health-of-endpoints-monitor-endpoint

Scott

专家
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则