Skip to content

Codex CLI stream disconnected before completion after reconnect attempts #19121

@ani-musicans

Description

@ani-musicans

What version of Codex is running?

codex-cli 0.114.0

What happened?

Codex CLI disconnected mid-response and exhausted reconnect attempts before completion.

Terminal output:

Reconnecting... 4/5 (21s • esc to interrupt)
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 5036c677-60f5-4aef-ad04-da4182e0fc56 in your message.

A later/rendered version of the same error was:

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 5036c677-60f5-4aef-ad04-da4182e0fc56 in your message.

Expected behavior

The stream should either recover after reconnect attempts or preserve enough state to resume the in-flight response cleanly without losing the completion.

Actual behavior

The stream disconnected before completion and returned only the generic retry/help-center message after reconnect attempts.

Request ID

5036c677-60f5-4aef-ad04-da4182e0fc56

Environment

  • OS: Windows / PowerShell
  • Codex CLI: 0.114.0
  • Local time observed: 2026-04-23T04:44:55-05:00

Private host/user details intentionally omitted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)windows-osIssues related to Codex on Windows systems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions