codex - 💡(How to fix) Fix Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact) [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18450Fetched 2026-04-18 05:54:41
View on GitHub
Comments
2
Participants
2
Timeline
8
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2unlabeled ×2

Error Message

Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)

RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

Codex 26.506.31421 version

What subscription do you have?

Plus

What platform is your computer?

Windows

What issue are you seeing?

Context automatically compacted Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)

<img width="1190" height="203" alt="Image" src="https://github.com/user-attachments/assets/65d9974e-fb78-440b-9249-460d8862eb7d" />

What steps can reproduce the bug?

Uploaded thread: 019d8f9b-31cf-78e2-b7be-17bae721b100

What is the expected behavior?

Please fix this the soonest possible.

Additional information

No response

extent analysis

TL;DR

The issue is likely due to a 60-second timeout in the Codex Desktop remote compaction path, causing the compact request to fail.

Guidance

  • Investigate the Codex Desktop configuration to determine if there is a timeout setting that can be adjusted to increase the limit beyond 60 seconds.
  • Review the Codex API documentation to see if there are any parameters that can be passed in the compact request to override the default timeout.
  • Check the Codex logs for any other error messages or warnings that may indicate the cause of the timeout.
  • Consider testing the compact request with a smaller conversation context to see if the issue is specific to large conversations.

Example

No code snippet is provided as the issue is related to configuration and API requests.

Notes

The issue may be specific to the Codex Desktop version 26.415.30602 (1773) and the "plus" subscription plan. The 60-second timeout may be a fixed limit in the Codex API or a configuration setting that can be adjusted.

Recommendation

Apply workaround: Increase the timeout limit or adjust the conversation context size to avoid hitting the 60-second limit, as the root cause is likely related to the timeout setting.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING