Codex stuck at Reconnecting 5/5 or disconnecting mid-response
Save progress, test a new chat, reopen the client and compare connections.
Start here
Start a new chat in the same project and send a short test. If it responds, continue there; otherwise reopen the client and check the connection.
On this page
1. Save progress
- Save edited files, note the task and error, and keep the old chat.
- If publishing or a data write was running, check its result before continuing.
2. Test a new chat
- Start a new chat in the same project; in the CLI chat box, use /new.
- Send the first line below. If it responds, fill in the short handoff and continue.
Reply only OK. Do not read files or use tools.
Continue this task:
Goal:
Completed work and files:
Remaining work:
Check the existing results before continuing.3. Reopen the client
- Save your work, quit through the app menu and reopen it. For CLI, exit normally and run it again.
- Repeat the short message. If restored, try a small task before returning to the main work.
4. Compare the connection and error
- Try the same message on another trusted, available network. Use the working connection if it succeeds.
- For 401 errors, use the login guide; for context errors, use the context-window guide.
5. Contact support
- Send the client version, time, error screenshot and results from the new-chat and network tests.
- Hide account details so support can help investigate.