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년 전703회 조회
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년 전

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

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

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

관련 콘텐츠