Open
Description
Check for a solution in the Azure portal
We have a simple Azure Function that is running on a Consumption ASP. The function runs fine when initially deployed or when "poked" from the Azure Portal - but after a period of time, goes to sleep and does not wake up, even if new messages arrive in the corresponding queue.
Please provide the following:
- Timestamp: 10/4/2024 2:50 PM CST
- Function App version:
- Function App name: KermitFunctions
- Function name(s) (as appropriate): QueuePackager
- Invocation ID:
- Region: Central US
Repro steps
Provide the steps required to reproduce the problem:
- QueueTrigger function using Managed Identity and App Settings Connection information.
- Deploy function
- Add msg to queue
- Msg processes.
- Wait 20-30 minutes (AppInsights log will show several "Disposing ScriptHost" messages)
- Add msg to queue
- Msg is never processed.
Expected behavior
Expected that QueueTrigger would eventually wake up and process the incoming message.
Actual behavior
QueueTrigger never wakes up.
Known workarounds
Go to Azure Portal and view Function. It will wake up and process.