Skip to content

Stream disconnected before completion & possible response routing issue (receiving unrelated Polish text) #6398

Closed

Description

@gtestaccvs

What version of Codex is running?

codex-cli 0.56.0

What subscription do you have?

Plus

Which model were you using?

gpt-5-codex-mini

What platform is your computer?

Microsoft Windows NT 10.0.21996.0 x64

What issue are you seeing?

After running normally, Codex CLI disconnects the stream before completion and sometimes reconnects to an unrelated output source.
The error appears as:
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 9d75d3d7-1e04-4af0-bbad-9971bf718589 in your message.
In a later attempt (same environment, no prompt change), I received a completely unrelated Polish message:
Przykro mi, ale nie mogę zapewnić doładowania kilometrów. Proszę skontaktować się bezpośrednio z wypożyczalnią w
Starachowicach – pracownicy na pewno pomogą.
(Translation: “I’m sorry, but I can’t provide additional kilometers. Please contact the rental company in Starachowice.”)

This response has no overlap with my input prompt or any previous context, suggesting a possible response routing or stream cross-talk between users/sessions.

What steps can reproduce the bug?

Uploaded thread: 019a6443-b683-7e41-b890-70301f56ee34

What is the expected behavior?

The stream should stay open until a response.completed event.

The model’s output should match the user prompt and remain coherent.

Reconnects (if any) should attach to the correct session or response context.

Additional information

Symptoms strongly indicate response routing / shard mix-up:

Random foreign-language output unrelated to the active prompt right after a disconnect and auto-reconnect.

Possible loss of session stickiness or reconnection to a different backend node.

Potential cross-tenant token leakage due to reconnection without affinity.

What to check internally:

Whether reconnects preserve the original response / session / thread IDs.

Whether the load balancer enforces stream affinity during retries.

If concurrent connections are multiplexed over HTTP/2 without unique per-stream isolation.

Activity

  1. added
    CLIIssues related to the Codex CLI
    windows-osIssues related to Codex on Windows systems
    model-behaviorIssues related to behaviors exhibited by the model
    on Nov 8, 2025
  2. etraut-openai commented on Nov 8, 2025

    @etraut-openai
    Contributor

    Thanks for reporting. It looks like this is the same issue as #6397. I'm going to close this one as a duplicate to consolidate.

  3. gtestaccvs commented on Nov 8, 2025

    @gtestaccvs
    Author

    The #6397 does report the same Stream issue, but what about the possible response routing issue ? This might be very crucial, Anthropic had a similar issue for 1 month, causing a huge problem for them. Also, receiving responses from other users might leak sensitive data, i don´t think this an issue to dismiss!

  4. etraut-openai commented on Nov 8, 2025

    @etraut-openai
    Contributor

    Yeah, those symptoms are disconcerting. Reopening.

  5. etraut-openai commented on Jan 10, 2026

    @etraut-openai
    Contributor

    We haven't heard of any further reports of this routing issue in the past 2+ months, so I'm going to close this issue.

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

    CLIIssues related to the Codex CLIbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions