Health checks failed with these code :[404]

0

Application load balancer For one az it's showing healthy For other az it's showing below error Health checks failed with these code :[404]

asked 2 years ago10.8K views
3 Answers
2

Hi, this error probably means that the processing instances (EC2, ECS / Fargate, etc.) responding to health check in each AZ are not configured strictly identically. You should compare the configs of those instances in different AZs in all details to see where the discrepancy is.

profile pictureAWS
EXPERT
answered 2 years ago
profile picture
EXPERT
reviewed 2 years ago
1

Hi.This docunent will help you to identify cause of failing healthcheck in other az.

https://repost.aws/knowledge-center/elb-fix-failing-health-checks-alb

profile picture
EXPERT
answered 2 years ago
0
Accepted Answer

404 is page not found. What ever your target group has configured for health check is finding the page in all the good az’s but the page doesn’t exist on the end machine that’s returning 404.

As suggested your instance is setup differently. Check it’s running same configs on the webserver, all the pages exist, the file system has the correct permissions etc.

This is a host issue and not alb issue.

profile picture
EXPERT
answered 2 years ago
profile picture
EXPERT
reviewed 2 years ago
  • Does this mean that every application I build should have a health check endpoint?

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