openai/codex · error · io::Error
proxy client token has no registered network proxy route SID
Error message
proxy client token has no registered network proxy route SID
What it means
Guard in registered_route_for_sids (windows_proxy_ingress.rs): the connecting process's restricting SIDs were computed, but none of them match a registered network proxy route SID in the routes map. The client process is therefore not authorized to use the shared managed ingress and gets PermissionDenied.
Solutions
- Ensure the client process was launched under a route that registered its restricting SID
- Re-register the network proxy route before the client connects
- Check that the client is connecting through the managed proxy rather than directly
Defensive patterns
Strategy: type-guard
When it happens
Trigger: Thrown at codex-rs/network-proxy/src/windows_proxy_ingress.rs:344 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/61bf3c469f56fc55.
Report an issue: GitHub.
Appendix: source
Thrown at codex-rs/network-proxy/src/windows_proxy_ingress.rs:344
async fn run_listener(
listener: TcpListener,
dispatcher: IngressDispatcher,
protocol: &'static str,
addr: SocketAddr,
) {
info!("shared managed Windows {protocol} proxy ingress listening on {addr}");
listener.serve(dispatcher).await;
}
fn registered_route_for_sids(
routes: &HashMap<String, Arc<RouteServices>>,
restricting_sids: &[String],
) -> io::Result<Arc<RouteServices>> {
let mut matching_routes = restricting_sids
.iter()
.filter_map(|sid| routes.get(sid).cloned());
let route = matching_routes.next().ok_or_else(|| {
io::Error::new(
io::ErrorKind::PermissionDenied,
"proxy client token has no registered network proxy route SID",
)
})?;
if matching_routes.next().is_some() {
return Err(io::Error::new(
io::ErrorKind::PermissionDenied,
"proxy client token has multiple registered network proxy route SIDs",
));
}
Ok(route)
}
fn random_restricting_sid() -> String {
let a = rand::random::<u32>();
let b = rand::random::<u32>();
let c = rand::random::<u32>();
let d = rand::random::<u32>();View on GitHub (pinned to 339751715c)