Skip to content

Codex CLI stream disconnected before completion after reconnect attempts #19121

Closed as duplicate

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.

Activity

  1. added
    bug
    CLI
    windows-os
    connectivity
    on Apr 23, 2026
  2. etraut-openai commented on Apr 23, 2026

    @etraut-openai
    Contributor

    Errors like this are often due to connectivity or network configuration issues.

  3. ani-musicans commented on Apr 23, 2026

    @ani-musicans
    Author
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

    CLIbugconnectivitywindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions