{"record":{"id":"23b48e0f5d3bfb60","repo":"openai/codex","slug":"remote-control-is-disabled-on","errorCode":null,"errorMessage":"Remote control is disabled on {}.","messagePattern":"Remote control is disabled on (.+?)\\.","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/cli/src/remote_control_cmd.rs","lineNumber":401,"sourceCode":"        }\n    }\n}\n\nfn ensure_remote_control_startable(\n    output: &AppServerRemoteControlReadyStatus,\n) -> anyhow::Result<()> {\n    match output.status {\n        RemoteControlConnectionStatus::Connected | RemoteControlConnectionStatus::Connecting => {\n            Ok(())\n        }\n        RemoteControlConnectionStatus::Errored => {\n            anyhow::bail!(\n                \"Remote control is enabled on {} but the connection is errored.\",\n                output.server_name\n            );\n        }\n        RemoteControlConnectionStatus::Disabled => {\n            anyhow::bail!(\"Remote control is disabled on {}.\", output.server_name);\n        }\n    }\n}\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nenum RemoteControlHumanOutputMode {\n    Foreground,\n    Daemon,\n}\n\nfn remote_control_start_human_lines(\n    summary: &AppServerRemoteControlReadyStatus,\n    mode: RemoteControlHumanOutputMode,\n) -> anyhow::Result<Vec<String>> {\n    let mut lines = vec![remote_control_start_human_message(summary)?];\n    match mode {\n        RemoteControlHumanOutputMode::Foreground => {\n            lines.push(\"Press Ctrl-C to stop.\".to_string());","sourceCodeStart":383,"sourceCodeEnd":419,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/cli/src/remote_control_cmd.rs#L383-L419","documentation":"Bailed by ensure_remote_control_startable when the app-server reports RemoteControlConnectionStatus::Disabled: remote control was never enabled on that server, so a start/ready request cannot proceed. (The surrounding match also treats Errored separately.)","triggerScenarios":"Thrown at codex-rs/cli/src/remote_control_cmd.rs:401 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Enable remote control in the server/app configuration","Verify you are targeting the right server name"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}