ALB运行状况无法在端口80上显示不正常 [英] ALB health is failing showing unhealthy on port 80
本文介绍了ALB运行状况无法在端口80上显示不正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有2个连接到ALB的应用程序服务器.端口80上的运行状况检查失败,并返回不正常状态.
I have 2 app servers attached to ALB. The health check on port 80 is failing and returning unhealthy.
下面是我的监听器配置.
Below is my listener configuration.
这是目标组配置.健康检查路径为/
And here is the target group configuration. health check path is /
健康检查设置
推荐答案
基于评论和聊天讨论.
此问题是由于ALB健康检查中使用的错误的路径
造成的.
The issue was due to incorrect Path
used in the ALB health check.
解决方案是将 Path
从/
替换为正确的形式,其正确形式为/api/****
.
The solution was to replace the Path
from /
to the correct one which has general form of /api/****
.
这篇关于ALB运行状况无法在端口80上显示不正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文