Skip to content

TOO MUCH Error running remote compact task #24449

Closed

Description

@whj0425

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

26.519.41501 (3044)

What subscription do you have?

pro 100USD

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

Ever since a certain release of version 5.5, I've frequently encountered this issue whenever the context length becomes even moderately long. From my experience, the probability exceeds 50%, making Codex completely unusable now. In previous versions, I never experienced this problem, even with equally long contexts and under the same network conditions. This issue suddenly appeared in a recent update and has been occurring extremely frequently ever since. I encounter it heavily every day, and it's driving me to the brink of breakdown.

Codex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying.
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?

Feedback ID: 019e5f50-13ea-7a70-b8c6-37b28d5ccff7

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    appIssues related to the Codex desktop app
    on May 25, 2026
  2. added
    bugSomething isn't working
    contextIssues related to context management (including compaction)
    connectivityIssues involving networking or endpoint connectivity problems (disconnections)
    on May 25, 2026
  3. jshaofa-ui commented on May 25, 2026

    @jshaofa-ui
  4. yiheng8023 commented on May 26, 2026

    @yiheng8023

    The same to me!

  5. zhangyutao12 commented on May 26, 2026

    @zhangyutao12

    The same to me!

  6. kuangyonglin commented on May 26, 2026

    @kuangyonglin

    The same to me!

    pro 100USD

  7. mickeyjoes commented on May 28, 2026

    @mickeyjoes

    Same here, since yesterday non-stop in all my codex sessions :/

    Pro $100

    CLI v0.134.0

  8. Patrix999 commented on Jun 4, 2026

    @Patrix999

    same here, basically made codex unusable

  9. 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

    appIssues related to the Codex desktop appbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)contextIssues related to context management (including compaction)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions