grpc / grpc-dart

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

Grpc connect to some site and fail on some #716

Open Imdavyking opened 1 month ago

Imdavyking commented 1 month ago
I am using grpc to connect to cosmos blockchain, some blockchain works well while others fail 3.1.0 ## Repro steps working urls ---------------------- 1. grpc.osmotest5.osmosis.zone 2. rest.sentry-01.theta-testnet.polypore.xyz failing urls ----------------- 1. testnet.sentry.chain.grpc.injective.network 2. grpc.testnet-croeseid-4.cronos-pos.org Expected result: grpc connected successful and give positive result Actual result: it throw an error message gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Operation timed out (OS Error: Operation timed out, errno = 60), address = testnet.sentry.chain.grpc.injective.network, port = 54651, details: null, rawResponse: null, trailers: ## Details
mosuem commented 1 month ago

Could you include enough information to make this reproducible? And are you sure it is a bug on the Dart side?

Imdavyking commented 1 month ago

I am just getting started with grpc...started using it with https://pub.dev/packages/alan for cosmos blockchain, some url fail and some url work injective - https://docs.injective.network/develop/public-endpoints/ i was trying to use grpc for injective but it failed and gave me this error

gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Operation
timed out (OS Error: Operation timed out, errno = 60),
address = testnet.sentry.chain.grpc.injective.network,
port = 54651, details: null, rawResponse: null, trailers:
Imdavyking commented 1 month ago

Hi, i have not heard from you

mosuem commented 2 weeks ago

Could you add a minimal reproducible example? Otherwise, this is hard to debug.