{
  "id": "go/grpc-connection-reset",
  "signature": "rpc error: code = Unavailable desc = transport is closing",
  "signature_zh": "rpc 错误：代码 = Unavailable 描述 = 传输正在关闭",
  "regex": "rpc\\ error:\\ code\\ =\\ Unavailable\\ desc\\ =\\ transport\\ is\\ closing",
  "domain": "go",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The gRPC connection is closed while a call is in progress, often due to server shutdown or network issues.",
  "root_cause_type": "generic",
  "root_cause_zh": "gRPC 连接在调用进行中关闭，通常由于服务器关闭或网络问题。",
  "versions": [
    {
      "version": "1.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the server is down, retry will fail again.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Keepalive doesn't prevent abrupt connection resets.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.7,
      "how": "for i := 0; i < 3; i++ { err := client.Call(ctx, req); if err == nil { break }; time.Sleep(time.Duration(i)*time.Second) }",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "conn, _ := grpc.Dial(\"addr\", grpc.WithInsecure()); client := pb.NewClient(conn)",
      "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-10-02",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}