Open sravanreddy6745 opened 3 months ago
How are you running it? Are you running func host start
or dotnet run
?
I am running it from visual studio 2022, Here is the profile:
{ "profiles": { "DocuSignDocument.FunctionApp": { "commandName": "Project", "commandLineArgs": "--port 7278", "launchBrowser": false } } }
Looks like you are doing dotnet run
. The function app payload should be started with the functions host (runtime). That is why the command to start is func host start
. This will start the functions runtime and that will start your function app.
In short, you should not run dotnet run
directly on your function app.
Had the same problem, it suddenly stopped working. I renamed the csproj
file and kept everything else the same. Fixed it.
What version of .NET does your existing project use?
.NET 6
What version of .NET are you attempting to target?
.NET 8
Description
After migrating the Function APP from .NET 6 to .NET 8 isolated worker model gets the System.InvalidOperationException: 'The gRPC channel URI 'http://:7185' could not be parsed.' Error
Note: The same changes are working in another function app with service bus queue triggers
Project configuration and dependencies
local.settings.json "IsEncrypted": false, "Values": { "AzureWebJobsStorage": "UseDevelopmentStorage=true", "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated", }
}
Link to a repository that reproduces the issue
No response