openai/codex · error · io::Error
remote control cannot be enabled because sqlite state db is
Error message
remote control cannot be enabled because sqlite state db is unavailable
What it means
Error "remote control cannot be enabled because sqlite state db is unavailable" thrown in openai/codex.
Source
Thrown at codex-rs/app-server-transport/src/transport/remote_control/mod.rs:364
desired_state_changed,
current_status = ?status.status,
environment_id = ?status.environment_id,
installation_id = %status.installation_id,
server_name = %status.server_name,
"remote control disable requested"
);
self.publish_status(RemoteControlConnectionStatus::Disabled)
}
async fn persist_preference(
&self,
app_server_client_name: Option<&str>,
remote_control_enabled: bool,
) -> io::Result<()> {
let state_db = self
.state_db
.as_deref()
.ok_or_else(|| io::Error::new(io::ErrorKind::NotFound, RemoteControlUnavailable))?;
let auth = load_remote_control_auth(&self.auth_manager).await?;
let remote_control_target = normalize_remote_control_url(&self.remote_control_url)?;
let app_server_client_name = self.pairing_persistence_key(app_server_client_name)?;
state_db
.set_remote_control_enabled(
&remote_control_target.websocket_url,
&auth.account_id,
app_server_client_name.as_deref(),
remote_control_enabled,
)
.await
.map_err(io::Error::other)?;
Ok(())
}
pub fn status(&self) -> RemoteControlStatusChangedNotification {
self.status_tx.borrow().clone()
}View on GitHub (pinned to 339751715c)
When it happens
Trigger: Thrown at codex-rs/app-server-transport/src/transport/remote_control/mod.rs:364 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of openai/codex@339751715c (2026-08-25).
Data as JSON: /api/errors/c3d2e32e4bf1bbbe.
Report an issue: GitHub.