-
Notifications
You must be signed in to change notification settings - Fork 194
Functions do not work when using the dotnet-isolated:4-dotnet-isolated6.0
base image.
#810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
dotnet-isolated:4-dotnet-isolated6.0
base image.
I have some new information for this which you may find useful.
Now when running the container I can see the following output.
After this output, the host starts successfully. BUT when a function is triggered (in my case a Timer triggered function) I can see the following error:
|
I've got the same issue. However, it actually used to work for us. But after a redeploy, we started getting this issue. Our function isn't containerized though. So it is not only for containerized function. However, we are using .NET 6.0, dotnet-isolated and extension version 4, so it sounds a LOT like the same issue. I've tried re-deploying the whole app service, but it just comes back with the same issue. Any information would be appreciated! |
It actually seemed to sort itself out when I added |
I'm deploying with Bicep. Was working fine until I deployed it again this morning, now getting this error. |
So am I. It has worked fine previously, but stopped working for our deployments today. However, adding the above mentioned |
Unfortunately didn't solve the issue for me. Worth mentioning that I'm deploying to a Windows app service, so this isn't exclusive to app service for linux. |
Apparently it didn't solve it for me either. Every time I re-deploy the bicep files, the function dies. However, re-deploying the code seems to reset it. Not a really good solution though... |
I'm running into a similar issue. Deploying a dotnet 6.0 functions project. The Azure resource (linux app) is created using Pulumi then the code is deployed with functions CLI The problem occurs when I update the infrastructure. Redeploying the code with |
Adding @kshyju here, but we have a deployment that should be completing in the next couple of weeks that will address this issue. Will keep this open until that is done, but in the meantime, you follow the guidance in this comment |
I am experiencing the same issue, however, I am just running a What is the guidance in this case? |
I had same issue, I got it fixed by changing the linux-fx-version to DOTNET-ISOLATED|6.0 |
We are setting the linux-fx-version, which works...ish. However, re-deploying the infrastructure using Bicep causes the function to fail again until it is re-deployed |
I was able to resolve the issues on my end via this comment in issue #556. Basically, I'm using Azure App Configuration with keyvault linked values, and the keyvault access policy did not exist. This exception is extremely generic and seems to be thrown for ANY startup issue. There is definitely a need for the logging/exception handling during isolated functions startup to be drastically imrproved. |
@ihordyrman did the workaround in the comment I've linked to help address the issue? Azure/azure-functions-docker#600 (comment), if not, it would be a good idea to have a separate issue opened with your application details so we can take a closer look, as this may have a different root cause. |
@ihordyrman Could you try deploying using function core tools and see that makes a difference? @elliotchaim The "The framework 'Microsoft.AspNetCore.App', version '6.0.0' (x64) was not found" error is caused by this issue, which was originally fixed, but only for app service images. Now we fixed it for all images and the deployment for that is in-progress. Will share an update here when it is done (hopefully in the next couple of days) |
Deploying with |
Just wanted to provide an update here. The full deployment with updated images addressing this issue should complete this week. We'll close this issue with an update when that is done. |
Any updates on this? - really stuck on this one, and anxiously waiting for a fix... |
I dont know what happened, but in last friday i had the same problem, bu now he dont happen again. had any update on this weekend? |
I fixed this issue by changing the base image to I only figured this out after finding some obscure documentation somewhere. Really need to improve the docs for this! |
Deployment with the fix (for non-app service images) has been completed. The Let us know if you run into issues. |
@elliotchaim You should be able to use the non app-service images now. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
I'm trying to deploy an Azure Functions app (net6.0 isolated functions v4) to Azure (Linux P1v2 app service plan). the app is containerized with
mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated6.0
base image. i'm deploying and see logs in deployment center showing that the image was downloaded and container started. but no functions have been found and i get this error notification in the azure portal:i can't find any docs whatsover around setting up deployments to azure for functions v4 aside from deploying straight from vs code using the extension (not what i want to do). im trying to setup deployment of a production application from CI/CD using terraform
thanks
The text was updated successfully, but these errors were encountered: