Isolated Worker not working with Function App deloyed on App Service Plan

Juhi Saxena 51 Reputation points
2024-06-07T09:42:58.3633333+00:00

I am migrating my Function App from in-process model to isolated worker model. My code has been now updated and is working fine locally but the time I am deploying it to the existing function it is throwing below errors -

Handling WorkerErrorEvent for runtime:dotnet-isolated, workerId:dotnet-isolated. Failed with: System.TimeoutException: The operation has timed out. at Microsoft.Azure.WebJobs.Script.Grpc.GrpcWorkerChannel.PendingItem.OnTimeout() in /src/azure-functions-host/src/WebJobs.Script.Grpc/Channel/GrpcWorkerChannel.cs:line 1767

and

Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.Starter_Calculation'. Microsoft.Azure.WebJobs.Extensions.Storage.Blobs: Storage account connection string 'AzureWebJobsBlobDataConnectionString' does not exist. Make sure that it is a defined App Setting.

I have already updated the below appsetting -

"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
Developer technologies .NET Other
Developer technologies C#
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.