Azure / Azure/azure-functions-dotnet-worker

System.InvalidOperationException: 'The gRPC channel URI 'http://:7185' could not be parsed.', After migrating to .NET 8 LTS Isolated Worker model

Open
#2,622 6 comments 1 reaction 1 assignee Claimed by @brettsam View on GitHub
area: migration Needs: Triage (Functions)
Dominant language
C#
Stars
466
Forks
215
Avg merge
3d 10h
Merged PRs (30d)
7

Description

### 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


net8.0
Exe
v4


4






























PreserveNewest


PreserveNewest
Never


Always








local.settings.json
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
}

Host.json:

{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
}
}

### Link to a repository that reproduces the issue

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.