You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact) #14063
In ~/.codex/config.toml
Put stream_idle_timeout_ms = 300000
It puts a three minutes timeout on it. If you are on Linux it's currently 30 seconds. The 150 seconds it seems to take is only because it retries 5 times.
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.
Activity
github-actions commentedon Mar 9, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
DanilAtyukov-dev commentedon Mar 13, 2026
same problem, thread ID 019cdcf1-59d7-7611-b1f9-abdf08a02deb
Grallen commentedon Mar 16, 2026
This it probably related to the too short timeout fix I just submitted #14860
slurrr commentedon Apr 1, 2026
me too
019d4ab1-0351-71a0-ba05-ec95238f5cb6
jonasrisbrandt commentedon Apr 10, 2026
Same. 019d73db-6765-7791-ab1e-94c90192b7d6
RobotKSR commentedon Apr 19, 2026
What I paid subscription for?
Grallen commentedon Apr 20, 2026
In
~/.codex/config.tomlPut
stream_idle_timeout_ms = 300000It puts a three minutes timeout on it. If you are on Linux it's currently 30 seconds. The 150 seconds it seems to take is only because it retries 5 times.
etraut-openai commentedon Jun 29, 2026
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
/feedbackand open a new bug report.