[英]Azure WAF or Traffic Manager returning 502 when 503 is present
We have a web API server that sits behind Azure WAF and Traffic manager and everything is working fine except when the API returns 503 for maintenance and here are the steps to reproduce the issue.我们有一个 web API 服务器,位于 Azure WAF 和流量管理器后面,一切正常,除非 API 返回 503 进行维护,这里是重现问题的步骤。
We do not want Azure Gateway to return 502 during the maintenance window. How can I make it so that the Gateway does not return 502?我们不希望Azure网关在window维护期间返回502,如何才能让网关不返回502呢?
Seems like below is your traffic flow.好像下面是您的流量。
Client -> Traffic Manager -> Application Geteway -> API客户端 -> 流量管理器 -> 应用程序 Geteway -> API
During the API maintenance window, it returns HTTP 503. The application gateway probing is marking the backend server as unhealthy as the default HTTP status range doesn't include 503. You change the application gateway and Traffic Manager custom probe HTTP status to 200-503.在 API 维护 window 期间,它返回 HTTP 503。应用程序网关探测将后端服务器标记为不健康,因为默认的 HTTP 状态范围不包括 503。您将应用程序网关和流量管理器自定义探测 8827167211 508 状态更改为 30 5088 .
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.