grpc / grpc-dart

The Dart language implementation of gRPC.
https://pub.dev/packages/grpc
Apache License 2.0
860 stars 271 forks source link

gRPC Error while connection to stream #534

Open satishbabariya opened 2 years ago

satishbabariya commented 2 years ago

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

  1. get atlas MongoDB URI
  2. clone https://github.com/mongorpc/mongorpc
  3. run mongorpc server using go run cmd/mongorpc/main.go
  4. clone https://github.com/mongorpc/mongorpc-dart
  5. 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: {})