openai / openai/codex

Compacting bug

Open
#44,464 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug connectivity context
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What issue are you seeing?
Image

⚠ Falling back from WebSockets to HTTPS transport. stream disconnected before completion: IO error: peer closed connection without sending TLS close_notify:
https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof

■ Error running remote compact task: stream disconnected before completion: Transport error: network error: error decoding response body

What steps can reproduce the bug?

i try in two different session and i got this error when want to compact context.

What is the expected behavior?

I expect the context to be compact.

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. First reproduce context compaction in two sessions and inspect the remote compact task's WebSockets-to-HTTPS fallback and response-body error handling. Done means the context compacts successfully without the transport or TLS unexpected-EOF error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.