go
network_error
ai_generated
true
rpc error: code = Unavailable desc = grpc: the server has been stopped
ID: go/grpc-server-shutdown
80%Fix Rate
86%Confidence
0Evidence
2024-05-12First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 1.60.0 | active | — | — | — |
Root Cause
The client attempted to communicate with a gRPC server that has been gracefully stopped or is in the process of shutting down.
generic中文
客户端尝试与已优雅停止或正在关闭的 gRPC 服务器通信。
Workarounds
-
85% success
Implement client-side health checks to detect server availability and reconnect when it comes back.
-
90% success
Use a connection pool that can re-establish connections after server restart.
Dead Ends
Common approaches that don't work:
- 80% fail
- 60% fail