Getting Healthcheck failure for Target group with error code 403

0

We are trying to convert http to https using Application Load Balancer, on Unix machine. We have an instance that's running healthy. Under Load Balancer target group, we are getting healthcheck error. Route 53 responds fine with UDP Protocall. How do we solve it?

RD
질문됨 9달 전376회 조회
2개 답변
0

Hello.
Are you placing the necessary contents in EC2 to respond to the health check path?
For example, the health check will fail if there are no files in "/var/www/html/" for the default Apache document root.
Check if a file such as "index.html" exists in the health check path.

profile picture
전문가
답변함 9달 전
profile picture
전문가
검토됨 9달 전
  • As per Riku, 403 is forbidden. Which ever page you are using as a health check is not allowed. You need a valid URL

0

Yes, we are placing necessary content onto healthcheck path. it's an HTML file /AWShealthcheck.html and when you post the url for healthcheck file, it works.

When I check my domain on www.whatsmydns.net it returns Public IP, related to the EC2 instance. When I type my domain on a browser, it adds https in the front. however, it times out.

We also created a Healthcheck using Route53 and that's also failing.

RD
답변함 9달 전

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

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

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