codex icon indicating copy to clipboard operation
codex copied to clipboard

[Windows / Codex Desktop + VS Code] Intermittent stream disconnects and reconnect failures since Oct 10

Open Guilliman-XIII opened this issue 1 month ago • 18 comments

Codex app version

26.1007.2314.0, taken from the installed Windows package metadata (not independently confirmed in the app's About dialog).

Subscription

ChatGPT Pro (user-reported).

Platform

Windows 11 25H2 (64-bit), Codex Windows desktop app.

Description

On 2026-10-10, the Windows Codex desktop app began repeatedly disconnecting and reconnecting. It had been working normally beforehand. The user signed in again after an unexpected disconnection; subsequently, ordinary prompts and longer tasks would intermittently succeed or fail after repeated Reconnecting… attempts. Remote context compaction also fails. This makes ongoing work unreliable.

Updated cross-client observation: Switching from the Windows desktop app to the VS Code Codex extension initially appeared to restore normal operation, but the VS Code extension subsequently disconnected as well (user report). The initial success in VS Code was therefore temporary and must not be treated as evidence of a desktop-only fault. The problem may affect a component shared by both clients. The root cause has not been established.

Locally collected evidence (2026-10-10)

Read-only analysis of the user's local Codex technical logs, covering the affected date, identified:

Observation Count
Terminal failed-task events across 5 session files 22
Ordinary response-stream failures 18
Remote Compact failures 4
Desktop app_server_connection.websocket_error events 261
Desktop app_server_connection.reconnect_failed events 260
Desktop chatgpt_pubsub_connection_failed events 41
Desktop chatgpt_pubsub_reconnect_exhausted events 13

The desktop connection counts represent logged technical events, not distinct failed prompts. The session counts represent observed terminal failures in the inspected files, not a guaranteed complete incident total. These statistics alone do not establish which component is responsible.

Representative sanitized failed-task events (UTC; session/account identifiers and request IDs omitted):

2026-10-10 14:26:31Z | task_complete | response_stream_failure | stream disconnected before completion; An error occurred while processing your request.
2026-10-10 14:33:04Z | task_complete | remote_compact_failure  | Error running remote compact task; stream disconnected before completion; An error occurred while processing your request.

UI errors included:

stream disconnected before completion: An error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists.
Error running remote compact task: stream disconnected before completion

Reproduction / comparison

  1. Run ordinary coding or conversation requests in an existing session in Codex Windows desktop.
  2. Intermittently the app displays repeated Reconnecting… attempts and/or fails a task with stream disconnected before completion.
  3. Remote compaction can separately fail with the same underlying stream-disconnect wording.
  4. Switch to the VS Code Codex extension on the user's Windows machine. Initial requests worked, but the user subsequently observed disconnections in the extension too.

The failures are intermittent; this is not a claim that every request reproduces them. The VS Code observations are user-reported and not controlled transport-level experiments. Web ChatGPT chat remaining accessible does not rule out intermittent failures in Codex requests.

Expected

Desktop should complete requests reliably, or safely recover and resume interrupted tasks without requiring users to switch clients.

Request to maintainers

  • Investigate streaming/reconnection failures across Windows desktop and the VS Code Codex extension around Oct 10, including any shared service/transport path.
  • Compare streaming reliability and recovery behavior across the clients and shared service components, without assuming the root cause.
  • Provide a verified workaround, fix version, or diagnostics that can distinguish client behavior from upstream failures.

Additional diagnostic details can be provided privately to OpenAI Support if needed. Raw session files are not attached.

Possibly related: #52731, #52749, #37992. Symptom overlap does not establish a shared root cause.

Guilliman-XIII avatar Oct 10 '26 15:10 Guilliman-XIII

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

  • #52731
  • #52814
  • #52294

Powered by Codex Action

github-actions[bot] avatar Oct 10 '26 16:10 github-actions[bot]

Further observations from the affected user:

  • Restarting Windows twice did not resolve the failures.
  • Ordinary prompts and remote compaction intermittently fail in Codex.
  • Both the Windows desktop app and the VS Code Codex extension have experienced disconnections.
  • Browser ChatGPT and other applications remain usable.

The cause remains undetermined. Please investigate the failure events and correlate the request records through OpenAI Support.

Guilliman-XIII avatar Oct 10 '26 16:10 Guilliman-XIII

Additional sanitized observation on 2026-10-10: the same remote-compaction error text occurred while continuing an existing long-running cloud task. This is a symptom-level correlation with this report, not confirmation of a shared root cause or of a Windows-specific fault.

Observed sequence (all times UTC):

  • From approximately 17:27, multiple continuation attempts failed with "stream disconnected before completion".
  • A small read-only inspection/archive-planning stage succeeded at approximately 17:32.
  • A small assembly stage succeeded at approximately 17:45.
  • Subsequent small continuation/archive attempts at approximately 17:47 and 17:48 failed before producing the requested output, with:

Error running remote compact task: stream disconnected before completion: An error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists. Please include the request ID ... in your message.

Request IDs shown with the two later remote-compaction failures:

  • 4b982e3e-5382-4287-bdc0-622e658b0699
  • ef3f7c46-f1d6-43b8-83b3-d65c0438b2e4

Identifiers from the earlier stream-disconnect failures in this window:

  • 4162594a-89d3-4cfe-8a03-69a0680f74d1
  • 418451b2-98cc-4248-91b3-8ab72888f120
  • e35f83eb-685d-4f88-a701-01e4652b9240

Observed reproduction sequence: continue an existing long-running task; retry with smaller stages, including a read-only check and archive preparation; observe intermittent success followed by another failure at remote compaction before the requested output. This is not yet a deterministic minimal reproduction. The two successful stages did not establish durable recovery.

Expected: the task can resume reliably, or a supported recovery path preserves completed work. Please correlate the identifiers and timestamps above and advise on safe recovery. The failure's cause is unknown. No source code, task content, images, raw conversations, credentials, account details, or internal filesystem paths are included.

luotao41 avatar Oct 10 '26 17:10 luotao41

I'm getting the same error, seems to be triggered by compaction of threads that have been working with images in long running (2h+) threads. This is using Codex desktop for WIndows Version 26.1007.21434. I've never had problems with these kinds of tasks before. Chatgpt Pro subscription.

"Error running remote compact task: stream disconnected before completion: An error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists. Please include the request ID 33e8af0b-a076-45c3-8506-bda4b16b6105 in your message."

Image

mhn13jp avatar Oct 11 '26 06:10 mhn13jp

Additional sanitized Windows desktop diagnostics — October 11, 2026

I observed repeated failures on Codex Windows Desktop 26.1007.2314.0 (installed package metadata), using gpt-6.1-sol / ultra, with HTTP Responses transport and model WebSockets disabled.

The recurring error was:

stream disconnected before completion: An error occurred while processing your request.

Read-only diagnostics found the following timeline. All timestamps below are UTC on 2026-10-11.

Time Observation Request ID
06:05:25 Responses endpoint returned HTTP 507 6eed0a36-9796-4ce5-8641-7d181e9901c1
06:05:27 Subsequent request returned HTTP 200 260d667a-8de9-44b3-9a52-4b0b4b7a7838
06:08:25 Turn failed after retries reached 5/5 0211763e-3293-48f7-b800-016bff7c2ed0
06:10:08 Another turn failed after 5/5 retries 6ae064cd-8078-453e-995b-4d00639a8c5e
06:12:49 A third turn failed after 5/5 retries 00125a14-da0e-4624-87b4-010d35085951

Requests during the retry sequences returned HTTP 200 before the response stream failed. The 507 response body was not retained in the local logs, so its cause and relationship to the later stream failures remain unknown.

Reopening the conversation and submitting another turn did not prevent recurrence: the new turn began at 06:26:53, followed by the same processing error and a 1/5 retry at 06:27:16, request ID 6c8107b1-c524-463c-9e08-6e80c7654742. A later authoritative status snapshot confirmed that this turn completed successfully at 06:29:30. This retry recovered; it was not another terminal failure. One successful completion does not establish that the intermittent problem is resolved.

The local backend process remained running. Recorded input was approximately 69,227 tokens against a 258,400-token context window; no explicit context-limit or quota-exhaustion error was found. A local system proxy is present, and its logs are insufficient to exclude a network-path contribution.

Please correlate these request IDs with backend records. The root cause is not established. No prompts, project contents, credentials, full transcripts, or databases are attached.

swenbo1-web avatar Oct 11 '26 06:10 swenbo1-web

Additional sanitized diagnostics from October 11, 2026. Adding evidence to this existing report because the visible symptom matches; a shared root cause is not established.

Environment observed locally:

  • Windows 11 x64, build 26200.
  • Installed desktop package: 26.1007.2314.0. Desktop technical logs report client version 26.1007.21434; the About dialog was not inspected.
  • Running local Codex executable: codex-cli 0.162.0-alpha.17.2.
  • The affected conversation used gpt-6.1-sol and gpt-6-astra with max reasoning. Later failures used HTTP Responses transport.

A read-only inspection of one current local project conversation found three confirmed failed turns. These are task_complete records with a non-null error, not counts of retry notifications. All times below are UTC, October 11:

Time Observation Request ID
03:15:58.215 Turn completed with a stream-processing error b7a64d37-90c1-4077-8267-71e3fbed7151
05:47:26 Sampling retry reached 5/5 1f816422-c28f-4103-9c20-020b5ad38649
05:47:32.839 Turn completed with a stream-processing error 29a61f87-67af-4a41-95f7-e48d9b9c5a05
07:16:11 Sampling retry reached 5/5 fe12d448-4184-475b-a3e6-fe83e5cd2aa3
07:16:20.167 Turn completed with a stream-processing error 8008e5f5-9ec8-43d5-8ced-c7a017d8b9c9

The terminal error text was:

stream disconnected before completion: An error occurred while processing your request.

Additional observations:

  • During the 07:15–07:16 retry sequence, six Responses HTTP requests logged HTTP 200 before subsequent stream failures. The final HTTP 200 was at 07:16:19, followed by the terminal failure at 07:16:20. Successful HTTP headers do not establish successful completion of the response.
  • Retained sampling logs for the affected conversation contain 28 processing-error retry warnings plus one separate request-send connection warning. They are not 29 distinct failed turns. The three terminal errors above did not identify remote compaction as the failed stage.
  • Separately, today's desktop technical logs contain 13 app_server_connection.websocket_error and 13 reconnect_failed records, beginning at 03:58:21, with ECONNRESET and "Client network socket disconnected before secure TLS connection was established". These concern the desktop connection layer; I have not correlated them causally with the later HTTP model-stream errors.
  • A loopback proxy is configured in the diagnostic shell/user environment, and its port was listening when checked. A contemporaneous unauthenticated HTTPS HEAD probe completed TLS verification but returned HTTP 403. This does not validate authenticated streaming or exclude an intermittent proxy/network contribution.
  • Configuration includes a 512000-token context-window override and a 400000-token compaction threshold. The last recorded request input was 303649 tokens, against the client-reported effective window of 486400. Current cached model metadata lists a 272000 default and 872000 maximum; the override is below that cached maximum. These client-side values do not establish backend acceptance or the failure's cause.

Observed reproduction: continue an existing long-running local conversation, observe intermittent stream failures, allow retries to reach 5/5, then receive a terminal error. A deterministic minimal reproduction is not available.

Please correlate the terminal request IDs and timestamps with backend records, and advise on diagnostics or a fix that distinguishes response-processing failures from the separate desktop TLS/reconnection failures. Raw transcripts, prompts, project contents, local paths, account identifiers, credentials, and database files are not attached. The inspection did not change settings or restart the running work.

ericccliu avatar Oct 11 '26 08:10 ericccliu

I am experiencing the same recurring Codex streaming disconnection issue on Windows 11.

I have already submitted feedback through the Codex application's built-in feedback system.

Feedback / Affected Session ID: 01a0eb15-7c1d-7ce2-96c3-d76c3bf3b121

This identifier also matches the affected conversation ID in my local logs.

Environment:

  • Codex Desktop: 26.1007.2314.0
  • Windows 11 Home China, version 25H2, build 26200.9457
  • Model: gpt-6.1-sol (medium reasoning)
  • Timezone: UTC+08:00

Observed problems:

  • Frequent "stream disconnected before completion" errors.
  • Automatic reconnection attempts reaching 5/5 before failure.
  • Remote context compaction also fails with the same streaming error.
  • Two concurrent conversations experienced transport errors at exactly 10:57:53 (UTC+8) on October 12, 2026.

Relevant Request IDs:

  • 8749ec3b-6e80-41ab-a4a5-9385f544df9d
  • 0e34e91d-c650-4cf1-9b57-f95d82e98a64
  • aa59f2eb-4b33-4164-bf49-efc648184f0d (remote compaction failure)

Network observations: I tested multiple VPN nodes, but the problem persisted. Completely disabling the VPN and proxy makes Codex inaccessible, so I cannot perform a meaningful direct-connection comparison.

I have submitted in-app feedback and previously collected filtered error logs. I would appreciate it if the maintainers could correlate the available feedback/session information with the Request IDs above and investigate the underlying cause.

Thank you.

wz787903-glitch avatar Oct 12 '26 04:10 wz787903-glitch

Additional report from Codex CLI/app-server under WSL2 on October 12, 2026. The visible error matches this issue; a shared root cause has not been established.

Environment verified locally:

  • Native runtime: codex-cli 0.162.1.
  • Ubuntu 24.04.5 LTS, WSL2, x86_64.
  • Model: gpt-6.1-sol, reasoning effort max, built-in OpenAI provider.
  • ChatGPT Pro, as reported by the correlated response headers.
  • Saved thread metadata records originator=codex-tui and source=vscode.

Uploaded thread: 01a129c1-a1fa-7be3-b159-644db4e0dc77 Codex feedback reported “Feedback uploaded” and requested that this thread ID be included in an issue.

Read-only inspection confirmed three terminal failed turns in this thread. All timestamps below are UTC on 2026-10-12; these are failed turns, not counts of retry notifications.

Terminal failure time Request ID
08:37:24.939 4e03107c-3923-4bf1-a93f-889148057aa2
08:44:58.807 5ee5fad2-e28b-4388-8945-ffa44164c00a
09:05:32.091 c99e3fec-8577-401b-8bc2-ba941fca929b

The terminal error is:

stream disconnected before completion: An error occurred while processing your request.
You can retry your request, or contact us through our help center at help.openai.com if the error persists.

Correlated observations:

  • Sampling retry logs include “We’re currently experiencing high demand, which may cause temporary errors.”
  • Retry sequences reached 5/5; the client logged falling back to HTTP at 08:37:00 and 08:53:10.
  • All three terminal request IDs correlate with Responses HTTP requests that returned 200 OK before the turn failed. HTTP headers do not establish successful stream completion.
  • Failed turns persist codex_error_info: "other". No explicit context-window overflow error was recorded for these turns.
  • Ordinary local tool work completed before the first and third failures. A follow-up asking to continue also failed. Completed project changes remain saved.

Observed sequence: continue an existing long-running coding conversation, allow automatic retries/fallback, receive the terminal error, and retry a short continuation request. A deterministic minimal reproducer is not yet available.

Please correlate the uploaded thread and request IDs with backend records, identify the actual failure classification, and provide a supported recovery path that preserves the existing conversation and completed work. The high-demand message is an observation, not proof of the cause of every later processing error.

Only selected diagnostic facts and the uploaded-thread/request identifiers are included here; no raw transcripts, project content, credentials, account email, full headers, or database files are attached.

Daviswhistle avatar Oct 12 '26 11:10 Daviswhistle

I hit the same request-processing error in Codex Desktop for Windows on October 12, 2026. The matching local error was recorded at 12:06:54 UTC (20:06:54 UTC+08:00) while continuing an existing conversation.

stream disconnected before completion: An error occurred while processing your request.
You can retry your request, or contact us through our help center at help.openai.com if the error persists.

Environment checked locally:

  • Installed Windows desktop package: 26.1007.2314.0 (package metadata, not the About dialog).
  • Bundled runtime: codex-cli 0.162.0-alpha.17.2.
  • Current selected model: gpt-6.1-sol.
  • Configured context window: 500000 tokens, with automatic compaction left at the model default. These settings do not establish the cause.

I submitted the exact request ID privately through Codex's feedback/upload interface, which returned a successful response at 12:11:43 UTC. The returned feedback reference (threadId) is 01a12005-54ed-79a3-bb65-0cc9233c34c3. Logs were explicitly disabled and no attachments were included.

Please correlate that feedback with the incident and identify the actual error. I need a supported way to continue the original conversation while preserving completed work. I do not have a deterministic minimal reproducer, and matching error text does not prove a shared root cause.

No prompts, business content, local file paths, credentials, full transcripts, or raw log files are included in this comment.

maxitaaaa avatar Oct 12 '26 12:10 maxitaaaa

I’m also experiencing frequent reconnection failures. For roughly 10 days, about 8 out of 10 Codex sessions have become stuck reconnecting without completing the task, regardless of model or reasoning effort. My internet connection is stable, and other AI tools work normally. This makes Codex effectively unusable for daily work. Please investigate.

OS: Windows 11 Codex version: codex-cli 0.162.1

merusselllovetrain avatar Oct 12 '26 21:10 merusselllovetrain

Additional Windows Codex Desktop report — October 14, 2026 (UTC+8)

I am reporting another occurrence of the same stream disconnection before completion while using the Codex Windows desktop app to perform software development work. The issue has also occurred during longer-running coding tasks, causing work to stop before the response finishes.

Exact error shown:

stream disconnected before completion: An error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists.

Request ID: 73deefc2-4d4e-497d-831b-7a9c7d1c8d3d

Previously observed separate occurrence: October 12, 2026, with request ID b6c46443-1548-4840-9ab1-9770850db43f (also interrupted a long-running Codex App programming task).

Environment: Windows Codex desktop application. Exact Windows build, Codex app version, model, and precise failure timestamps have not yet been collected.

Impact: A coding task may run for an extended period and then lose its response stream before completion. This disrupts continuing work and makes it unclear whether the task completed all changes.

Could the Codex team investigate and correlate the two request IDs with server-side records, determine whether this is related to the ongoing Windows desktop reconnect/stream failures, and advise on a mitigation or fix?

No sensitive project contents or local paths are included in this report.

azq1231 avatar Oct 13 '26 20:10 azq1231

Same failure here on Windows, still ongoing as of 2026-10-14. Every hour or so a turn dies after "Reconnecting 5/5", and on a long goal thread almost no message gets through.

Environment

  • Windows 11 Pro (build 26200), codex-cli 0.162.1 (npm global; latest at the time of writing), TUI plus the background app-server daemon.
  • Models: gpt-6.1-sol and gpt-6-astra, reasoning effort xhigh, ChatGPT login.
  • No proxy, no VPN. No OPENAI_* / CODEX_* environment variables, no openai_base_url override in config.toml.

What the local logs show (~/.codex/logs_2.sqlite, target codex_core::responses_retry, 2026-10-12 to 2026-10-14). There were 200 retry warnings, grouped by error text:

count error
121 stream disconnected before completion: An error occurred while processing your request
61 We're currently experiencing high demand, which may cause temporary errors.
15 stream disconnected before completion: websocket closed by server before response.completed
2 stream disconnected before completion: Responses websocket connection limit reached (60 minutes). Create a new websocket
1 Transport error: network error: error decoding response body
  • 7 of these (5 + 2) are compact_error in run_pre_sampling_compact / run_auto_compact ("remote compaction v2 stream failed"). So the pre-turn compaction of a long thread fails too, and that blocks the turn before sampling even starts.
  • 73 of the 200 retries come from a single long goal thread (context about 53% used). The failures appear across many hours of the day.
  • The 60 minutes connection-limit message may explain the hourly rhythm. It looks as if the client does not open a fresh websocket cleanly when the limit is hit.
  • The daemon log also shows failed to initialize thread persistence: thread-store conflict: thread ... already has an active writer. The TUI then reported Failed to edit the selected prompt: the selected transcript prompt no longer matches the persisted thread. Here an app-server daemon started two days earlier and the TUI were attached to the same thread.

Contrast: a fresh, tiny codex exec --ephemeral request (gpt-6.1-sol) succeeds in about 5 s on the same machine and network. So auth and connectivity work, and the failures concentrate on long-running, large-context turns.

Request IDs from failed turns (2026-10-14, UTC+8):

  • 32f4939f-aefa-4a49-914e-91c874c8f9c6
  • 240f26af-c43f-4fe4-aaad-621d3914ed9c
  • 736a2f77-ec73-4a7c-9f3c-f7e1b9762dfa

Requests:

  1. Server-side investigation of the An error occurred while processing your request / high demand stream aborts on long Sol and Astra xhigh turns.
  2. Have the client renew the websocket transparently on the 60-minute limit.
  3. Make remote compaction retries more tolerant, or fall back gracefully, so that one compaction failure does not kill the turn.
  4. Prevent two processes (the daemon and the TUI) from both claiming writer on the same thread.

andersonwu2000 avatar Oct 13 '26 21:10 andersonwu2000

Additional Windows Codex Desktop report, October 14, 2026 (JST).

The app frequently stops with the following error after automatic reconnection reaches 5/5:

stream disconnected before completion: An error occurred while processing your request.

The screenshot of the failure shows “再接続中 5/5” (Reconnecting 5/5) and request ID 1685bc4b-a46b-4089-a807-be9de4458d36. Read-only inspection of the local session record confirms that exact request ended in a failed task_complete event.

Environment checked locally:

  • Windows 11 Home, build 26300.
  • Installed Codex Desktop package: 26.1007.2314.0 (Windows package metadata).
  • Bundled runtime recorded by the affected session: 0.162.0-alpha.17.2.
  • Model: gpt-6.1-sol; failures occurred with both max and xhigh reasoning.

Three failed turns were found in the affected conversation:

UTC time, October 13 JST time, October 14 Reasoning Terminal request ID
21:54:14.413 06:54:14.413 max 7a682b0a-c867-4306-832f-583f8df1b1c3
22:10:32.553 07:10:32.553 xhigh 1685bc4b-a46b-4089-a807-be9de4458d36
22:14:57.027 07:14:57.027 max d1a3b5e2-47a7-496b-a870-12c59614ea4d

All three terminal events contain the same request-processing/stream-disconnection message and codex_error_info: "other". The model retry logs for this conversation show sequences reaching 5/5. The first sequence also logged “We’re currently experiencing high demand, which may cause temporary errors.”

These failures interrupt ongoing work and recur when continuing the conversation.

The user additionally reports that switching to GPT-6 Luna and GPT-6 Astra also results in the same error. Switching models has not stopped the recurrence.

Please correlate the request IDs and timestamps with backend records, identify the failure, and provide a fix or a supported way to continue the affected conversation while preserving its history and completed work.

infoharksb-dotcom avatar Oct 13 '26 22:10 infoharksb-dotcom

Additional Windows desktop occurrence — reported October 14, 2026 (UTC+08)

The affected user explicitly requested that this response-stream failure be reported.

User-provided error:

stream disconnected before completion: An error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists. Please include the request ID <withheld for private support> in your message.

Environment verified locally: Windows desktop installation; installed OpenAI.Codex package version 26.1007.2314.0. This is Windows package metadata, not an independently verified About-dialog version.

Impact: The user reports a request failing before completion, interrupting the ongoing workflow.

Evidence limits:

  • The error above was supplied directly by the affected user.
  • October 14 is the report date, not an independently recovered exact failure timestamp.
  • A bounded check of today's desktop-log location did not return a matching request record; this does not prove that none exists elsewhere.
  • This case does not independently establish the HTTP status, model, retry count, remote-compaction failure, or root cause.
  • The user previously encountered workspace-settings HTTP 403/security-challenge errors, but a connection between those and this stream-processing error has not been established.
  • Symptom overlap with this issue does not prove a shared cause.

Please investigate the interrupted stream and provide a supported recovery/resume path that preserves the conversation and completed work. A request ID from this occurrence is available for private OpenAI Support correlation.

Submitted with AI assistance at the user's explicit request. No raw logs, prompts, screenshots, project data, credentials, or account/session identifiers are attached.

leishanshan8257-hash avatar Oct 14 '26 00:10 leishanshan8257-hash

Recurring stream failures make ongoing Codex projects unusable

I have repeatedly encountered “stream disconnected before completion” across multiple separate projects and subsequent attempts to continue them. This is a recurring failure pattern, not an isolated interruption. It has become predictable enough that I cannot rely on a project remaining usable, even after it temporarily resumes.

The common characteristics of the affected workflow are long-running projects, GPT-6.1 Sol, and Ultra reasoning effort.

The documented incidents include:

  • A session failed after approximately two hours, and a later continuation failed again.
  • Two other sessions failed after tens of minutes.
  • A history-preserving fork failed again after approximately three minutes of substantive work.
  • Most recently, a session that had resumed working ran for approximately 2–3 hours and then disconnected again.

Retrying, waiting, and creating forks have not produced a dependable resolution. Temporary continuation does not solve the problem when the same failure returns during actual work.

In the latest incident, the UI displayed “We’re currently experiencing high demand, which may cause temporary errors,” followed by repeated request-processing errors and final disconnection. Earlier diagnostics also recorded high-demand errors, exhausted WebSocket retries, HTTP fallback, and further failed retries. In one incident, the parent task failed and its Goal became blocked while both child tasks subsequently completed.

The practical impact is that I cannot use Codex reliably for these ongoing projects. I cannot keep spending hours on work that becomes unable to continue, then repeat recovery attempts without knowing when it will fail again. Until this recurring failure is resolved, this workflow is effectively unusable.

Please investigate the repeated failures and provide a concrete fix or a supported, dependable recovery procedure. Another briefly successful test is not sufficient; the projects need to remain usable during sustained work.

Detailed logs and request identifiers have already been supplied privately to Support. Earlier diagnostics recorded Windows package 26.1007.2314.0 and backend/CLI 0.162.0-alpha.17.2.

I have already provided Support with diagnostic logs, request IDs, screenshots, and a screen recording. Support has confirmed that no further evidence or lengthy reproduction is needed, but still cannot confirm whether an engineering team has been assigned, who owns the investigation, or when I will receive a substantive technical update. The case remains “In Progress” without a concrete resolution plan. I need this to reach a technical owner who can investigate and resolve the recurring failures.

Support case: #16910946.

zelinq724 avatar Oct 14 '26 04:10 zelinq724

I am seeing a closely related Windows Codex Desktop stream reliability problem on October 26, 2026 with a newer client: Desktop 26.1021.3705.0, separate codex-cli 0.164.0. More detail at #57063.

Read-only counts from logs_2.sqlite for the previous 24 h: 65 stream disconnected rows, 6 websocket closed rows, 6 falling back rows, and 1 10054 match. A narrower six-hour query also found 50 workspace routing discovery timed out rows, versus 47 stream-disconnect rows. These are substring-matched log records, not unique failed turns.

I have not reproduced the behavior in VS Code or identified an exact failed model or compaction task in my environment. TCP 443 to the two OpenAI hosts works, which only establishes basic reachability. Given the overlap, could the team investigate whether the Windows routing-discovery errors and stream-retry failures are connected, and provide a supported recovery path?

aventtoventuri avatar Oct 26 '26 08:10 aventtoventuri

Additional user report (November 2, 2026) — recurring Codex reliability problem, particularly during daytime Pacific hours.

Observed behavior

  • Codex sessions repeatedly terminate before completion with an error transcribed as system disconnected before completion: error sending request (exact wording of the local error should be verified in logs; similar reports say stream disconnected).
  • Failures have been recurring over the past several weeks.
  • The user typically works with three or more simultaneous Codex conversations. This workflow has worked in the past, but is now often unreliable during daytime/peak hours.
  • In contrast, Codex generally works much more reliably around 4:00–7:00 AM Pacific Time.
  • Some affected workflows involve image generation; not all failed tasks are confirmed to involve images.
  • The practical impact is that multiple in-progress coding and image-assisted tasks cannot reliably complete.

What is known vs. unknown

  • This is a user-observed time-of-day correlation, not proof of deliberate account throttling, a particular concurrency cap, or server saturation.
  • Exact Codex app/CLI version, request IDs, failure counts, and network diagnostics are not available for this report.
  • No private project details, logs, session IDs, or account identifiers are included.

Requested investigation

  1. Check whether Codex connection/routing capacity or rate/concurrency behavior contributes to daytime disconnects for users running multiple conversations.
  2. Check whether image-generation turns increase reconnect/failure risk or payload size.
  3. Improve automatic recovery from transient disconnects so active work can finish without having to recreate conversations.
  4. Clarify whether simultaneous Codex sessions are subject to documented limits beyond normal usage allowances.

Adding this observation to an existing report rather than creating a duplicate. Prepared on behalf of the affected user at their request.

Mr-BStephan avatar Nov 02 '26 19:11 Mr-BStephan

Additional Windows desktop reproduction on 2026-11-19 (UTC+08:00), focused on what happens after reconnect and resume.

  • Windows build 26300, desktop package 26.1111.9664.0. The affected thread's recorded CLI version is 0.169.0-alpha.11.1 and its model is GPT-6.2 Astra.
  • 22:08:04: started a turn in an existing local thread. From 22:09:07 to 22:15:18, the client logged retry 1/5 through 5/5. The first failure was a WebSocket close before response.completed. The following four were stream disconnected before completion with Windows socket error 10054. WebSocket reconnects did establish before later resets.
  • 22:16:48: the client logged falling back to HTTP. The original turn remained unfinished and was interrupted at 22:18:18.
  • 22:18:24: resuming recorded a new HTTP POST. No assistant message or tool activity appeared before a second manual interrupt at 22:22:20.
  • 22:26:09: another resume again recorded an HTTP POST. The app server still reported the turn as inProgress with zero assistant messages or tool markers at ~22:31. The app gave no terminal error or reason to the user during this wait.

Expected: after reconnect/fallback, resume either streams results or fails with a visible error and a clear retry state. Actual: the resumed turn continues to show as running without progress, and stop/resume can repeat the silent wait.

A separate chat remained usable and HTTPS reachability to ChatGPT was normal during the investigation. The captured client logs establish that the resume request was sent, but do not establish that the upstream sent response headers or where the original reset originated. Shared on behalf of the affected user.

Follow-up: the 22:26:09 resume logged HTTP 200 for the Codex Responses endpoint at 22:33:26 (7m17s later), and the same turn began producing assistant and tool events. A subsequent POST was logged at 22:33:41, followed by two error sending request events at 22:38:07 and 22:38:10. At the next check the turn still showed inProgress with no terminal error. This attempt recovered briefly and then stalled again. No duplicate turn was submitted.

chenwilliam1986-bot avatar Nov 19 '26 14:11 chenwilliam1986-bot