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 error,message:HTTP/2 error:Connection error: Connection is being forcefully terminated #681

Closed longxingtianxia-522 closed 7 months ago

longxingtianxia-522 commented 7 months ago
I use GRPC through WiFi on Android,and Pull the stream from the server. Only succeeded for more than ten seconds and Error message with "grpc error,message:HTTP/2 error:Connection error: Connection is being forcefully terminated" any ## Repro steps 1. step1 1. step2 1. step3 Expected result: Actual result: ## Details
mraleph commented 7 months ago

The error is telling you what is happening. The way to figure why requires debugging actual code: there can be myriad of reasons for why this is happening (e.g. your server is closing connection after timeout due to configuration issues, WiFi connectivity issues, Android networking issues, etc).