in w11 codex says unauthorized fails 5/5 retries. the same plus account works from wsl on same machine but i process large files io perf is key wsl is slow

Resolved 💬 4 comments Opened Oct 25, 2025 by neurall Closed Oct 25, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.48.0

What subscription do you have?

plus

Which model were you using?

tried all same error

What platform is your computer?

w11

What issue are you seeing?

codex fails to conect after 5/5 attempt says ■ exceeded retry limit, last status: 401 Unauthorized, request id: 994026a34f3ea3c1-BTS
the same acct works in wsl same computer/net

/status

╭──────────────────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.48.0) │
│ │
│ Model: gpt-5 (reasoning minimal, summaries auto) │
│ Directory: ~ │
│ Approval: on-request │
│ Sandbox: workspace-write │
│ Agents.md: <none> │
│ Account: (Plus) │
│ Session: 019a1a5a-d365-7a22-885c-1111f499046a │

What steps can reproduce the bug?

Uploaded thread: 019a1a5a-d365-7a22

What is the expected behavior?

working?

Additional information

is there log file somewhere to see why its failing?

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5553
  • #5456
  • #5345

Powered by Codex Action

neurall · 10 months ago

tried npm uninstall. codex survived needed to manually remove and reinstall. in past had nightly installed maybe some config remnants? strangely yesterday error was not unauthorized but some tools entry? error ? deleted .codex dir . codex briefly worked once on w11 then suddenly 401 unauthorized error deleting .codex dir and reauth doesnt help anymre

neurall · 10 months ago

delete OPENAI_API_BASE in env ;) I had hunch it would be the cause. Worked for me

neurall · 10 months ago

delete OPENAI_API_BASE in env ;) I had hunch it would be the cause. Worked for me