go
network_error
ai_generated
true
rpc error: code = Unavailable desc = no healthy upstream
ID: go/grpc-unavailable-load-balancer-no-backends
80%Fix Rate
88%Confidence
0Evidence
2024-05-30First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 1.1 | active | — | — | — |
Root Cause
The load balancer or service mesh cannot find any healthy backend instances to route the request.
generic中文
负载均衡器或服务网格找不到任何健康的后端实例来路由请求。
Workarounds
-
85% success
// Configure health checks: grpc.HealthCheck(healthpb.NewHealthClient(conn))
-
80% success
// Configure destination rules with outlier detection.
Dead Ends
Common approaches that don't work:
-
70% fail
Backends remain unhealthy; client restart doesn't fix server issues.
-
60% fail
New replicas may also fail health checks due to same issue.