Share via

Python function suddenly stopped working without any code or resource changes

Dennis Admin 0 Reputation points
2026-05-07T09:24:27.5966667+00:00

This durable function app runs on a Flex Consumption plan. The troubleshooting tool return the error below. There were no changes made to the code or resources. Also, the same issue occurs to the functions with the same code base in 2 other resource groups. Suspect there is a platform compatibility issue that started today. Just need help pinpointing where the compatibility issue is.

Exception Type Total Occurrences Exception Message Latest Timestamp
[Tag=''] Process reporting unhealthy: Unhealthy. Health check en 21 [Tag=''] Process reporting unhealthy: Unhealthy. Health check entries are {'azure.functions.web_host.lifecycle':{'status':'Healthy','description':null},'azure.functions.script_host.lifecycle':{'status':'Unhealthy','description':'No script host available','errorCode':'NoScriptHost'},'azure.functions.webjobs.storage':{'status':'Healthy','description':null}} 5/7/2026 8:22:07 AM
[Tag=''] Process reporting unhealthy: Unhealthy. Health check en 21 [Tag=''] Process reporting unhealthy: Unhealthy. Health check entries are {'azure.functions.web_host.lifecycle':{'status':'Healthy','description':null},'azure.functions.script_host.lifecycle':{'status':'Unhealthy','description':'No script host available','errorCode':'NoScriptHost'},'azure.functions.webjobs.storage':{'status':'Healthy','description':null}} 5/7/2026 8:22:07 AM
[Tag='azure.functions.readiness'] Process reporting unhealthy: U 15 [Tag='azure.functions.readiness'] Process reporting unhealthy: Unhealthy. Health check entries are {'azure.functions.script_host.lifecycle':{'status':'Unhealthy','description':'No script host available','errorCode':'NoScriptHost'}} 5/7/2026 8:22:07 AM
Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


Answer recommended by moderator

Dennis Admin 0 Reputation points
2026-05-17T23:42:38.1866667+00:00

Hi @Pravallika KV

The function apps starting working again last Thursday afternoon and seem to have remain stable over the weekend.

You are welcome to close this case. Thanks for your assistance.

Regards

Dennis

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Alex Burlachenko 21,805 Reputation points MVP Volunteer Moderator
    2026-05-18T08:45:01.4533333+00:00

    Dennis Admin hi & thanks for join me here at Q&A portal,

    this smells like Functions host startup failure, not ur Durable code directly. web_host.lifecycle = Healthy and webjobs.storage = Healthy, but script_host.lifecycle = Unhealthy / NoScriptHost means the platform container is up and storage is reachable, but the Python worker/script host never loaded the app. Since the same code base broke in 3 resource groups on same day, I would suspect runtime/platform image update, Python version mismatch, dependency restore/import failure, or Flex Consumption compatibility regression. Check App Insights traces around startup for Host startup, Worker failed to start, ModuleNotFoundError, ImportError, language worker, or python. Also verify app settings: FUNCTIONS_WORKER_RUNTIME=python, Python version, AzureWebJobsStorage, Durable extension bundle, and package/deployment mode. Quick isolation: redeploy the last known good package, restart app, and temporarily pin/change Python runtime version if possible. If startup logs show no app-level import error and all 3 apps fail identically, open Azure Functions support with UTC timestamp and mention Flex Consumption + Python + NoScriptHost started without code/resource changes across multiple apps.

    host is alive but script host does not start, look at startup/import/runtime logs, likely platform/runtime regression if replicated across 3 apps.

    rgds,

    Alex

    &

    If my answer was helpful pls mark it and additional thx if u follow me at Q&A portal
    

    Was this answer helpful?


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.