{
  "id": "go/grpc-failed-to-exit-idle",
  "signature": "rpc error: code = Unavailable desc = name resolver error: produced zero addresses",
  "signature_zh": "rpc 错误：code = Unavailable desc = 名称解析器错误：产生了零个地址",
  "regex": "rpc\\ error:\\ code\\ =\\ Unavailable\\ desc\\ =\\ name\\ resolver\\ error:\\ produced\\ zero\\ addresses",
  "domain": "go",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The name resolver (DNS or custom) returned no addresses for the target. Often a typo in the target string, a DNS failure, or a resolver that has not yet received updates.",
  "root_cause_type": "generic",
  "root_cause_zh": "名称解析器（DNS 或自定义）为目标返回了零个地址。通常是目标字符串拼写错误、DNS 失败，或解析器尚未收到更新。",
  "versions": [
    {
      "version": "1.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Bypassing the resolver breaks load balancing and service discovery, and the IP may change.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "If the resolver genuinely returns zero addresses, waiting longer does not produce addresses.",
      "fail_rate": 0.75,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Verify the target format: use dns:///host:port or passthrough:///host:port explicitly, and check that the hostname resolves with net.LookupHost.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "For custom resolvers, implement the Resolver interface correctly and call cc.UpdateState with a non-empty Addresses slice; add logging in Build to confirm resolution.",
      "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.82,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-11-23",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}