grpc-dart
grpc-dart copied to clipboard
gRPC Error while connection to stream
gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Channel shutting down., details: null, rawResponse: null, trailers: {}), details: null, rawResponse: null, trailers: {})
grpc: dependency: "direct main" description: name: grpc url: "https://pub.dartlang.org" source: hosted version: "3.0.2"
Repro steps
- get atlas MongoDB URI
- clone https://github.com/mongorpc/mongorpc
- run mongorpc server using
go run cmd/mongorpc/main.go - clone https://github.com/mongorpc/mongorpc-dart
- and run
dart dart run example/main.dart
Expected result: should start listing to streams
Actual result: error while connecting to the channel
Details
gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Channel shutting down., details: null, rawResponse: null, trailers: {}), details: null, rawResponse: null, trailers: {})