{"record":{"id":"26123d70ef13e5b8","repo":"openai/codex","slug":"remote-control-is-enabled-on-but-the-connection","errorCode":null,"errorMessage":"Remote control is enabled on {} but the connection is errored.","messagePattern":"Remote control is enabled on (.+?) but the connection is errored\\.","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/cli/src/remote_control_cmd.rs","lineNumber":395,"sourceCode":"        RemoteControlConnectionStatus::Connecting => Ok(format!(\n            \"Remote control is enabled on {} and still connecting.\",\n            output.server_name\n        )),\n        RemoteControlConnectionStatus::Errored | RemoteControlConnectionStatus::Disabled => {\n            unreachable!(\"errored and disabled statuses are rejected before formatting\")\n        }\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,","sourceCodeStart":377,"sourceCodeEnd":413,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/cli/src/remote_control_cmd.rs#L377-L413","documentation":"Error \"Remote control is enabled on {} but the connection is errored.\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/cli/src/remote_control_cmd.rs:395 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":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}