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
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?
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
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
delete OPENAI_API_BASE in env ;) I had hunch it would be the cause. Worked for me
delete OPENAI_API_BASE in env ;) I had hunch it would be the cause. Worked for me