Stream error timeouts during usage

Resolved 💬 4 comments Opened Sep 25, 2025 by daufdi Closed Nov 23, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.41.0

Which model were you using?

gpt-5-codex

What platform is your computer?

Linux 22.04

What steps can reproduce the bug?

Any request that I initiate

What is the expected behavior?

Doesn't timeout

What do you see instead?

Codex is constantly timing out in between responding. This has been the behavior for weeks. I have updated to multiple versions and have experienced the same behavior. You can see in the screenshot that I have authenticated because I am getting responses in between the timeouts.

<img width="1125" height="834" alt="Image" src="https://github.com/user-attachments/assets/ff9e8a61-996f-4402-b163-e694dd6e7609" />

Additional information

_No response_

View original on GitHub ↗

4 Comments

alex-heritier · 11 months ago

I'm on mac os 26.1 Beta (25B5042k) also with the same version of codex 0.41.0 and I've been getting this error for every single request I make for the past 3-4 days. Completely unusable.

dlukt · 11 months ago

You have to log out and in again. I suspect the refresh tokens were revoked or expired.

daufdi · 11 months ago
You have to log out and in again. I suspect the refresh tokens were revoked or expired.

I continuously log out and back in 20+ times a day when it completely refuses to respond.
Still these stream errors persist.
It seems to be part of the required workflow.

etraut-openai contributor · 9 months ago

This issue was related to token refresh and has since been fixed, so I'm going to close this. If you see similar problems with the latest version of codex, please use the /feedback slash command to upload your session and file a new issue.