Skip to content

Codex CLI intermittently gets stuck in “Working” state; reconnect retries occur before normal execution #24419

Open

Description

@HorseNewBee

What version of Codex CLI is running?

0.133.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.5 (reasoning medium, summaries auto)

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What terminal emulator and version are you using (if applicable)?

PowerShell on Windows; also using psmux in some sessions

Codex doctor report

not available

What issue are you seeing?

I am seeing two intermittent Codex CLI reliability issues.

  1. Severe issue: after sending a message, Codex sometimes remains in a status like:
Working (3m 06s • esc to interrupt)

The timer keeps increasing, but there is no visible progress or output. This can last more than ten minutes. If I press Esc to interrupt and then send the exact same message again, it may immediately run normally.

This also sometimes happens in the middle of a task: Codex has already started doing work, then it reaches a Working (...) state and stops making visible progress indefinitely.

This is serious for automation workflows because it looks like Codex is still working, but in practice it may be stuck. I can come back much later and find that it never progressed.

  1. Less severe issue: when sending a message, Codex sometimes shows reconnect messages such as:
Reconnecting... 1/5

It may retry up to 5 times, and after those failures it can still start running normally. This adds one or two minutes of delay, but is less damaging than the indefinite Working (...) hang.

I do not know whether these two symptoms have the same root cause, but they both look like intermittent CLI/session/network state issues.

What steps can reproduce the bug?

The issue is intermittent, so I do not have a deterministic minimal repro yet.

Observed workflow:

  1. Start Codex CLI.
  2. Send a normal task message.
  3. Sometimes Codex enters Working (Xm Ys • esc to interrupt) and stays there without visible progress for many minutes.
  4. Press Esc to interrupt.
  5. Send the exact same message again.
  6. The same request may then execute normally.

It can also happen after Codex has already started a multi-step task: the run reaches a Working (...) status and then appears stuck.

Session / environment details from one affected session:

OpenAI Codex v0.133.0
Model: gpt-5.5 (reasoning medium, summaries auto)
Directory: C:\project\daxing-erp
Permissions: Full Access
Collaboration mode: Default
Session: 019e34b2-5819-74c2-8af3-7114a69405f4

The issue form URL also included an uploaded thread id:

019e4059-180d-7ab3-ae18-4cc92fd31d0d

What is the expected behavior?

Codex should either continue making progress, show output, or fail with a clear recoverable error.

If the backend/session/network is stalled, the CLI should detect that state and surface an actionable error or automatically recover instead of remaining indefinitely in Working (...) with no visible progress.

For reconnect attempts, the CLI should make clear what it is reconnecting to and whether the retry sequence affects the submitted prompt.

Additional information

Impact: high for the Working (...) hang because it can break unattended automation. The reconnect issue is lower impact because it usually resolves after a short delay.

I am filing both symptoms together because they both occur around message submission / run execution and may be related to session or transport state.

Activity

  1. added
    bug
    on May 25, 2026
  2. added
    CLI
    windows-os
    connectivity
    TUI
    on May 25, 2026
  3. boscoj2008 commented on May 25, 2026

    @boscoj2008

    I noticed the same behavior 3 days ago. I'm pro but It feels like using a free plan where a subscription might be required to access premium features.

  4. nos1609 commented on May 25, 2026

    @nos1609

    thought I'm the only one having those issues today...
    019e5520-058b-7de2-888e-7b9eb925e5b3

  5. MisterRound commented on May 25, 2026

    @MisterRound

    Widespread issue, see mine #24260

  6. HorseNewBee commented on May 27, 2026

    @HorseNewBee
    Author

    I think this issue may be related to network conditions. After I tried improving my network stability, the frequency of this problem decreased.

  7. removed
    TUI
    on Nov 22, 2026
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

    CLIbugconnectivitywindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions