codex icon indicating copy to clipboard operation
codex copied to clipboard

[Codex][Nov 1–3] Parallel sessions fail with workspace routing discovery timeout and response-stream disconnect

Open tapperwijn89 opened this issue 3 weeks ago • 4 comments

Summary

During parallel Codex development sessions around 1–3 November 2026 (Europe/Amsterdam), I repeatedly encountered two terminal/operational errors:

  • workspace routing discovery timed out
  • stream disconnected before completion: error sending request

These errors interrupted active project execution. Some Codex sessions continued to work, so this report does not claim complete Codex unavailability.

Observed sequence

  1. Work on multiple parallel Codex/project sessions.
  2. A session is unable to resolve its workspace route, resulting in workspace routing discovery timed out.
  3. Other sessions terminate or interrupt the response stream with stream disconnected before completion: error sending request.
  4. This makes it difficult to know whether tasks finished, should be resumed, or should be restarted.

The two messages may have different underlying causes; I am reporting their simultaneous/recurring appearance, not asserting a single root cause.

Impact and expected behavior

Project execution stalls and dependent runs cannot be scheduled reliably. Workspace resolution should either succeed or return a precise, recoverable error. Response-stream disconnects should preserve accurate terminal execution state and recoverable output.

Requested follow-up

  • Inspect workspace routing discovery and stream lifecycle around the affected sessions; correlate with supplied private Support evidence.
  • Distinguish routing failures, disconnects, and client waiting states.
  • Provide a supported mitigation, recovery semantics and engineering fix status.

Related, distinct prior user-facing waiting state: #52084 (a completed run may remain shown active after disconnection). Related ChatGPT Work outage, not established as the same cause: #59428.

No private workspace names, session IDs, conversation links or logs are published here.

tapperwijn89 avatar Nov 04 '26 15:11 tapperwijn89

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #59344
  • #59377

Powered by Codex Action

github-actions[bot] avatar Nov 04 '26 15:11 github-actions[bot]

New reproducible recurrence — 7 November 2026 (Europe/Amsterdam)

In a Codex project session on the GPT-6.1 Sol Ultra setting, the UI shows four visible occurrences of:

stream disconnected before completion: error sending request

The same session also displays "Bezig met opnieuw verbinden 5/5" ("Reconnecting 5/5") on more than one occurrence. The assistant's thinking/response state remains visible after the failures. The user repeatedly attempted to continue the conversation, but stream delivery did not complete reliably.

Partial work is visible: generated image outputs and a subagent results section are present, with the interface displaying "78 klaar" ("78 ready/completed"). This proves that the client showed partial artifacts/status; it does not prove that all actual tasks were committed, that the final response was delivered, or that work was lost. The key problem is that the user cannot reliably know what completed and safely resume or redirect the project.

Requested engineering check: Correlate server-side response-stream / reconnect lifecycle with the per-session task/artifact state; establish whether reconnect attempts are exhausting without recovering the response and provide an explicit completed/failed/resumable state. This is a new 7 November recurrence of the existing #59430 stream-disconnect issue, not a claim that it has the same root cause as #59428's ChatGPT Work message-limit and conversation-loading failures.

Evidence: Screenshot captured privately in the user's session; it contains workspace-specific names/paths, so the unredacted image is not posted publicly. It can be supplied to OpenAI Support under the user's linked Pro support cases.

tapperwijn89 avatar Nov 07 '26 02:11 tapperwijn89

Additional reproduction on macOS 27.0.1 (arm64), Codex CLI 0.167.0, signed in with ChatGPT. A local launcher submitted five independent interactive CLI tasks for the same Git checkout in separate Ghostty terminals over a short interval. Multiple terminals displayed this before the first task could run:

Error: account/read failed during TUI bootstrap: account/read failed: workspace routing discovery timed out (code -32603)

Three CLI launches exited with status 1. Another reached the folder trust screen. A fifth had a separate terminal-launch timeout and is excluded from the CLI failure count. We haven’t isolated a concurrency threshold or observed a quota message. Could the CLI distinguish retryable discovery failures from explicit throttling and offer a retry that preserves the initial prompt?

Follow-up from the same run: after confirming folder trust and staggering retries, all five tasks acquired separate Codex thread IDs on the same account and began executing work. At least two produced commits and completion reports. This makes a hard limit of five open threads an unlikely explanation for this occurrence. The effect of launch timing hasn’t been isolated.

HarzerHeribert avatar Nov 14 '26 14:11 HarzerHeribert

Subscription impact beyond this incident

This report concerns workspace-routing timeouts and response-stream disconnects that interrupted my Codex sessions. When work stops that way, users can face extra effort determining whether to resume, retry, or restart. I have not established that those particular failures incurred additional paid credits.

The planned December shared ChatGPT/Codex allowance makes this reliability problem more important: users need clear metering, recoverable runs, and fair treatment of service-side failed/retried work so interrupted Codex tasks do not unexpectedly eat into the allowance for unrelated advanced ChatGPT conversations.

I have requested those protections in #62938 and started a wider user petition: Stop Punishing Your Paying Users. The routing/stream defect itself should still be investigated here on its own merits.

tapperwijn89 avatar Nov 21 '26 09:11 tapperwijn89