{
  "id": "go/grpc-unimplemented-service-not-registered",
  "signature": "rpc error: code = Unimplemented desc = unknown service helloworld.Greeter",
  "signature_zh": "rpc错误：代码=未实现 描述=未知服务helloworld.Greeter",
  "regex": "rpc\\ error:\\ code\\ =\\ Unimplemented\\ desc\\ =\\ unknown\\ service\\ helloworld\\.Greeter",
  "domain": "go",
  "category": "type_error",
  "subcategory": null,
  "root_cause": "The gRPC server does not have the service registered, often because the server code did not call RegisterGreeterServer.",
  "root_cause_type": "generic",
  "root_cause_zh": "gRPC服务器未注册该服务，通常是因为服务器代码未调用RegisterGreeterServer。",
  "versions": [
    {
      "version": "1.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.1",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Restart the server without registering the service.",
      "why_fails": "The server code is missing the registration; restarting doesn't add it.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a different client that expects a different service.",
      "why_fails": "The client is hardcoded to call a specific service; changing client may not help.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Register the service with the gRPC server.",
      "success_rate": 0.95,
      "how": "grpcServer := grpc.NewServer()\npb.RegisterGreeterServer(grpcServer, &server{})\n// Then start listening\nlis, _ := net.Listen(\"tcp\", \":8080\")\ngrpcServer.Serve(lis)",
      "condition": "",
      "sources": []
    },
    {
      "action": "Ensure the protobuf generated code is imported and used correctly.",
      "success_rate": 0.9,
      "how": "import pb \"path/to/protobuf/package\"\n// Then use pb.RegisterGreeterServer",
      "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": "2025-06-22",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}