go
network_error
ai_generated
true
rpc 错误:代码 = Unavailable 描述 = 没有健康的上游
rpc error: code = Unavailable desc = no healthy upstream
ID: go/grpc-unavailable-load-balancer-no-backends
80%修复率
88%置信度
0证据数
2024-05-30首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| 1.1 | active | — | — | — |
根因分析
负载均衡器或服务网格找不到任何健康的后端实例来路由请求。
English
The load balancer or service mesh cannot find any healthy backend instances to route the request.
解决方案
-
85% 成功率
// Configure health checks: grpc.HealthCheck(healthpb.NewHealthClient(conn))
-
80% 成功率
// Configure destination rules with outlier detection.
无效尝试
常见但无效的做法:
-
70% 失败
Backends remain unhealthy; client restart doesn't fix server issues.
-
60% 失败
New replicas may also fail health checks due to same issue.