{
  "id": "go/grpc-unknown-service-method",
  "signature": "rpc error: code = Unimplemented desc = unknown method GetUser for service pb.UserService",
  "signature_zh": "rpc error: code = Unimplemented desc = 服务 pb.UserService 的未知方法 GetUser",
  "regex": "rpc\\ error:\\ code\\ =\\ Unimplemented\\ desc\\ =\\ unknown\\ method\\ GetUser\\ for\\ service\\ pb\\.UserService",
  "domain": "go",
  "category": "module_error",
  "subcategory": null,
  "root_cause": "The server has registered the service but not this specific method. Typically caused by an outdated generated server stub or a client using a newer proto than the server.",
  "root_cause_type": "generic",
  "root_cause_zh": "服务端已注册该服务但未注册此特定方法。通常由过时的生成服务端 stub，或客户端使用比服务端更新的 proto 引起。",
  "versions": [
    {
      "version": "1.0+",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The method handler must exist as a generated function; string manipulation on descriptors does not register a callable handler",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The older method may not exist either; the correct fix is aligning proto versions",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "protoc --go_out=. --go-grpc_out=. user.proto\ngo build ./...",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "grpcurl -plaintext localhost:50051 describe pb.UserService",
      "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.89,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-10-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}