You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are the results of some back and forth between App Service support and product group, the result of which was the recommendation to create an issue here. If it's helpful, the tracking id was #2411050010001940.
The Warmup function returns status code 499, but otherwise seems to function properly. Some requests return 200s as expected. This seems unexpected behavior and makes alerting for errors (> 400, for example) more complicated. It seems as if the host is only able to hang on to the connection for an unpredictable amount of time, resulting in the inconsistency. I can repro this relatively easily on many of my team's functions. I am including a recent one as an example.
Investigative information
Please provide the following:
Timestamp: 2025-01-17T17:29:45.7229175Z
Function App version: dotnet-isolated net8, sdk version: azurefunctions: 4.1036.3.23284
Function App name: mcg-consentaudit-prod1
Function name(s) (as appropriate): Warmup
Invocation ID: |948ddf68-4c7445590ad3792c.
Region: East US
These are from Application Insights.
Repro steps
Provide the steps required to reproduce the problem:
Create a WarmupTrigger function on your Function App.
Observe status codes when deployed and running.
Expected behavior
200 on successful Warmup completion.
Actual behavior
499 on successful (Success: True) Warmup completion.
Known workarounds
N/A, function runtime does not appear impaired.
Related information
We were able to address and eliminate the following concerns during research.
these are NOT consecutive invocations, only one Warmup function is occurring per startup per instance
the Warmup api is being invoked only by the host, not via postman or another client
we are following the guidance in the MS Learn Warmup trigger article exactly
These additional details are from the Product Group directly.
Application Insights is accurately reporting that the client is disconnecting, as confirmed by front-end role logs. While the Function Host may not immediately detect the client disconnect and attempts to return a 200-status code, this behavior does not appear to impact the application.
PG suggested creating a GitHub issue for the Function Host to report this behavior for tracking and potential improvements. However, they confirmed that this behavior is functioning as designed and does not negatively impact the application.
The text was updated successfully, but these errors were encountered:
These are the results of some back and forth between App Service support and product group, the result of which was the recommendation to create an issue here. If it's helpful, the tracking id was #2411050010001940.
The Warmup function returns status code 499, but otherwise seems to function properly. Some requests return 200s as expected. This seems unexpected behavior and makes alerting for errors (> 400, for example) more complicated. It seems as if the host is only able to hang on to the connection for an unpredictable amount of time, resulting in the inconsistency. I can repro this relatively easily on many of my team's functions. I am including a recent one as an example.
Investigative information
Please provide the following:
These are from Application Insights.
Repro steps
Provide the steps required to reproduce the problem:
Expected behavior
200 on successful Warmup completion.
Actual behavior
499 on successful (Success: True) Warmup completion.
Known workarounds
N/A, function runtime does not appear impaired.
Related information
We were able to address and eliminate the following concerns during research.
These additional details are from the Product Group directly.
The text was updated successfully, but these errors were encountered: