C
C#8mo 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
Saber8mo 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
Hrolgar8mo 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
Accord8mo 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
More Posts
❔ Working with string builderI wonder if there is a way that I can avoid passing the string to be formatted in the AppendFormat m❔ Is my Unity + VS setup correctly? (NEWBIE HELP:C)I am NEW and I mean NEW to the coding world as well as computers and I was interested in making a ga❔ factorial using equationSo i am stuck on this task where i have to also use equation for example 1*1 =1 1*2=2 2*3=6 and i sWeird behaviour if I included code after File.ExistsSo the EvaluateDbFile function is checking if a db file exists, if I leave it as it is now it evalua❔ Big Problem in C# plz someone helpso i'm new to coding (just so you know so if you say something to advanced i will maybe not know wha❔ How do I name an object after a variable in that object?I have a class with a variable called "name", how would i make "name" the name of the object?❔ Hi for some reason this exercise on indexing isnt clicking for me can someone guide me this?1-im used to properties that have a name this property has no name so i guess it refers to the class❔ Limit incremental generator's RegisterPostInitializationOutput() call to one specific assemblyIs it possible to add an attribute declaration code to a single assembly and let the code generation❔ What happening in background when i return Task.CompletedTask?I just wonder, what c# doing if i have async method returning Task.completedTask? does it try to syn✅ Razor pages, not reaching OnPost methodI have made a <form method="post"> and within it i have a <button type="submit" >. when i click on