C
C#13mo ago
Hrolgar

❔ Azure Linux Functions, dotnet isolated

I have an issue with my Azure Linux functions, they are made like this in terraform: https://pastebin.com/SJBK0EVc Problem I get is that when I upload code to one of them I keep getting these errors: Exceeded language worker restart retry count for runtime:dotnet-isolated. Shutting down and proactively recycling the Functions Host to recover https://aka.ms/dotnet/app-launch-failed Failed to start a new language worker for runtime: dotnet-isolated. To install missing framework, download: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=debian.11-x64 I am using dotnet 7, and my functions are supposed to be dotnet-isolated. Since this timesout and kills my functions non stop, I am hoping there is any suggestions to fix this. Any suggestions?
Pastebin
Create 4 Function Appsresource "azurerm_linux_function_app" "func...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
3 Replies
Saber
Saber13mo ago
I don't see the application_stack block defined in that terraform, that may be needed to tell the function its net7. https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_function_app
Hrolgar
HrolgarOP13mo ago
I didn't know that needed to be defined. is it as simple as application_stack {dotnet_version = 7.0 }? Cheers @IEntityTypeConfiguration<Saber>, that issue really had me stuck a while there. Finally got the functions purring again now! 😄
Accord
Accord13mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server