Frontdoor Health probe throws 404 with application gateway
Hi there,
I've been facing an issue with FrontDoor health probe and the application gateway that I'm unable to find a solution to. I have the following architecture.
- Frontdoor has a few routes and origin groups with two origins configured with each origin pointing to IP addresses of AGW 1 and AGW 2. AGW 1 has a priority of 1 while AGW 2 has a priority of 2.
- The origin host headers of origins point to some domains and not the IP of the application gateway. This has been done for AGW to understand and route requests to appropriate applications on AKS.
- AGW has been connected to AKS via ingress controllers and health probes are also configured.
- Both health probes are configured with the same path and HTTP method.
With the context set, I'll come to the problem I'm facing. The health probes from Frontdoor have been only throwing a 404
status code even if the probes configured with AGW show a status of healthy for all applications. The SampleSize
is configured to 4
and SuccessfulSampleSize
is configured to 4
to avoid false positives.
The status code for health probes from frontdoor was viewed from the FrontdoorHealthProbeLogs
.
Any help would be greatly appreciated, thanks!