exceeded retry limit, last status: 401 Unauthorized
Resolved 💬 5 comments Opened Nov 28, 2025 by William66853 Closed Dec 16, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
latest
What subscription do you have?
business
Which model were you using?
gpt 5.1 codex max
What platform is your computer?
_No response_
What issue are you seeing?
Reconnecting... 1/5
Reconnecting... 2/5
Reconnecting... 3/5
Reconnecting... 4/5
Reconnecting... 5/5
exceeded retry limit, last status: 401 Unauthorized, request id: 9a5793386e39fede-SIN
What steps can reproduce the bug?
exceeded retry limit, last status: 401 Unauthorized, request id: 9a57a2034f0c411d-SIN
What is the expected behavior?
_No response_
Additional information
_No response_
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Does the problem persist, or was this a one-time occurrence?
If it persists, is it fixed by logging out and logging back in?
Are you logged in with ChatGPT or an API Key?
The problem has persisted. Logging in again didn't work either.
ChatGPT login
I got exactly the same issue can't login again either
Route Error (400 Invalid Session): "Your authorization session was not initialized or has expired"
This is ChatGPT login
<img width="1220" height="589" alt="Image" src="https://github.com/user-attachments/assets/e52e48dd-bbca-4e27-aa78-ae2fd89c6ea5" />
Check this: go to codex → codex settings → open config.toml. Make sure config.toml is clean; this may solve the problem.