Hi @Rishikesh S Darwade ,
The error "Did not find any initialized language workers"
suggests that there may be an issue with the function app not being able to properly initialize the language workers (in this case, for .NET 8 Isolated).
Possible Causes & Solutions:
- Worker Initialization Failure: The isolated model requires a different worker setup. It might be failing to start the required .NET worker for your function. This could happen due to missing dependencies, incorrect configuration, or insufficient resources.
- Solution: Verify that all the required dependencies are correctly installed and configured in the function app. Ensure that the .NET 8 SDK and runtime are available in the environment.
- Function App Configuration:
- Double-check the settings in the
host.json
file for the isolated worker, especially for version compatibility. Ensure you are using the correct settings for .NET 8 Isolated. - Example of
host.json
configuration for Isolated Worker:
- Double-check the settings in the
- Cold Start Issues: The isolated model may cause the application to experience cold starts or delayed initialization due to the isolated worker setup. You can reduce cold starts by keeping the app "warm" or adjusting the scale settings.
- Solution: Enable Always On if using a Premium or App Service plan. This prevents your function app from going idle and might help mitigate cold start issues.
For your reference, please review the following documentations for further clarification:
Supported languages in Azure Functions | Microsoft Learn
I hope this answers your query! Let me know if you require any additional help or clarification.