{"record":{"id":"bd900d795475c761","repo":"openai/codex","slug":"remote-control-pairing-requires-remote-control-to","errorCode":null,"errorMessage":"remote control pairing requires remote control to be enabled","messagePattern":"remote control pairing requires remote control to be enabled","errorType":"exception","errorClass":"io::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs","lineNumber":739,"sourceCode":"        &self,\n        params: RemoteControlClientsListParams,\n    ) -> io::Result<RemoteControlClientsListResponse> {\n        self.ensure_remote_control_allowed_io()?;\n        clients::list_remote_control_clients(&self.remote_control_url, &self.auth_manager, params)\n            .await\n    }\n\n    pub async fn revoke_client(\n        &self,\n        params: RemoteControlClientsRevokeParams,\n    ) -> io::Result<RemoteControlClientsRevokeResponse> {\n        self.ensure_remote_control_allowed_io()?;\n        clients::revoke_remote_control_client(&self.remote_control_url, &self.auth_manager, params)\n            .await\n    }\n\n    fn pairing_disabled_error() -> io::Error {\n        io::Error::new(\n            io::ErrorKind::InvalidInput,\n            \"remote control pairing requires remote control to be enabled\",\n        )\n    }\n\n    fn publish_status(\n        &self,\n        connection_status: RemoteControlConnectionStatus,\n    ) -> RemoteControlStatusChangedNotification {\n        let mut status_change = None;\n        self.status_tx.send_if_modified(|status| {\n            let next_status =\n                remote_control_status_with_connection_status(status, connection_status);\n            if *status == next_status {\n                return false;\n            }\n\n            status_change = Some((status.clone(), next_status.clone()));","sourceCodeStart":721,"sourceCodeEnd":757,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/app-server-transport/src/transport/remote_control/mod.rs#L721-L757","documentation":"Error \"remote control pairing requires remote control to be enabled\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/app-server-transport/src/transport/remote_control/mod.rs:739 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"}