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

Example Does Not Work #32528

Open
thegreatco opened this issue May 6, 2024 · 2 comments
Open

Example Does Not Work #32528

thegreatco opened this issue May 6, 2024 · 2 comments
Assignees
Labels
aspnet-core/svc grpc/subsvc gRPC Source - Docs.ms Docs Customer feedback via GitHub Issue

Comments

@thegreatco
Copy link

Description

Running the code yields

Unhandled exception. System.InvalidOperationException: Channel is configured with an HTTP transport doesn't support client-side load balancing or connectivity state tracking. The underlying HTTP transport must be a SocketsHttpHandler with no SocketsHttpHandler.ConnectCallback configured. The HTTP transport must be configured on the channel using GrpcChannelOptions.HttpHandler.
   at Grpc.Net.Client.GrpcChannel.ValidateHttpHandlerSupportsConnectivity()
   at Grpc.Net.Client.GrpcChannel.ConnectAsync(CancellationToken cancellationToken)
   at Program.<Main>$(String[] args) in /mnt/d/Dropbox/dev/GitHub/viam-dotnet-sdk/examples/ConsoleApp1/Program.cs:line 20
   at Program.<Main>(String[] args)
Aborted

Page URL

https://learn.microsoft.com/en-us/aspnet/core/grpc/interprocess-uds?view=aspnetcore-8.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/grpc/interprocess-uds.md

Document ID

9af2ca8f-eefb-ae3d-ba52-d6b2a826945d

Article author

@JamesNK

@JamesNK
Copy link
Member

JamesNK commented May 6, 2024

See grpc/grpc-dotnet#2428

@wadepickett wadepickett self-assigned this May 7, 2024
@wadepickett
Copy link
Contributor

Thanks James! I'll add a note to the doc. Thanks @thegreatco for letting us know your experience with the doc, greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspnet-core/svc grpc/subsvc gRPC Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
Development

No branches or pull requests

4 participants