mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why The generic token exchange unavailable error gives users no indication that they should check their trusted CA certificates when a TLS failure occurs. ## What changed Report TLS failures during token exchange with guidance to check the trusted CA certificates on the host or container. Keep these failures transient and continue reporting other request failures as exchange unavailable. ## Testing Add a regression test that checks the certificate guidance for an invalid custom CA file and verifies that both TLS failures and timeouts remain transient, with timeouts still reported as exchange unavailable. GitOrigin-RevId: b4eb9eb9eb86d4703b9b96b3e339d2764bc5644f