{"record":{"id":"36aedbe817ce0b39","repo":"quickwit-oss/quickwit","slug":"conflicting-configuration-values-please-use-only","errorCode":null,"errorMessage":"conflicting configuration values: please use only `rest.listen_port`, `rest_listen_port` is deprecated and should not be used alongside `rest.listen_port`. Update your configuration to use `rest.listen_port`.","messagePattern":"conflicting configuration values: please use only `rest\\.listen_port`, `rest_listen_port` is deprecated and should not be used alongside `rest\\.listen_port`\\. Update your configuration to use `rest\\.listen_port`\\.","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"quickwit/quickwit-config/src/node_config/serialize.rs","lineNumber":282,"sourceCode":"        let resolved_enabled_services: HashSet<QuickwitService> =\n            if let Some(enabled_services) = enabled_services {\n                enabled_services.clone()\n            } else {\n                self.enabled_services\n                    .resolve(env_vars)?\n                    .0\n                    .into_iter()\n                    .map(|service| service.parse())\n                    .collect::<Result<_, _>>()?\n            };\n\n        let listen_address = self.listen_address.resolve(env_vars)?;\n        let listen_host = listen_address.parse::<Host>()?;\n        let listen_ip = listen_host.resolve().await?;\n\n        if let Some(rest_listen_port) = self.rest_listen_port {\n            if self.rest_config_builder.listen_port.is_some() {\n                bail!(\n                    \"conflicting configuration values: please use only `rest.listen_port`, \\\n                     `rest_listen_port` is deprecated and should not be used alongside \\\n                     `rest.listen_port`. Update your configuration to use `rest.listen_port`.\"\n                );\n            }\n            warn!(\"`rest_listen_port` is deprecated, use `rest.listen_port` instead\");\n            self.rest_config_builder.listen_port = Some(rest_listen_port);\n        }\n\n        let rest_config = self\n            .rest_config_builder\n            .build_and_validate(listen_ip, env_vars)?;\n\n        let health_config = self.health_config_builder.build(listen_ip, env_vars)?;\n\n        self.grpc_config.validate()?;\n\n        let gossip_listen_port = self","sourceCodeStart":264,"sourceCodeEnd":300,"githubUrl":"https://github.com/quickwit-oss/quickwit/blob/a39730c5cdcd1a4fe798403737ae293999ea21f8/quickwit/quickwit-config/src/node_config/serialize.rs#L264-L300","documentation":"Error \"conflicting configuration values: please use only `rest.listen_port`, `rest_listen_port` is deprecated and should not be used alongside `rest.listen_port`. Update your configuration to use `rest.listen_port`.\" thrown in quickwit-oss/quickwit.","triggerScenarios":"Thrown at quickwit/quickwit-config/src/node_config/serialize.rs:282 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove the deprecated top-level `rest_listen_port` key and keep only `rest.listen_port` in the config file","Remove the corresponding deprecated environment variable if both are set"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a39730c5cdcd1a4fe798403737ae293999ea21f8","analyzedAt":"2026-09-08T13:19:37.784Z","contentChangedAt":"2026-09-08T13:19:37.784Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}