An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
Hello dawidk
It looks like your Application Gateway can’t reach your Container App’s internal ingress on 10.0.3.123:8080 fast enough (or at all), so the health probe is timing out. Here are a few things to check and try:
- Verify raw connectivity Spin up a quick VM in the same VNet/subnet as your App Gateway and try:
curl -v http://10.x.x.x:8080/healthIf that fails, you know it’s a network issue (NSG, UDR or platform‐level policy blocking traffic).
Also, please review the application gateway response logs and check how long the server is taking to respond. You can also try accessing your container directly, bypassing the application gateway, to see how your backend is performing and measure its response time. And also share the error status code.
- Ensure your Container App’s internal ingress hostname matches the probe By default the internal ingress expects a specific Host header (e.g.
<app>.<env>.internal.azurecontainerapps.io). In your Backend HTTP settings, set “Override with specific domain name” to that internal FQDN. Point your probe tohttp://10.x.x.x:8080/healthbut override the hostname to the Container App’s private DNS name. - Double-check your VNet/Udr/NSG Even though you haven’t assigned NSGs, Azure Container Apps environments can have built-in network policies. Make sure there are no User-Defined Routes dropping traffic between the AGW and the ILB.
- Increase your probe timeout (if your service really is slow) Default timeout is 30 seconds. If your Flask health check sometimes takes longer, bump it to 60–90 seconds in the probe settings.
- Test end-to-end from the AGW host Use the Application Gateway’s “Connection troubleshoot” blade after you fix the above to confirm “Reachable.” Hope that helps you get your backend marked Healthy!
Check the below reference document:
I have initiated a private message. Please check it and provide the necessary information so we can discuss further on your concern.
Hope the above answer helps! Please let us know do you have any further queries.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.