AWS应用程序负载平衡器503 ERRRO
我有一个为AWS ECS配置的应用程序负载平衡器。健康检查端点效果很好,我可以200
响应,但是对于任何其他端点,负载平衡器正在返回此响应:
<html>
<head>
<title>503 Service Temporarily Unavailable</title>
</head>
<body>
<center>
<h1>503 Service Temporarily Unavailable</h1>
</center>
</body>
</html>
所有其他看过的帖子都讨论了健康检查不起作用的原因问题,但对我而言,健康检查的工作原理非常完美,我可以看到消息击中日志中的容器。知道为什么我会为其他端poitn遇到这个错误吗?
I have an Application load balancer configured for AWS ECS. The health check endpoint works fine and I can the 200
response but for any other endpoint the load balancer is returning this response:
<html>
<head>
<title>503 Service Temporarily Unavailable</title>
</head>
<body>
<center>
<h1>503 Service Temporarily Unavailable</h1>
</center>
</body>
</html>
All the other posts that have seen talk about health check not working as the cause of the issue but for me the health checks work perfectly find and I can see the message hitting the containers in the logs. Any idea why I am getting this error for other endpoitns?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查交通端口和健康检查端口是否相同。
如果您在“健康检查设置”中配置了正确的端口,但我可以看到这种情况发生,但是为将实际流量发送到容器的错误端口。
Check that the traffic port and the health check port are the same.
I can see this happening if you have the correct port configured in the health check settings, but the wrong port configured for sending actual traffic to the container.