All models — Codex CLI hangs indefinitely on all prompts, no response generated
Resolved 💬 131 comments Opened Mar 9, 2026 by galcianuk Closed Mar 10, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
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:
- Launch codex (v0.112.0) with model gpt-5.4 high
- Enter any prompt (e.g., "Hello", "Explain this codebase")
- 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.
<img width="2147" height="1144" alt="Image" src="https://github.com/user-attachments/assets/06db2637-1c44-4d97-82d3-bd5bb64b7fd3" />
131 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
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?
No, it doesn't go away after updating. And I also noticed it happens on 5.3 as well.
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
.codexdirectory.I have the same problem.
Nothing has changed. It stopped working after the release of gpt 5.4 :(.
Same problem (
gpt-5.4andgpt-5.3-codex), happens predominantly right around forced compaction time (10-20%). I have to remind myself to/compactor 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 forkon the old (long) chat leads to a long (and quiet) stall.codex-cli 0.113.0-alpha.1and macOS appVersion 26.305.950 (863) (codex-cli 0.108.0-alpha.12)EDIT: still happens after rotating VPN IP and
cp auth.jsondance to switch ChatGPT accounts. After around 15 minutes it timed out withError running remote compact task: stream disconnected before completion: error sending request for url, seems unrelated to server caches. Quiet compaction overrun, buffer too small?(https://chatgpt.com/backend-api/codex/responses/compact)
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.
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.
I have the same issue which started to happen today after I've updated to
v0.112.0.Box:
Arch LinuxBehavior: Worked well after update for a hour or two, right now all prompts do not have any responses.
Even the command
/exitdoes not work so I have to kill codex from the process list.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
My hunch is (oversized) remote compaction tasks. Wish we had #13087 and #14024 already, to fork thread right before the problematic message that pushes it over the compaction buffer limit. Now I'm cucked. 🐀
#14054 reports another recent compaction issue, but that's even without a lengthy session. This is affecting multiple users right now across multiple apps (even stable desktop app, a few CLI versions behind), suggesting a serverside problem (not CLI regression), @etraut-openai.
Possibly related (Reddit): chatgpt_54_1m_context_is_actually_900k_context
'Compaction death spiral' (#13279) could also eat a lot of tokens.
I'm getting the same on MacOS. I thought it was related to 0.112.0, but when I downgraded to the previous version I was using (0.110.0) I ran into the same issue. It's happening on startup, so the issue I'm encountering is not related to compaction.
okay it hangs indefinitely for me now as well.....
---
edit: after waiting for ~5 mins, it outputs "pong"
Don't think it is related to compaction. It happens on startup for me.
Has anyone solved it?
@songkeys: well shit, only 17,582 tokens? No compaction needed. There goes my theory, @galcianuk.
New chat now also fails, but at least it doesn't hang. Few seconds of 'Thinking', then no response.
But now
CTRL-Cdoesn't even work (CLI). Let's see if OpenCode works with ChatGPT plans.EDIT: after 5 minutes (5m 2s),
CTRL-Cfinally exited the CLI.You can try to call
RUST_LOG=trace codex exec --sandbox read-only --model gpt-5.4 'ping'and watch the noisy output. Seems that something is related to remote use case.Same issue here, switching model or downgrade codex version doesn't help, it's just hang up without any output.
I completely removed the .codex directory, and that solved the issue. Honestly, the previous .codex directory was easy to understand, but now it's extremely hard to understand.
You can see that codex is doing a lot of calls with ping and pong responses. Probably the new version has been created more calls on their websocket servers. I see that some pings now works fast, some still hands.
Just tried OpenCode with the same ChatGPT account to rule out a
~/.codexissue. It took 1m 6s to respond.<img width="749" height="420" alt="Image" src="https://github.com/user-attachments/assets/fb73c999-b0c9-4682-ba84-61b6d454323e" />
Does your account still work, @iwangjie? I tried two accounts and different VPN IPs.
@nilswx Try deleting the .codex directory and downgrading to 0.111.0, it should work then.
Not resolved, @iwangjie. Both accounts still frozen/throttled, even in OpenCode. Silent rate limiter flag on the account?
Error running remote compact task: stream disconnected before completion: error sending requeafter exactly 5 minutes.st for url (https://chatgpt.com/backend-api/codex/responses/compact)
I'm backing off until we learn more. Best not risk more usage (#14059).
I deleted the sandbox-related content in config.toml,and downgade to 0.111.0,then it works.
My issue is not limited to GPT-5.4. It happens with all models.
My platform is a Macbook with an M1 chip. I have tried uninstalling and reinstalling codex-cli, the VS Code extension, and the Codex app, but the problem still persists.
I have the same problem
I had encountered same issue, after update to
0.112.0but then I realized .codex/version.json
latest_versionstill using0.111.0changing
latest_versionto0.112.0solved mineMine is already
0.112.0. Not working.Same here.
Same, with opencode and codex too, wait too long to receive the response
Codex TUI has stopped responding completely. Codex app goes into long Thinking mode.
<img width="824" height="727" alt="Image" src="https://github.com/user-attachments/assets/f0e6e462-dbc4-4140-b41a-85faada1d8a6" />
same on opencode and getting Bad Request: {"detail":"Bad Request"} a lot lately
GPT 5.4 seems to be working fine via github copilot though
<img width="2191" height="271" alt="Image" src="https://github.com/user-attachments/assets/82af3869-4783-413f-ae04-727040fe9bb7" />
Example of delayed responses when giving new prompt.
Same with on both opencode and codex. Web and API(through OpenRouter) work fine.
It happened on MacOS too
same i have this problem.
i was on the v0.111.0 version at first, it still occurs
i then updated to v0.112.0 and it still persists
Same here. MacOS 0.112.0.
i have the same problem after just updating the version of my codex cli
https://github.com/openai/codex/issues/13868
Please check https://chatgpt.com/cyber and see your cyber verification status.
In my case, the verification was not enabled at first, then it became verified earlier this morning. However, about 4 hours ago it was removed again.
Since then, all responses have become slow and many requests are not being processed properly.
I would appreciate it if you could check your cyber verification page and share your status as well.
---
Is this unrelated to the cyber verification issue?
My account shows that cyber verification has been removed. Could you please check why my account is showing as unverified?
its the sandbox_mode = "danger-full-access" in the config.toml. i deleted it and codex works as per normal
for some odd reason you need to wait 10 mins for codex after deleting sandbox_mode = "danger-full-access" then it works.
Downgrading to 0.110.0 fixed it.
I'm experiencing the same issue on Arch Linux and now on macOS as well.
On Arch Linux, I tested with versions 111 and 112, and both show the same problem.
On macOS, I tested with version 110. It was working fine until about 20 minutes ago — no updates or configuration changes on my side — but it suddenly stopped working as well.
Quick question for others encountering this: are you using Codex via your ChatGPT account, or through the API?
Example minimal test:
codex exec --skip-git-repo-check --sandbox danger-full-access "dis juste ok"
Output:
OpenAI Codex v0.110.0 (research preview)
workdir: /home/jithurbide
model: gpt-5.3-codex
provider: openai
approval: never
sandbox: danger-full-access
reasoning effort: none
reasoning summaries: none
session id: 019xxxxxxxxxxxxxxx
user
dis juste ok
mcp startup: no servers
After that, nothing happens. The process just hangs.
It's also happening with the codex app and the chatgpt app has been very slow, so it seems to be an API issue. Strangely though, I can use GPT 5.4 in Cursor with no problem
I had this issue throughout several versions. I have the impression that it has something to do with the interaction with the repository one currently uses. I got this "no response" when I worked in different directories. When I just copy the content (without git) to a completely clean folder and start codex from that folder after a new git init, then it does respond to requests again. If I go back to the old folder and start codex, I still get no response
I've now suddenly got this problem after upgrading to 0.112.0. Downgrading to 0.111.0 or 0.110.0 doesn't fix it. It doesn't respond to "ctrl + c"; I have to press "ctrl + z" to suspend and then manually kill the process.
I'm using Ubuntu 24 and I installed codex via sudo npm install.
It's back working for me now. didn't do anything. Must have been fixed on OpenAI end. Please check whether it works for you.
same to me
same here on
almalinux-release-9.7-1.el9.aarch64just hangs on first prompt, nothing happens, no ctrl+c, only ctrl+z + kill
im running on a vm
EDIT:
EDIT 2:
FWIW it hangs for me on alacritty but not on gnome-terminal. I suspect some terminal interaction is going wrong. (Ubuntu 25.10)
Seems to be fixed now
Same to me after update to v0.112.0 (Mac)
great stuff
v112.0
Macos
<img width="620" height="726" alt="Image" src="https://github.com/user-attachments/assets/31343eb8-769f-4bd5-9888-6acae9e62531" />
Same issue, nothing is working
Same here. What’s strange is that it seems related to the terminal being used.
On my Mac:
On a remote host:
So the behavior seems to depend on the terminal emulator and/or how the TTY is handled over SSH.
Same here, MacOS 26.3.1 (25D2128). I tried with Warp, Terminal, the terminal inside IntelliJ IDEs and I get the same result in all the tests (no response from Codex).
Edit: I was with version 0.111.0, upgrading to 0.112.0 did not fix it.
Same here, codex was extremely slow today and right now doesn't work at all
UPD: downgrading to 0.110.0 helped
UPD2: it helped only for a short time, broke again
i also ran into this issue. just waiting for a while works. only noticed this on new sessions in the CLI. here is MiniMax 2.5's analysis using claude code
macos 26.3.1
tried with v0.112, v0.111, and v0.110
I have the same problem after updating to codex latest version today on Mac. It does eventually accept the prompt after a while and afterwards it works just fine.
Problem is just the first prompt when we start/resume a session.
Was working just fine mins before I updated
consider updating the title of this issue since its not specific to 5.4 high
I don't know if this is relevant, but it happens on other harnesses too.
Uptime on OpenRouter seems good for now
Either it does not yet reflect the downtime or the issue only happens with chatgpt plus/pro etc subscription and not API keys
so, it's not terminal related - the problem is on their side? Do we just wait?
I had the same issue today on both the Mac CLI and the app. I’m on the Plus plan, and logging out and then back in fixed it for me.
same issue on VSCode with Codex plugin
Can you try give us an update in 20 minutes whether this is still worked
@ClementV78
not working for me
one data point i dont see mentioned in this thread: once you finally get the first response (if you do get it), at least for me, it works as usual.
old sessions that i had started before this issue are also still healthy.
It seems like starting new sessions and sending the first message is the blocker.
in my case old session gets stuck at "working" and i don't get actual answer back. Do you get answer back?
yes. im on a pro subscription, not sure if that matters but sharing for data.
same for me, on aarch64 ubuntu. downgrade to 110, wiping codex dir and reinstalling did not help.
Same issue here
same
I had multiple Codex processes running simultaneously (same API key, Plus subscription). While
one session was actively making tool calls (running tests, applying patches), a second
session's submissions were completely silent — created but never processed. The second session
started working shortly after the first session's turn completed (codex_core::codex: close).
This suggests possible API-level queuing or rate limiting that Codex doesn't surface to the
user — no timeout, no error, no "waiting" indicator.
Environment:
I've encountered a similar issue suddenly. The CLI starts quickly as usual, but then after any prompt it doesn't show the "working" status and just freezes. Even Ctrl+C doesn't stop it.
Some testing on my side has shown inconsistent results across attempts. Seems to be a backend issue.
<details>
<summary>Test results</summary>
<img width="1136" height="632" alt="Image" src="https://github.com/user-attachments/assets/3171978b-3428-40ca-a779-46a29b827ac9" />
<img width="806" height="642" alt="Image" src="https://github.com/user-attachments/assets/0ec6492a-b495-4082-a53b-afb597597520" />
<img width="1538" height="642" alt="Image" src="https://github.com/user-attachments/assets/2cdf3447-cdbe-408f-8c89-8ab1995f6dcd" />
<img width="802" height="624" alt="Image" src="https://github.com/user-attachments/assets/a7f51f8d-1f25-4fbd-b40f-d6d7ca0f6138" />
</details>
same here on MacOSX. I start codex in my workspace, enter the prompt, press ENTER and then .... nothing. /exit is ignored, CTRL+C is ignored. plain silence :-)
I had the same issue after updating to v0.112.0. It was just "hanging" on my Ubuntu machine (Chat-GPT Plus subscription). I tried different things, but in the end, I made it work. Here is what I did:
v0.112.0. Thecodexwas hanging and not responding to the/exitorCtrl+Ccommand. So I just quit the terminal.v0.111.0and then tov0.110. This did not help.gpt-5.1-codex-minimodel, wroteHi, and waited for a response for about 10-15 minutes. After that, I was able to communicate and normally close the session using/exit.<img width="1033" height="170" alt="Image" src="https://github.com/user-attachments/assets/753854b4-8eb9-400f-bfe0-76d55c59ca5d" />
So I do not know the exact solution, but it seems that waiting for the response and then killing other processes made it work.
thanks, i just restarted my mac and i think it's working. i got replies from codex
Weird. It started working after about 5 minutes. Before that though, no output at all.
/exitdidn't work.ctrl-cdidn't work. Nothing worked. No output at all, and no errors.Status page has been updated: https://status.openai.com/incidents/01KK9JA8JKQKDW1W24T09NHBYH
it worked when I started codex without --yolo
I have the very same issue, no matter which model I choose, the response is never received, or with huge delays. I'm sure this is server-side, not client-side.
same issue
OS: Ubuntu 24.04
CodeX: 0.112.0
Model: gpt-5.4, gpt-5.3-codex
update:
so strange, it recovers as soon as I make this report
As someone who knows absolutely nothing about the infra and is just purely vibespeculating here as I wait for codex to start responding:
Thank you for listening to my totally ungrounded vibe analysis while I wait for stressed engineers at OpenAI HQ try to resolve this issue.
We're actively working on this issue. Thanks for all of the clues and analysis.
Something that might help us resolve this more quickly... Could several of you use
/feedbackto upload your logs and session details after this occurs? I realize that you may not be able to break in with a Ctrl+C immediately, but if it eventually responds, use/feedbackand then post the thread ID here. Thanks!The issue seems to have stopped for me
019cd2fb-0949-7eb2-9dea-1c969693bfb1,019cd2fe-deb0-7402-ae3a-73ae9431b400, and019cd30d-2efa-7623-9dfe-44961260f6aaIt is improving, less blocks and delays at the moment also my side.
seems to have been fixed
I see improvements, I don't want to jinx it, but everything seems to be working stable now, at least for me
ID 019cd39c-1452-7522-bb36-df19eca1810d
Not fixed on my end.
same. also not fixed here: 019cd39f-0e08-7dd1-925f-832d0b5835bd
also here still having issues: 019cd434-724b-7131-88d3-d8c1696e19cb
We've taken steps to minimize the impact of this issue. There were a couple of unhealthy clusters, and we've rerouted traffic away from them. Most users who were previously affected should now be back up and running. Some may hit the problem until we have the root cause fully mitigated.
Yes it seems better for the moment but I had to start new context conversation. Thks
We think this is now fully mitigated. We'll continue to monitor closely.
Apologies for any inconvenience this caused.
I'm going to close the issue, but if you experience this symptom again within the next 24 hours, let us know.
thanks @etraut-openai
As a note, not resolved for me. Exactly the same issue.
Me neither, same issue not resolved
Still facing same issue.
<img width="1111" height="522" alt="Image" src="https://github.com/user-attachments/assets/1896800d-77d1-4f97-97ad-3fbc7fc94ebf" />
It's not working in both Codex and OpenCode, very frustrated.
Was fixed yesturday at arround 17:00 PM GMT+9. Today it worked in the morning and at arround 12:00PM GMT+9 the problem has come back.
happening just now.
same for me
Same problem. I started having this since yesterday; before that, everything was fine.
@etraut-openai please re-open.
@etraut-openai The same problem is happening again.
019cd6cb-54f6-7072-b8ef-a28edeb839c7
still happening my ubuntu and mac os
cli codex and ui both
yes still happening
reconnecting + slow + unresponsive
cli version v0.113.0 and app lastest version still happening
Is anybody updating homebrew cask for v0.113.0?
its back now. no need to do anything.
Go n try, everyone😜
<img width="633" height="359" alt="Image" src="https://github.com/user-attachments/assets/c7bd2253-c5e3-4b88-99fc-5efedb8720c4" />
Although the reconnect issue is no longer present, I still feel that the task execution time is abnormally long.
Oh... well, the problem hasn't been completely solved; it's just happening less frequently. Just now, at 6:00 PM (GMT+8), the same issue occurred again, that reconnecting five times problem.
019cd72f-97bc-7d13-a788-64c7d6ae163a
It's still dying on me
<img width="2447" height="72" alt="Image" src="https://github.com/user-attachments/assets/557ab700-67fa-424a-9863-8ab0ac96c72b" />
Working well for me now from several hours. Just signed out, signed in. Started new terminal session.
some people say its also not working in paid accounts too
Hitting this error in paid account.
This is fixed for me now. Thank you!
For me issue persists: 019cdc16-2f1f-7a73-a570-bd3ceec5a0c3
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
yep, still happening, in both cli and vscode extension, just freezing in thinking phase, no output, even can not quit in cli.
Agree problem is black. Thinking for ever.
Jup, also on my side
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.
Same Issue here on linux as well, paid account.
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
Same issue. Paid account, had to downgrade to 0.100.0
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