Skip to content

Error running remote compact task #13784

Closed as duplicate
Closed as duplicate

Description

@BlackShadow

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

v0.111.0

What subscription do you have?

GPT 5.4 Pro

What platform is your computer?

Windows 11 25H2 64-bit

What issue are you seeing?

While working Codex stops and gives this error.

■ 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?

Just let Codex work for a while and it will stop.

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    appIssues related to the Codex desktop app
    on Mar 6, 2026
  2. github-actions commented on Mar 6, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. BlackShadow commented on Mar 7, 2026

    @BlackShadow
    Author

    @etraut-openai

    This is seriously frustrating. I've been dealing with this issue since 2 days my tokens just getting wasted...

  4. nickmahl commented on Mar 9, 2026

    @nickmahl

    Same issue here

  5. BlackShadow commented on Mar 9, 2026

    @BlackShadow
    Author

    It seems this issue occurs by using VPN... I turned off and works fine. But shouldn't be doing that.

  6. mhwtx commented on Mar 11, 2026

    @mhwtx

    Same issue here

  7. IPRIT commented on Mar 13, 2026

    @IPRIT

    Same issue here, very frustrating to use codex...

  8. sedghi commented on Mar 16, 2026

    @sedghi

    same right now

  9. peroksid90 commented on Mar 16, 2026

    @peroksid90

    same

  10. Grallen commented on Mar 16, 2026

    @Grallen

    I think I've solved this... just need to get attention on my fix: #14860

  11. PeresvetS commented on Mar 17, 2026

    @PeresvetS

    same, very often, pls check Grallen commit or do smt with it, it is really annoying :( every hour 2-3 times I get it

  12. coderZoe commented on Mar 18, 2026

    @coderZoe

    same issue need to fix

  13. shaohongtao2020 commented on Mar 20, 2026

    @shaohongtao2020

    same

  14. wulongwang commented on Mar 20, 2026

    @wulongwang

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

  15. apoorv-garg-31 commented on Mar 21, 2026

    @apoorv-garg-31

    Any resolution ? I have started facing the same issue today.

  16. AaronRayRay commented on Mar 24, 2026

    @AaronRayRay

    I've been getting this issues for several days now. Reported multiple times via Feedback in Codex app, the latest being 019d1fff-5705-7092-9468-30adf07dfbdc

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

  17. gwest1000 commented on Mar 24, 2026

    @gwest1000

    Same. Running 5.4 (fast) xhigh in codex app macos. Context window was 88% full. I did have VPN on and it failed with this error 3 times. I just switched VPN off and now it's working, similar result to what another user reported above.

  18. AaronRayRay commented on Mar 24, 2026

    @AaronRayRay

    Same. Running 5.4 (fast) xhigh in codex app macos. Context window was 88% full. I did have VPN on and it failed with this error 3 times. I just switched VPN off and now it's working, similar result to what another user reported above.

    Thank you @gwest1000 I've just turned off my vpn and it has worked again. I've had the VPN on all day and compacting has occurred multiple times, but the issue has happened a couple of times today. Strange but working now, cheers

  19. haibindev commented on Mar 28, 2026

    @haibindev

    try this skill, https://github.com/haibindev/golast, It recovers the last actionable request from a crashed or compacted session, so you can pick up exactly where you left off.

  20. gwest1000 commented on Mar 30, 2026

    @gwest1000

    Same. Running 5.4 (fast) xhigh in codex app macos. Context window was 88% full. I did have VPN on and it failed with this error 3 times. I just switched VPN off and now it's working, similar result to what another user reported above.

    Turning off VPN has been consistently working for me but this is obviously not a fix, as I and many others prefer to have VPN on generally. I'm getting this error daily, and it's a pain.

  21. added
    contextIssues related to context management (including compaction)
    and removed
    appIssues related to the Codex desktop app
    on Apr 1, 2026
  22. lasertiger commented on Apr 22, 2026

    @lasertiger

    Same every single session can not compact. all gpt-5.4 xhigh. all of them are messed up. two days now. 019db277-a58f-7452-ae32-c486d4e3bc4a

  23. Rafik-Belkadi-Reccap commented on May 12, 2026

    @Rafik-Belkadi-Reccap

    Same here

  24. Zhycean-Pixel commented on Jun 10, 2026

    @Zhycean-Pixel

    same problem here

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

    bugSomething isn't workingcontextIssues 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