-
Notifications
You must be signed in to change notification settings - Fork 464
Description
Recently, for several of our Linux Consumption Plan Function Apps, requests that are made after a quiet period (i.e. what presumably would be a cold start), often result in an immediate 404. Immediate subsequent requests also respond with the 404 nginx page. Then after several seconds (i.e. no longer cold), the function behaves as normal and reaches the actual function app.
This appears to be similar behavior as was described in #5086, however it seems it may be occurring again. I also noticed this recent question on stackoverflow which I am assuming is related.
Investigative information
Here is just one of the scenarios, but this has been happening for 3+ of our function apps (all linux consumption). Does not happen all of the time, but often enough that we can't take apps to production.
- Function App version: 3.0.15828.0
- Invocation ID (of the invocation that actually reached the function, the 404s don't reach the function): 3c7651ca-4560-47c5-905c-e2e6a2ca1c7e
- Timestamp: 2021-06-01T15:29:06Z
- Region: East US
I have also noticed that even going to the root domain of the function app (that is supposed to show the "Your function is up and running page") does not show that page and instead shows the page as if the function is down for cold starts. Unsure if that is typical or not.
Expected behavior
Response from my function code, that may take a little longer (few seconds) since it is a cold start.
Actual behavior
Immediate 404 response, no invocation made to my function.
Related information
- Python
- HTTP bindings
- Linux standard consumption plan