{
  "id": "go/grpc-unimplemented-unknown-service",
  "signature": "rpc error: code = Unimplemented desc = unknown service pb.UserService",
  "signature_zh": "rpc 错误：code = Unimplemented desc = 未知服务 pb.UserService",
  "regex": "rpc\\ error:\\ code\\ =\\ Unimplemented\\ desc\\ =\\ unknown\\ service\\ pb\\.UserService",
  "domain": "go",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The client called a service that the server has not registered. Usually a stale generated client, a typo in the fully-qualified service name, or a server that forgot to call RegisterUserServiceServer.",
  "root_cause_type": "generic",
  "root_cause_zh": "客户端调用了服务端未注册的服务。通常是生成的客户端代码过旧、服务全限定名拼写错误，或服务端忘记调用 RegisterUserServiceServer。",
  "versions": [
    {
      "version": "1.45+",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Unimplemented is a routing error on the server, not a TLS issue; disabling TLS does nothing for service lookup.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The server will never learn the service; retries return Unimplemented deterministically.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "s := grpc.NewServer()\npb.RegisterUserServiceServer(s, &userServer{})\nreflection.Register(s) // enables grpcurl discovery\nlog.Fatal(s.Serve(lis))",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "// protoc --go_out=. --go-grpc_out=. user.proto\n// then confirm: grpcurl -plaintext localhost:50051 list",
      "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-02-27",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}