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
asked 9 months ago325 views
2 Answers
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
EXPERT
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago
  • 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
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions