Target group says EC2 instance unhealthy but curl works

0

My ALB says my EC2 instance is unhealthy, it apparently isn't getting an OK back from the HTTPS check on /public/misc/health-check

If I SSH into my machine I can curl localhost:443/public/misc/health-check and this works. The same works on the public IP from the Elastic IP attached to this EC2 instance.

My security group has port 80 and 443 inbound allowed from all sources.

I don't understand why the health check is failing and I'm not sure where I can see more information as to why it is failing.

Edited by: Christiaan on Apr 24, 2019 8:11 AM

Edited by: Christiaan on Apr 25, 2019 6:33 AM

質問済み 5年前246ビュー
1回答
0

I managed to fix it by setting the health check to HTTP instead of HTTPS because internally from the load balancer to the instance there is no HTTPS anymore.

回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ