AWS应用程序负载平衡器503 ERRRO

发布于 2025-02-06 05:44:13 字数 466 浏览 2 评论 0原文

我有一个为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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

原野 2025-02-13 05:44:13

检查交通端口和健康检查端口是否相同。

如果您在“健康检查设置”中配置了正确的端口,但我可以看到这种情况发生,但是为将实际流量发送到容器的错误端口。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文