Can't start the default Azure Function in Visual Studio 2022
Visual Studio 2022 17.14.7
Core Tools Version: 4.0.7317 Commit hash: N/A +5ca56d37938824531b691f094d0a77fd6f51af20 (64-bit)
Function Runtime Version: 4.1038.300.25164
Following the quick start (https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-your-first-function-visual-studio) to create a new Azure Function in Visual Studio 2022.
I got the following error when I hit F5
to start the function:
Grpc.Core.RpcException: 'Status(StatusCode="Internal", Detail="Error starting gRPC call. HttpRequestException: Requesting HTTP version 2.0 with version policy RequestVersionOrHigher while unable to establish HTTP/2 connection.", DebugException="System.Net.Http.HttpRequestException: Requesting HTTP version 2.0 with version policy RequestVersionOrHigher while unable to establish HTTP/2 connection.")'