dotnet connection_error ai_generated true

RpcException: StatusCode=Unavailable connecting to gRPC service

ID: dotnet/grpc-channel-error

Also available as: JSON · Markdown
80%Fix Rate
84%Confidence
3Evidence
2023-01-01First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
8 active

Root Cause

gRPC channel cannot connect to service.

generic

Workarounds

  1. 88% success Verify server address and use GrpcChannel.ForAddress correctly
  2. 85% success Configure gRPC-Web for browser clients behind HTTP/1.1 proxies

Dead Ends

Common approaches that don't work:

  1. Create new channel per request 82% fail

    Connection overhead, port exhaustion

  2. Disable TLS for gRPC 88% fail

    Security vulnerability