Repository navigation
Open
Labels
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)
Description
stream disconnected before completion reproduces after recreating the conversation
Summary
A conversation that was recreated from scratch still hits the same failure mode during generation. The model starts responding normally, then the stream disconnects before completion and the desktop client retries 5 times.
Steps to reproduce
- Start a new conversation in the Codex desktop app.
- Run the same image-generation workflow prompt again in a fresh chat.
- Let the model begin streaming its response.
- Observe that the stream disconnects before completion and the client shows repeated reconnect attempts.
Observed behavior
- The response begins normally and then stops mid-stream.
- The client shows:
Reconnecting... 1/5Reconnecting... 2/5Reconnecting... 3/5Reconnecting... 4/5Reconnecting... 5/5stream disconnected before completion: An error occurred while processing your request.
- The issue reproduces even after recreating the conversation.
Request IDs
3c818545-aead-41f8-a4fe-a75128ed737c8b909f78-0b3c-4d37-96b5-322bbd83d373
Local log signals
Received turn/started for unknown conversationTimed out waiting for structured result
Notes
- I do not see a direct 5xx or socket error in the local logs, but the repeated reconnects and unknown-conversation events suggest a conversation routing or stream stability problem.
- I can share the relevant local log excerpts if helpful.
Environment
- Codex Desktop Version: [请填写版本号,如 26.422.30944]
- macOS Version: [如 macOS 15.x]
- Model: gpt-5.3-codex
Related Issues
This appears to be related to:
- Codex App reconnect loop and stream disconnected before completion on 26.422.30944 #19440 - Codex App reconnect loop and stream disconnected before completion
- Codex Desktop on macOS gets stuck reconnecting because failed/completed turns are restored with markedStreaming=true #19690 - Codex Desktop gets stuck reconnecting because failed/completed turns are restored with markedStreaming=true
- Frequent reconnect loop in Codex App: websocket closed by server before response.completed #18960 - Frequent reconnect loop in Codex App: websocket closed by server before response.completed
Metadata
Metadata
Assignees
Labels
appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)
Activity
github-actions commentedon Apr 28, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action