You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stream disconnected before completion error #14613
appIssues related to the Codex desktop appbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)
I'm getting the same errors, first Stream disconnected before completion: IO error: Connection reset by peer (os error 54), then Stream disconnected before completion: Transport error: network error: error decoding response body.
I found that with cache messages like hi, Hello and, what model are you works. The uncached messages(Specific messages) doesn't seem to work, but sometimes it would retry four times and work on the fifth one.
I have no VPNs or proxies, and this worked two days ago. Also happens on a brand new thread.
I've tried logging in and out, using bun, brew, the codex app, downgrading. Nothing helps. Happens immediately, not after waiting a long time. The ten retries happens within twenty seconds, and errors out.
i tried deleting the .codex folder but it did not resolve this sudden issue , status.opoenai is green (but it should be reflecting availability issues)
This started happening a few weeks ago and has made the app almost unusable. I keep seeing Reconnectin... loops and have to close the app and reopen it or disable/enable wifi to get it to work. But it only works for a short while before giving the same errors again.
Is this possibly related to the websocket connection? Is there a way to revert to the previous HTTP protocol while these issues are fixed?
Same problem. report ID: 019d523e-3b1b-7770-92be-83a23dddc274
During the agent's execution, a TLS connection interruption occurred. After troubleshooting, I confirmed that this was not an issue with my local network.
appIssues related to the Codex desktop appbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)
Activity
github-actions commentedon Mar 13, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jamesx0416 commentedon Mar 15, 2026
I'm getting the same errors, first Stream disconnected before completion: IO error: Connection reset by peer (os error 54), then Stream disconnected before completion: Transport error: network error: error decoding response body.
Thread ID: 019cf071-0cb0-7ad2-a53f-959c8f3c165e, 019cf068-e90a-77a2-b2f3-dcd87ff12adf, 019cf064-477f-71f1-a5e5-6f9ae18b3efd
I found that with cache messages like hi, Hello and, what model are you works. The uncached messages(Specific messages) doesn't seem to work, but sometimes it would retry four times and work on the fifth one.
I have no VPNs or proxies, and this worked two days ago. Also happens on a brand new thread.
I've tried logging in and out, using bun, brew, the codex app, downgrading. Nothing helps. Happens immediately, not after waiting a long time. The ten retries happens within twenty seconds, and errors out.
A-ZaneT commentedon Mar 26, 2026
I also encountered it, and it kept reporting errors like this and could not be used normally.
2026.03.31
Well, The problem arises with me
cihadturhan commentedon Mar 26, 2026
This is not a network issue. It was working like 30 minutes ago. Same network, same connection.
Suddenly it gave
stream disconnected before completionThe error message is not self-explanatory. What's the request, what's the response?
Josephrp commentedon Mar 29, 2026
i tried deleting the .codex folder but it did not resolve this sudden issue , status.opoenai is green (but it should be reflecting availability issues)
hasani114 commentedon Apr 2, 2026
This started happening a few weeks ago and has made the app almost unusable. I keep seeing Reconnectin... loops and have to close the app and reopen it or disable/enable wifi to get it to work. But it only works for a short while before giving the same errors again.
Is this possibly related to the websocket connection? Is there a way to revert to the previous HTTP protocol while these issues are fixed?
Anonymouscn commentedon Apr 3, 2026
Same problem. report ID: 019d523e-3b1b-7770-92be-83a23dddc274
During the agent's execution, a TLS connection interruption occurred. After troubleshooting, I confirmed that this was not an issue with my local network.
AndrewXiGua commentedon Apr 3, 2026
Same problem. report ID: 019d5287-e006-7c20-85a8-8ab299d53d7e、019d5281-5bb7-7f01-8e1d-3a77271c8268

seanmaxme commentedon May 3, 2026
Check proxy spelling in ~/.zshrc
weisuio commentedon Aug 25, 2026
same problem.
vuejshub commentedon Oct 23, 2026
same problem.