Error running remote compact task
Resolved 💬 22 comments Opened Mar 6, 2026 by BlackShadow Closed Apr 1, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
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_
22 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
@etraut-openai
This is seriously frustrating. I've been dealing with this issue since 2 days my tokens just getting wasted...
Same issue here
It seems this issue occurs by using VPN... I turned off and works fine. But shouldn't be doing that.
Same issue here
Same issue here, very frustrating to use codex...
same right now
same
I think I've solved this... just need to get attention on my fix: https://github.com/openai/codex/issues/14860
same, very often, pls check Grallen commit or do smt with it, it is really annoying :( every hour 2-3 times I get it
same issue need to fix
same
Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)
Any resolution ? I have started facing the same issue today.
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)
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
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.
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.
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
Same here
same problem here