Skip to content

Stream error timeouts during usage #4231

Closed

Description

@daufdi

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.

Image

Additional information

No response

Activity

  1. added
    bug
    on Sep 25, 2025
  2. alex-heritier commented on Sep 25, 2025

    @alex-heritier

    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.

  3. dlukt commented on Sep 25, 2025

    @dlukt

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

  4. daufdi commented on Sep 25, 2025

    @daufdi
    Author

    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.

  5. etraut-openai commented on Nov 23, 2025

    @etraut-openai
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions