openai/codex · error
failed to build managed network proxy from {source}: {err}
Error message
failed to build managed network proxy from {source}: {err} What it means
Error "failed to build managed network proxy from {source}: {err}" thrown in openai/codex.
Source
Thrown at codex-rs/core/src/config/mod.rs:572
fn build_network_proxy_spec(
configured_network_proxy_config: NetworkProxyConfig,
network_requirements: Option<Sourced<codex_config::NetworkConstraints>>,
permission_profile: &PermissionProfile,
) -> std::io::Result<Option<NetworkProxySpec>> {
let (network_requirements, network_requirements_source) = match network_requirements {
Some(Sourced { value, source }) => (Some(value), Some(source)),
None => (None, None),
};
let has_network_requirements = network_requirements.is_some();
let network = NetworkProxySpec::from_config_and_constraints(
configured_network_proxy_config,
network_requirements,
permission_profile,
)
.map_err(|err| {
if let Some(source) = network_requirements_source.as_ref() {
std::io::Error::new(
err.kind(),
format!("failed to build managed network proxy from {source}: {err}"),
)
} else {
err
}
})?;
Ok(if has_network_requirements {
Some(network)
} else {
network.enabled().then_some(network)
})
}
/// Configured thread persistence backend.
#[derive(Debug, Clone, PartialEq, Eq, Default)]
pub enum ThreadStoreConfig {View on GitHub (pinned to 339751715c)
Solutions
- Fix the managed network proxy settings from the reported source per the underlying error.
When it happens
Trigger: Thrown at codex-rs/core/src/config/mod.rs:572 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/739f65366437bc07.
Report an issue: GitHub.