Skip to content

The context cannot be automatically compressed and an error is prompted: Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact) #26069

Closed

Description

@yixuanoba

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

new

What subscription do you have?

pro

What platform is your computer?

No response

What issue are you seeing?

The context cannot be automatically compressed and an error is prompted: Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)

What steps can reproduce the bug?

The context cannot be automatically compressed and an error is prompted: Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    app
    on Jun 3, 2026
  2. added
    bug
    context
    connectivity
    on Jun 3, 2026
  3. github-actions commented on Jun 3, 2026

    @github-actions
    Contributor
  4. ybsun0215 commented on Jun 10, 2026

    @ybsun0215

    Why does this issue persist? Hasn't anyone noticed it? Even in version 138, Compact is still broken.

  5. etraut-openai commented on Jun 29, 2026

    @etraut-openai
    Contributor

    Thanks for reporting this problem. Until recently, Codex used a separate endpoint and server-side logic for compaction. We recently switched to a more robust approach where the compaction logic is moved locally using the same endpoint as normal turns. This eliminates "remote compaction" errors and increases the stability and reliability of compaction operations. If you see further problems with compaction, please use /feedback and open a new bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugconnectivitycontext

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions