{"record":{"id":"61bf3c469f56fc55","repo":"openai/codex","slug":"proxy-client-token-has-no-registered-network-proxy","errorCode":null,"errorMessage":"proxy client token has no registered network proxy route SID","messagePattern":"proxy client token has no registered network proxy route SID","errorType":"exception","errorClass":"io::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/network-proxy/src/windows_proxy_ingress.rs","lineNumber":344,"sourceCode":"async fn run_listener(\n    listener: TcpListener,\n    dispatcher: IngressDispatcher,\n    protocol: &'static str,\n    addr: SocketAddr,\n) {\n    info!(\"shared managed Windows {protocol} proxy ingress listening on {addr}\");\n    listener.serve(dispatcher).await;\n}\n\nfn registered_route_for_sids(\n    routes: &HashMap<String, Arc<RouteServices>>,\n    restricting_sids: &[String],\n) -> io::Result<Arc<RouteServices>> {\n    let mut matching_routes = restricting_sids\n        .iter()\n        .filter_map(|sid| routes.get(sid).cloned());\n    let route = matching_routes.next().ok_or_else(|| {\n        io::Error::new(\n            io::ErrorKind::PermissionDenied,\n            \"proxy client token has no registered network proxy route SID\",\n        )\n    })?;\n    if matching_routes.next().is_some() {\n        return Err(io::Error::new(\n            io::ErrorKind::PermissionDenied,\n            \"proxy client token has multiple registered network proxy route SIDs\",\n        ));\n    }\n    Ok(route)\n}\n\nfn random_restricting_sid() -> String {\n    let a = rand::random::<u32>();\n    let b = rand::random::<u32>();\n    let c = rand::random::<u32>();\n    let d = rand::random::<u32>();","sourceCodeStart":326,"sourceCodeEnd":362,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/network-proxy/src/windows_proxy_ingress.rs#L326-L362","documentation":"Error \"proxy client token has no registered network proxy route SID\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/network-proxy/src/windows_proxy_ingress.rs:344 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"}