unable to use codex saying "Error running remote compact task: stream disconnected before completion"

Resolved 💬 4 comments Opened Jun 29, 2026 by Prasad03-git Closed Jun 29, 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)?

Version 26.623.42026 • Released 27 Jun 2026

What subscription do you have?

Error running remote compact task: stream disconnected before completion: An error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists. Please include the request ID 1edbc41e-8276-426e-be68-0ce00c3b335e in your message.

What platform is your computer?

_No response_

What issue are you seeing?

Error running remote compact task: stream disconnected before completion: An error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists. Please include the request ID 1edbc41e-8276-426e-be68-0ce00c3b335e in your message.

What steps can reproduce the bug?

Error running remote compact task: stream disconnected before completion: An error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists. Please include the request ID 1edbc41e-8276-426e-be68-0ce00c3b335e in your message.

What is the expected behavior?

when i submit prompt ir should work and generate relevant output

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 2 months ago

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

  • #30018
  • #29529
  • #29302

Powered by Codex Action

zhangNengbo98 · 2 months ago

yes, just at moment, i also found this problem.

etraut-openai contributor · 1 month ago

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.

zhangNengbo98 · 1 month ago

Thank you for your response.

Eric Traut @.***> 于2026年6月30日周二 01:12写道:

etraut-openai left a comment (openai/codex#30554) <https://github.com/openai/codex/issues/30554#issuecomment-4835148327> 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. — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/30554?email_source=notifications&email_token=BSF3LXYLECVWUKLZPK23XLD5CKPOTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBTGUYTIOBTGI32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4835148327>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BSF3LXZVKL3VURLMSNPTQPD5CKPOTAVCNFSNUABFKJSXA33TNF2G64TZHM4TMNJUGE2TMNBZHNEXG43VMU5TINZWG4ZDAMJYG4Y2C5QC> . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS <https://github.com/notifications/mobile/ios/BSF3LXYWBU5QWRHLH6EMSHT5CKPOTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBTGUYTIOBTGI32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJKTGN5XXIZLSL5UW64Y> and Android <https://github.com/notifications/mobile/android/BSF3LX7NNSEVC2YI5LX6TOL5CKPOTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBTGUYTIOBTGI32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>. Download it today! You are receiving this because you commented.Message ID: @.***>