Skip to content
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

HTTP triggered functions crash on Mac with Grpc.Core.RpcException #3618

Open
carlosbkm opened this issue Mar 8, 2024 · 0 comments
Open

HTTP triggered functions crash on Mac with Grpc.Core.RpcException #3618

carlosbkm opened this issue Mar 8, 2024 · 0 comments

Comments

@carlosbkm
Copy link

HTTP triggered functions crash on Mac OS with this exception:

Unhandled exception. 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.")

This is happening for any HTTP triggered functions. Even with the Http Trigger template. Same codebase works on Windows 10 and on Azure.

Steps to reproduce the error:

  1. Create a new project with func init MyProjFolder --worker-runtime dotnet-isolated
  2. Add an HTTP trigger with func new --template "Http Trigger" --name MyHttpTrigger
  3. Navigate to MyProjFolder and start the function with func start

Environment details:

  • Azure Function Core Tools version: 4
  • .NET versions: 7 and 8 (isolated)
  • OS: macOS Sonoma version 1.4.12
  • CPU architecture: x64
  • worker model: dotnet-isolated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant