{"record":{"id":"dab0dc35df768ffa","repo":"XTLS/Xray-core","slug":"failed-to-build-geodata-configuration","errorCode":null,"errorMessage":"failed to build geodata configuration","messagePattern":"failed to build geodata configuration","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"infra/conf/xray.go","lineNumber":651,"sourceCode":"\t\tr, err := c.BurstObservatory.Build()\n\t\tif err != nil {\n\t\t\treturn nil, errors.New(\"failed to build burst observatory configuration\").Base(err)\n\t\t}\n\t\tconfig.App = append(config.App, serial.ToTypedMessage(r))\n\t}\n\n\tif c.Version != nil {\n\t\tr, err := c.Version.Build()\n\t\tif err != nil {\n\t\t\treturn nil, errors.New(\"failed to build version configuration\").Base(err)\n\t\t}\n\t\tconfig.App = append(config.App, serial.ToTypedMessage(r))\n\t}\n\n\tif c.Geodata != nil {\n\t\tr, err := c.Geodata.Build()\n\t\tif err != nil {\n\t\t\treturn nil, errors.New(\"failed to build geodata configuration\").Base(err)\n\t\t}\n\t\tconfig.App = append(config.App, serial.ToTypedMessage(r))\n\t}\n\n\tvar inbounds []InboundDetourConfig\n\n\tif len(c.InboundConfigs) > 0 {\n\t\tinbounds = append(inbounds, c.InboundConfigs...)\n\t}\n\n\tif len(c.Transport) > 0 {\n\t\treturn nil, errors.PrintRemovedFeatureError(\"Global transport config\", \"streamSettings in inbounds and outbounds\")\n\t}\n\n\tfor _, rawInboundConfig := range inbounds {\n\t\tic, err := rawInboundConfig.Build()\n\t\tif err != nil {\n\t\t\treturn nil, errors.New(\"failed to build inbound config with tag \", rawInboundConfig.Tag).Base(err)","sourceCodeStart":633,"sourceCodeEnd":669,"githubUrl":"https://github.com/XTLS/Xray-core/blob/7d214f8b094f75322fa3990f8aadad1c912f24f5/infra/conf/xray.go#L633-L669","documentation":"Error \"failed to build geodata configuration\" thrown in XTLS/Xray-core.","triggerScenarios":"Thrown at infra/conf/xray.go:651 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7d214f8b094f75322fa3990f8aadad1c912f24f5","analyzedAt":"2026-08-15T14:26:24.325Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}