{
  "id": "go/grpc-unimplemented-service-method",
  "signature": "rpc error: code = Unimplemented desc = method SayHello not implemented",
  "signature_zh": "rpc错误：代码=未实现 描述=方法SayHello未实现",
  "regex": "rpc\\ error:\\ code\\ =\\ Unimplemented\\ desc\\ =\\ method\\ SayHello\\ not\\ implemented",
  "domain": "go",
  "category": "module_error",
  "subcategory": null,
  "root_cause": "The gRPC server does not have a handler registered for the invoked RPC method, possibly due to missing registration or incorrect service name.",
  "root_cause_type": "generic",
  "root_cause_zh": "gRPC服务器未注册调用的RPC方法的处理程序，可能是由于缺少注册或服务名称错误。",
  "versions": [
    {
      "version": "1.21",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.22",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Restarting the server without changing code.",
      "why_fails": "The handler is still missing; restart doesn't add it.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    },
    {
      "action": "Checking client method name only, ignoring server registration.",
      "why_fails": "The server must register the method; client alone can't fix it.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Ensure the server registers the service with the correct generated code.",
      "success_rate": 0.95,
      "how": "grpcServer := grpc.NewServer()\npb.RegisterGreeterServer(grpcServer, &myGreeterServer{})",
      "condition": "",
      "sources": []
    },
    {
      "action": "Verify the proto file and regenerate stubs if method was added recently.",
      "success_rate": 0.9,
      "how": "protoc --go_out=. --go-grpc_out=. *.proto",
      "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-02-28",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}