{
  "id": "go/grpc-unavailable-load-balancer-fail",
  "signature": "rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: error while dialing: dial tcp 10.0.0.1:8080: i/o timeout\"",
  "signature_zh": "rpc错误：代码=不可用 描述=所有子连接都处于瞬态故障状态，最新连接错误：连接错误：描述=\"传输：拨号时出错：拨号tcp 10.0.0.1:8080：输入/输出超时\"",
  "regex": "rpc\\ error:\\ code\\ =\\ Unavailable\\ desc\\ =\\ all\\ SubConns\\ are\\ in\\ TransientFailure,\\ latest\\ connection\\ error:\\ connection\\ error:\\ desc\\ =\\ \"transport:\\ error\\ while\\ dialing:\\ dial\\ tcp\\ 10\\.0\\.0\\.1:8080:\\ i/o\\ timeout\"",
  "domain": "go",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "All backend servers behind a load balancer are unreachable, often due to network partition or server crash.",
  "root_cause_type": "generic",
  "root_cause_zh": "负载均衡器后面的所有后端服务器都不可达，通常是由于网络分区或服务器崩溃。",
  "versions": [
    {
      "version": "1.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.1",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Restart the client application.",
      "why_fails": "The client is fine; the issue is with the servers or network.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "Increase the dial timeout to a very high value.",
      "why_fails": "If servers are down, longer timeout just delays the error.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Check the health of all backend servers and ensure they are reachable.",
      "success_rate": 0.9,
      "how": "Use curl or telnet to test connectivity: telnet 10.0.0.1 8080, and check server logs.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Implement a fallback to a different load balancer or DNS resolver.",
      "success_rate": 0.8,
      "how": "resolver := resolver.NewBuilder(\"dns:///example.com:8080\")\nconn, err := grpc.Dial(\"dns:///example.com:8080\", grpc.WithInsecure(), grpc.WithResolvers(resolver))",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-09-14",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}