openai/codex · error · io::Error
network proxy attribution token is too long
Error message
network proxy attribution token is too long
What it means
Error "network proxy attribution token is too long" thrown in openai/codex.
Source
Thrown at codex-rs/network-proxy/src/attribution.rs:131
io::ErrorKind::TimedOut,
"network proxy attribution frame timed out",
)
})??;
Ok(Some(token))
}
/// Writes the trusted bridge preface consumed by the shared proxy ingress.
#[doc(hidden)]
pub fn write_attribution_frame(writer: &mut impl Write, token: &str) -> io::Result<()> {
if token.is_empty() || token.len() > MAX_ATTRIBUTION_TOKEN_LEN {
return Err(io::Error::new(
io::ErrorKind::InvalidInput,
"invalid network proxy attribution token length",
));
}
let token_len = u16::try_from(token.len()).map_err(|_| {
io::Error::new(
io::ErrorKind::InvalidInput,
"network proxy attribution token is too long",
)
})?;
writer.write_all(ATTRIBUTION_FRAME_MAGIC)?;
writer.write_all(&token_len.to_be_bytes())?;
writer.write_all(token.as_bytes())
}
#[cfg(test)]
#[path = "attribution_tests.rs"]
mod tests;
View on GitHub (pinned to 339751715c)
When it happens
Trigger: Thrown at codex-rs/network-proxy/src/attribution.rs:131 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/d13a099b5f542206.
Report an issue: GitHub.