I’m having an issue running durable functions in Azure. The durable functions run correctly on my local computer, but for some reason is not running on Azure.
I’ve followed the steps in the Python Durable Functions quickstart to create a "hello world" durable function, test the function locally, and deploy the function app to Azure. However, I’m receiving a 500 Internal Server Error, 502 Bad Gateway, or 504 Gateway Time-out when sending an HTTP request to the URL endpoint.
Python durable function app configs:
- Local Python version: Python 3.8.5
- Durable functions runtime stack/Python version: Python 3.8
- Durable functions runtime version: ~3
- Durable functions host.json extensionBundles version: V1 or [1.*, 2.0.0)
- App Service plan operating system: Linux
Thanks!
Update and solution April 27, 2021:
The root cause of the issue appears to be that the App Service Plan is oversubscribed with more than 31 Apps, this is resulting in 100% CPU consumption and greater than 80% utilization.
To solve this, reduce the number of Apps currently running on the App Service Plan, as well as scale up the current App Service Plan or create additional App Service Plan.