{
  "id": "go/grpc-server-shutdown",
  "signature": "rpc error: code = Unavailable desc = grpc: the server has been stopped",
  "signature_zh": "rpc 错误：代码 = 不可用，描述 = grpc：服务器已停止",
  "regex": "rpc\\ error:\\ code\\ =\\ Unavailable\\ desc\\ =\\ grpc:\\ the\\ server\\ has\\ been\\ stopped",
  "domain": "go",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The client attempted to communicate with a gRPC server that has been gracefully stopped or is in the process of shutting down.",
  "root_cause_type": "generic",
  "root_cause_zh": "客户端尝试与已优雅停止或正在关闭的 gRPC 服务器通信。",
  "versions": [
    {
      "version": "1.60.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Implement client-side health checks to detect server availability and reconnect when it comes back.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Use a connection pool that can re-establish connections after server restart.",
      "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.86,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-05-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}