Skip to content

All models — Codex CLI hangs indefinitely on all prompts, no response generated #14048

Closed

Description

@galcianuk

What version of Codex CLI is running?

v0.111.0, v0.112.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.4, gpt-5.3

What platform is your computer?

Windows

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

WSL

What issue are you seeing?

Codex CLI accepts prompts but produces massively delayed response. The model appears to hang indefinitely — no streaming output, no error, no timeout. This
affects all prompt types (simple greetings, questions, codebase analysis). The status bar shows "gpt-5.4 high · 100% left" throughout, suggesting no tokens are being consumed.

What steps can reproduce the bug?

Steps to reproduce:

  1. Launch codex (v0.112.0) with model gpt-5.4 high
  2. Enter any prompt (e.g., "Hello", "Explain this codebase")
  3. Wait — no response is ever generated

What is the expected behavior?

Model should respond.

Additional information

Observed behavior:

  • Prompt is accepted and displayed in the conversation
  • No streaming output begins
  • No error message or timeout
  • Status bar remains at "100% left"
  • Tested with 5 consecutive prompts over several minutes — received a response eventually after 5 minutes.
Image

Activity

  1. added
    bug
    on Mar 9, 2026
  2. added
    CLI
    windows-os
    on Mar 9, 2026
  3. github-actions commented on Mar 9, 2026

    @github-actions
    Contributor
  4. etraut-openai commented on Mar 9, 2026

    @etraut-openai
    Contributor

    It sounds like you suspect this is a regression? Let's see if we can confirm that because it will inform prioritization. If you downgrade to 0.111.0, does the problem go away?

  5. galcianuk commented on Mar 9, 2026

    @galcianuk
    Author

    No, it doesn't go away after updating. And I also noticed it happens on 5.3 as well.

  6. etraut-openai commented on Mar 9, 2026

    @etraut-openai
    Contributor

    OK, then this isn't a regression. I don't think we've received other reports of this, so it's possible that this is specific to your system. Perhaps you changed something recently in your shell configuration or Codex configuration? Or maybe there's something corrupt within your .codex directory.

  7. zouyang666 commented on Mar 9, 2026

    @zouyang666

    I have the same problem.

  8. galcianuk commented on Mar 9, 2026

    @galcianuk
    Author

    OK, then this isn't a regression. I don't think we've received other reports of this, so it's possible that this is specific to your system. Perhaps you changed something recently in your shell configuration or Codex configuration? Or maybe there's something corrupt within your .codex directory.

    Nothing has changed. It stopped working after the release of gpt 5.4 :(.

  9. nilswx commented on Mar 9, 2026

    @nilswx

    Same problem (gpt-5.4 and gpt-5.3-codex), happens predominantly right around forced compaction time (10-20%). I have to remind myself to /compact or risk being stuck for 30+ minutes.

    'Remote compaction task' also fails more often. Problem seems serverside (session cache invalidation?). I'm able to get a quick response in a new chat, but even codex fork on the old (long) chat leads to a long (and quiet) stall.

    codex-cli 0.113.0-alpha.1 and macOS app Version 26.305.950 (863) (codex-cli 0.108.0-alpha.12)

    EDIT: still happens after rotating VPN IP and cp auth.json dance to switch ChatGPT accounts. After around 15 minutes it timed out with Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact), seems unrelated to server caches. Quiet compaction overrun, buffer too small?

  10. shivakanthsujit commented on Mar 9, 2026

    @shivakanthsujit

    Yes I am having the same issue. Started right after I updated to the newest version 10 minutes ago. Was working before the update. After I send a message I dont get any response, and the cli just hangs.

  11. songkeys commented on Mar 9, 2026

    @songkeys

    Having the same issue. 10 minutes ago.

    v0.112.0. It worked fine ten minutes ago in the same version, but suddenly it just hangs on every message.

  12. puzanov commented on Mar 9, 2026

    @puzanov

    I have the same issue which started to happen today after I've updated to v0.112.0.
    Box: Arch Linux
    Behavior: Worked well after update for a hour or two, right now all prompts do not have any responses.
    Even the command /exit does not work so I have to kill codex from the process list.

  13. songkeys commented on Mar 9, 2026

    @songkeys
    RUST_LOG='codex_api::sse::responses=trace' codex exec --sandbox read-only --model gpt-5.3-codex 'ping'
    OpenAI Codex v0.112.0 (research preview)
    --------
    workdir: ...
    model: gpt-5.3-codex
    provider: openai
    approval: never
    sandbox: read-only
    reasoning effort: xhigh
    reasoning summaries: none
    session id: 019cd167-d5c3-7691-a3af-ce39bd4ca827
    --------
    user
    ping
    2026-03-09T07:02:56.577787Z TRACE codex_api::sse::responses: unhandled responses event: response.in_progress
    2026-03-09T07:02:58.437882Z TRACE codex_api::sse::responses: unhandled responses event: response.in_progress
    2026-03-09T07:03:02.608218Z TRACE codex_api::sse::responses: unhandled responses event: response.content_part.added
    2026-03-09T07:03:02.708617Z TRACE codex_api::sse::responses: unhandled responses event: response.output_text.done
    2026-03-09T07:03:02.708654Z TRACE codex_api::sse::responses: unhandled responses event: response.content_part.done
    codex
    pong
    tokens used
    17,582
    

    I think I just found the issue. It looks like the response is not handled at all; only the result is printed.

  14. puzanov commented on Mar 9, 2026

    @puzanov
    RUST_LOG='codex_api::sse::responses=trace' codex exec --sandbox read-only --model gpt-5.3-codex 'ping'
    OpenAI Codex v0.112.0 (research preview)
    --------
    workdir: ...
    model: gpt-5.3-codex
    provider: openai
    approval: never
    sandbox: read-only
    reasoning effort: xhigh
    reasoning summaries: none
    session id: 019cd167-d5c3-7691-a3af-ce39bd4ca827
    --------
    user
    ping
    2026-03-09T07:02:56.577787Z TRACE codex_api::sse::responses: unhandled responses event: response.in_progress
    2026-03-09T07:02:58.437882Z TRACE codex_api::sse::responses: unhandled responses event: response.in_progress
    2026-03-09T07:03:02.608218Z TRACE codex_api::sse::responses: unhandled responses event: response.content_part.added
    2026-03-09T07:03:02.708617Z TRACE codex_api::sse::responses: unhandled responses event: response.output_text.done
    2026-03-09T07:03:02.708654Z TRACE codex_api::sse::responses: unhandled responses event: response.content_part.done
    codex
    pong
    tokens used
    17,582
    

    I think I just found the issue. It looks like the response is not handled at all; only the result is printed.

    Interesting. From my side it just hangs and no response are coming

    RUST_LOG='codex_api::sse::responses=trace' codex exec --sandbox read-only --model gpt-5.3-codex 'ping'
    OpenAI Codex v0.112.0 (research preview)
    --------
    workdir: /home/checker
    model: gpt-5.3-codex
    provider: openai
    approval: never
    sandbox: read-only
    reasoning effort: xhigh
    reasoning summaries: none
    session id: 019cd16c-08a0-7752-83ba-eaa296f4dde2
    --------
    user
    ping
    mcp startup: no servers
    
  15. 118 remaining items

  16. alok0590 commented on Mar 10, 2026

    @alok0590

    Working well for me now from several hours. Just signed out, signed in. Started new terminal session.

  17. aldemirolgun-source commented on Mar 10, 2026

    @aldemirolgun-source

    some people say its also not working in paid accounts too

  18. cotsuka commented on Mar 10, 2026

    @cotsuka

    Hitting this error in paid account.

  19. galcianuk commented on Mar 11, 2026

    @galcianuk
    Author

    This is fixed for me now. Thank you!

  20. StativBus commented on Mar 11, 2026

    @StativBus

    For me issue persists: 019cdc16-2f1f-7a73-a570-bd3ceec5a0c3

  21. djosh34 commented on Mar 11, 2026

    @djosh34

    Still problems sometimes, it still gets stuck.

    This time it was not for long, but I think it should say that it is waiting on something, if it does. Since now it just appears freezed without any feedback.

    Uploaded thread: 019cdcdd-d0f5-79e3-9a5a-568adc7ce038

  22. kukudeshiyi commented on Mar 12, 2026

    @kukudeshiyi

    yep, still happening, in both cli and vscode extension, just freezing in thinking phase, no output, even can not quit in cli.

  23. Ehtz commented on Mar 12, 2026

    @Ehtz

    Agree problem is black. Thinking for ever.

  24. haeferer commented on Mar 12, 2026

    @haeferer

    Jup, also on my side

  25. bjfishman commented on Mar 12, 2026

    @bjfishman

    Still happening for me on a paid account, after logging out and logging back in again. Getting stuck on Thinking, disconnecting, then erroring out. Using the VSCode extension.

  26. DonyThePony commented on Mar 13, 2026

    @DonyThePony

    Same Issue here on linux as well, paid account.

  27. DevinFu commented on Mar 14, 2026

    @DevinFu

    Same issue for me. both in cli and vs extension.
    cli version: 0.114.0
    extension version: v26.311.21342
    os: mac os 15.7.4 with M2 chip

    Now, my solution is downgrade cli version to 0.100.0 and extennsion version to 0.4.76.

    Please fix it ASAP

  28. kubk commented on Mar 16, 2026

    @kubk

    Same issue. Paid account, had to downgrade to 0.100.0

  29. CHENyiru3 commented on Mar 16, 2026

    @CHENyiru3

    Same in MacOS. I downgraded to v0.100.0 to make it work. Other version after this one can't work too. This is a really breaking bug

  30. locked as resolved and limited conversation to collaborators on Mar 16, 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

    agentbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions