Outbound requests from Azure Function "Faulted"

Mikael Nilsson 5 Reputation points
2025-09-05T09:08:58.0866667+00:00

Hi,

Starting from midnight between 2025-09-03 and 2025-09-04, outgoing requests from our Azure functions have been reporting resultCode "Faulted" with exceptions like these "System.Net.Http.HttpRequestException: Resource temporarily unavailable (oauth2.googleapis.com:443) ---> System.Net.Sockets.SocketException (11): Resource temporarily unavailable"

The http requests useally returns after 10s, hinting about some kind of timeout. It's not only oauth2.googleapis.com, our own azure hosted domains are also effected together with graph.microsoft.com and many others.

We've seen that "System" updated our appservices and functions around the same time that the problem occured (~2025-09-04 00:00 UTC) adding "RouteGeoCapacityClientTrafficToV2" and "RouteOperationClientTrafficToV2" to the "inFlightFeatures" array.

Användarens bild

Användarens bild

Användarens bild

(timezone in the above image is in CEST, UTC+2)

Användarens bild

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
{count} votes

1 answer

Sort by: Most helpful
  1. Mikael Nilsson 5 Reputation points
    2025-10-07T11:31:20.6133333+00:00

    We've had some progress in this issue with the help of Azure Support, but we've not found out what caused it, starting from the 4th of September. We've checked our own data exensively and nothing has changed from our end. For us the only possible conclusion is that something has changed with the consumption and flex consumption plans.

    The issue for us is SNAT Port Exhaustion. We've seen improvements after making sure that we're using .NETs IHttpClientFactory everywhere, but we were still having some issues until we migrated from flex consumption to an app service plan. We believe that this is load-related and not something we can change without impacting our customers.

    We've reached the conclusion that this change is permanent and that the consumption and flex consumption in its standard form does not fit our use case any longer.

    Our next step is to explore the option of using a NAT Gateway.


Your answer

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