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
已提問 10 個月前檢視次數 453 次
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
專家
已回答 10 個月前
profile picture
專家
已審閱 10 個月前
  • 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
已回答 10 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南