How to solve issue: Incorrect worker runtime specified for function app (AZFD0013)?
Hi,
(I apologize if this post is placed incorrectly within the community.)
we’ve used app Start/Stop VMs during off hours – V2
(GitHub – microsoft/startstopv2-deployments)
(Start/Stop VMs during off hours – V2 – Microsoft Azure)
It worked without any issues, but 8.10 we received the notification described in the article: AZFD0013: The configured runtime does not match the worker runtime metadata found in the deployed function app artifacts. – Azure Functions | Microsoft Learn.
In the notification it was written:
We have a new Functions recommendation for startstopvm23dvt65bpvxrmw
Incorrect worker runtime specified for function app
We’ve noticed that your function app (**startstopvm23dvt65bpvxrmw**) is configured with the FUNCTIONS_WORKER_RUNTIME setting as “dotnet-isolated”, but expected value for the deployed application payload is “dotnet”. This is an unoptimized state which limits performance and may impact application reliability. To help detect this, you may now see the AZFD0013 event raised at the Warning level in your logs. This will be raised to Error level in a future update. To ensure your app can run properly, for its current payload, you should set the FUNCTIONS_WORKER_RUNTIME value to “dotnet”. You must also update any deployment automations you have, such as templates or CI/CD pipelines, so they specify the correct value as well. Please see https://aka.ms/functions-invalid-worker-runtime for more information.
If I understand correctly, our FUNCTIONS_WORKER_RUNTIME is set to “dotnet-isolated”, and we should reset it to “dotnet”
But in the GitHub documentation I found:
August 19, 2024 Start/Stop v2 has been migrated to the .NET 8 isolated worker model.
https://github.com/microsoft/startstopv2-deployments?tab=readme-ov-file#upcoming-or-recent-updates-to-startstop-v2
When I checked the application settings in Azure, I also get this notification. When I look in the configuration, there it is set as it is written in GitHub – I assume this setting is correct
When I look in the environment variables, and look for FUNCTIONS_WORKER_RUNTIME. So there is dotnet-isolated.
But I don’t know if by changing this variable, something will not work on dotnet, when the configuration is also set to .NET 8 Isolated?
Can anyone advise me on how to proceed to eliminate this problem?
Thanks for all the tips, tricks and advice
Tom
Hi, (I apologize if this post is placed incorrectly within the community.)we’ve used app Start/Stop VMs during off hours – V2(GitHub – microsoft/startstopv2-deployments)(Start/Stop VMs during off hours – V2 – Microsoft Azure)It worked without any issues, but 8.10 we received the notification described in the article: AZFD0013: The configured runtime does not match the worker runtime metadata found in the deployed function app artifacts. – Azure Functions | Microsoft Learn. In the notification it was written:We have a new Functions recommendation for startstopvm23dvt65bpvxrmw Incorrect worker runtime specified for function app We’ve noticed that your function app (**startstopvm23dvt65bpvxrmw**) is configured with the FUNCTIONS_WORKER_RUNTIME setting as “dotnet-isolated”, but expected value for the deployed application payload is “dotnet”. This is an unoptimized state which limits performance and may impact application reliability. To help detect this, you may now see the AZFD0013 event raised at the Warning level in your logs. This will be raised to Error level in a future update. To ensure your app can run properly, for its current payload, you should set the FUNCTIONS_WORKER_RUNTIME value to “dotnet”. You must also update any deployment automations you have, such as templates or CI/CD pipelines, so they specify the correct value as well. Please see https://aka.ms/functions-invalid-worker-runtime for more information. If I understand correctly, our FUNCTIONS_WORKER_RUNTIME is set to “dotnet-isolated”, and we should reset it to “dotnet”But in the GitHub documentation I found:August 19, 2024 Start/Stop v2 has been migrated to the .NET 8 isolated worker model.https://github.com/microsoft/startstopv2-deployments?tab=readme-ov-file#upcoming-or-recent-updates-to-startstop-v2 When I checked the application settings in Azure, I also get this notification. When I look in the configuration, there it is set as it is written in GitHub – I assume this setting is correct When I look in the environment variables, and look for FUNCTIONS_WORKER_RUNTIME. So there is dotnet-isolated. But I don’t know if by changing this variable, something will not work on dotnet, when the configuration is also set to .NET 8 Isolated? Can anyone advise me on how to proceed to eliminate this problem?Thanks for all the tips, tricks and adviceTom Read More