{"record":{"id":"5c838cefabf68457","repo":"openai/codex","slug":"executor-local-network-proxy-launch-requires-an-en","errorCode":null,"errorMessage":"executor-local network proxy launch requires an enabled proxy","messagePattern":"executor-local network proxy launch requires an enabled proxy","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/network-proxy/src/runtime.rs","lineNumber":293,"sourceCode":"            environment_id: self.environment_id.clone(),\n            execution_id: self.execution_id.clone(),\n        }\n    }\n}\n\nimpl NetworkProxyState {\n    /// Builds runtime state for one executor-local proxy launch.\n    pub fn from_remote_launch_config(\n        launch: crate::RemoteNetworkProxyLaunchConfig,\n    ) -> Result<Self> {\n        let crate::RemoteNetworkProxyLaunchConfig {\n            proxy,\n            audit_metadata,\n            environment_id,\n            execution_id,\n            policy_decision_timeout_ms: _,\n        } = launch;\n        anyhow::ensure!(\n            proxy.enabled,\n            \"executor-local network proxy launch requires an enabled proxy\"\n        );\n        let config = proxy.into_network_proxy_config();\n        let state = build_config_state(config, NetworkProxyConstraints::default())?;\n        Ok(Self {\n            environment_id: environment_id.map(Into::into),\n            execution_id: execution_id.map(Into::into),\n            ..Self::with_reloader_and_audit_metadata(\n                state,\n                Arc::new(StaticConfigReloader),\n                audit_metadata,\n            )\n        })\n    }\n\n    pub fn with_reloader(state: ConfigState, reloader: Arc<dyn ConfigReloader>) -> Self {\n        Self::with_reloader_and_audit_metadata(","sourceCodeStart":275,"sourceCodeEnd":311,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/network-proxy/src/runtime.rs#L275-L311","documentation":"Guard in NetworkProxyState::from_remote_launch_config: a remote launch config arrived with proxy.enabled = false. An executor-local proxy that is disabled has nothing to launch (no listeners, no policy enforcement), so state construction fails instead of producing a no-op runtime.","triggerScenarios":"Thrown at codex-rs/network-proxy/src/runtime.rs:293 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set enabled = true in the RemoteNetworkProxyLaunchConfig's proxy config","Skip launching the executor-local proxy entirely when it is disabled"],"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"}