Intermittent 403 Forbidden Error on Azure Function App (Linux Plan, Private Endpoint, Premium V3)
Oriol Trujillo
0
Reputation points
I'm experiencing an intermittent 403 Forbidden error on my Azure Function App, and I'm hoping someone can help me troubleshoot this issue.
- The Function App usually works fine, but occasionally it becomes inaccessible for a specific browser session.
- When this happens, I get a 403 Forbidden error (Azure blue screen) in one browser session, while at the same time, the same request works fine from Incognito mode or another browser (check out the screenshot )
Clearing cookies in the original browser session fixes the issue.
The issue does not seem related to the function's execution, as the API is still accessible from other sessions.
My setup:
- Azure Function App running on a Linux Plan (Premium v3, P0V3).
- Inbound traffic configuration:
- Public network access: Disabled
- Private endpoints: 1 private endpoint
- Inbound addresses: 10.5.11.6
- Optional inbound services: Azure Front Door (enabled)
- Outbound traffic configuration:
- Virtual network integration: Enabled (VNET-PIA-PROD/SNET-PIA-PROD-FUNCTIONS)
- Hybrid connections: Not configured
- Outbound DNS: Inherited (from virtual network)
- Outbound addresses: A set of Azure IPs (listed in screenshot)
- Integration subnet configuration:
- NAT gateway: Not configured
- Network security group: Configured (NSG-PIA-BASE )
- User-defined route: Configured (ROUTE-PIA-BASE)
What could be causing session-specific 403 Forbidden errors when the same API works in Incognito mode or another browser at the same time?
Would really appreciate any insights! Thanks in advance people 🚀
Sign in to answer