Application Gateway returning 403

Gregory Smith 20 Reputation points
2023-08-31T02:13:57.36+00:00

I have a container app env setup with 2 container apps setup.

I have an Application Gateway in front of them with a listener rule with path based routing to both in their own backend pool.

The idea is to have a single rule as the "catch all" and then path based routing to route to the other backends, but even though the insights of the application gateway shows as healthy, anytime I hit the public endpoint, I get a 403. I can verify that each of the container apps is responding when hit directly, but the Application gateway just sends back 403s.

(I'm trying to port an existing ECS Fargate application from AWS over to Azure, so some of this is slightly different if it's a simple config that I missed)

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,064 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
415 questions
{count} votes

Accepted answer
  1. msrini-MSFT 9,281 Reputation points Microsoft Employee
    2023-09-02T04:30:51.7766667+00:00

    Hi,

    403 is a client side error. If you are able to see that 403 is sent by Application Gateway, that means your backend is responding with 403. To understand why it responds with this 403, I would like the following info from your end:

    1. Fiddler tracer when you access your site via Application Gateway
    2. Screenshots of your Application Gateway settings - Probe, HTTP Settings, Rule, Listener, Backend Health Status

    This can help us understand how Application Gateway would be sending the request to your backend and we can figure out why your backend is responding with 403.

    Regards,

    Karthik Srinivas

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.