Comments (7)
@pilarodriguez you should be able to create a ticket via the portal using the "Support + Troubleshooting" tab in your Function App
from azure-functions-dotnet-worker.
- What specific error are you getting? Do you see any errors in your app insights tables?
- Did you try the "Diagnose and solve problems" blade in azure portal to see if you can find more information about the failure?
- If you try another deployment method, the app works?
from azure-functions-dotnet-worker.
- I don't get any errors. Application Insights is empty.
- "Diagnose and solve problems" blade is disabled. That feature is not available in Azure China portal
- I've tried deploying with yaml using
AzureFunctionApp
task andAzureRmWebAppDeployment
. I get the same result with both
We are using durable functions. When the function app is started, it should create some tables and blobs that are used internally by the durable functions. But those are not created. It looks like the function is not starting at all
from azure-functions-dotnet-worker.
Regerding the issue with the ".NET version" setting
This finding applies to both web applications and functions running on Windows.
A recent configuration quirk has emerged with the setup of .NET applications in China, specifically affecting the managedRuntimeVersion in the applicationhost.config file. This setting is critical for dictating the .NET Framework version an application uses, especially important for legacy ASP.NET applications not targeting .NET Core or the newer unified .NET platform.
Key Points:
ASP.NET V3.5 uses "v2.0".
Post-ASP.NET V3.5 applications (including .NET 6/7) default to "v4.0".
Anomaly in China: For .NET 8 applications, the managedRuntimeVersion is mistakenly set to "v8.0", a non-existent version causing IIS to fail with event id 2294 (The worker process failed to pre-load .Net Runtime version).
Implications and Workarounds:
This configuration error, specific to China, prevents IIS from starting properly for .NET 8 applications due to the unrecognized runtime version. Interestingly, this issue doesn't affect newer .NET platforms as managedRuntimeVersion isnβt used there.
A workaround involves setting an earlier .NET version (like .NET 6 or 7) for deployments in China to bypass the startup error. Meanwhile, in regions like Sweden Central, setting managedRuntimeVersion to v4.0 for .NET 8 applications avoids this issue entirely, indicating a region-specific bug rather than a broader compatibility problem.
.NET 8 runtime is installed in China and web applications and functions seems to run fine using that version.
Conclusion:
This incident highlights the critical role of correct configuration settings and how regional differences can impact the deployment of .NET applications. Addressing this bug is essential for seamless application performance across all regions, with a temporary shift to earlier .NET versions serving as a viable stopgap for those affected.
from azure-functions-dotnet-worker.
@pilarodriguez This may need deeper investigation. Would you be able to create a support ticket for this?
from azure-functions-dotnet-worker.
@kshyju Where should I create the support ticket?
from azure-functions-dotnet-worker.
Please open a ticket as suggested and the team will be happy to investigate.
from azure-functions-dotnet-worker.
Related Issues (20)
- Converting functions from .net6.0 inprocess to .net*8.0 inprocess linux HOT 1
- Duplicate Logs in Application Insights HOT 5
- Update Microsoft.Azure.Functions.Worker.Sdk so the auto-generated WorkerExtensions.csproj file contains an up-to-date Azure.Core HOT 3
- Prejit support on FunctionsNetHost
- Azure pubsub event called with Exception of InvalidOperation after upgrading to .NET 8
- Ensure content root path is correct when running via Native host HOT 1
- dotnet publish /t:PublishContainer on linux platform does not publish some dlls to a docker image HOT 2
- Activity.Current.AddTag is not added to CustomProperties of request telemetry in app insights HOT 2
- Worker Extensions Internal Project Build Failure With Dependency Downgrade issue NU1605, while building Azure Functions DotNet 8 Isolated Model HOT 3
- Update Microsoft.Azure.Functions.Worker.Sdk to latest version of Microsoft.Azure.Functions.Worker.Extensions.Storage.Queues to address CVE-2024-35255 HOT 1
- Behavioural changes when using request body as the request content for a chained http request HOT 1
- Updated behavior for `dotnet run`
- [Throughput Testing] .NET 8 in-proc Linux apps HOT 3
- KafkaEventData support for isolated extension
- NU1102: Unable to find package Microsoft.Azure.Functions.Worker.Core with version (>= 1.19.0) HOT 5
- Bug: Null Result Issue with SignalRTrigger Functions in .NET8 Upgrade HOT 5
- No job functions found when deployed to app service plan function app HOT 3
- .Net 8 isolated function app with Eventhub trigger - Serialization issue when message is published via nodejs with extra properties.
- DefaultMethodInfoLocator doesn't cater for overloaded methods
- Add User secrets by default in development environment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-functions-dotnet-worker.