Skip to content

Codex stream disconnected before completion on clean conversations #22472

Open

Description

@Chavelp

What version of the Codex App are you using (From “About Codex” dialog)?

26.506.31421

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Problem:
Codex repeatedly fails with reconnect loops and never completes the response.

Observed messages:

Reconnecting... 1/5
Reconnecting... 5/5
stream disconnected before completion
error sending request for url (https://chatgpt.com/backend-api/codex/responses)

What steps can reproduce the bug?

Just send a prompt

What is the expected behavior?

Happens even in completely new conversations
Happens with relatively small prompts
Renaming/removing AGENTS.md did not solve it
Internet connection remains stable
Reproducible consistently

Additional information

Codex should either recover the stream or fail gracefully instead of looping indefinitely.

Activity

  1. added
    app
    on May 13, 2026
  2. added
    bug
    connectivity
    on May 13, 2026
  3. etraut-openai commented on May 13, 2026

    @etraut-openai
    Contributor

    This is likely a network connectivity issue. Check for VPN, proxy, or firewall issues. If you're on a corporate network, work with your IT team to diagnose.

  4. zzxyy123 commented on May 14, 2026

    @zzxyy123

    same question,my subscribe is pro and last codexapp seem decline during the prompt and it shows stream disconnected before completion: Transport error: network error: error decoding response body

  5. samdbradner commented on Jul 27, 2026

    @samdbradner

    Same here - I have this issue constantly. I got this evidence during a troubleshooting session with Codex:
    Evidence:

    • 67 identical disconnects in seven days.
    • 33 today, including 9 in this task.
    • Many failed after tokens had already arrived.
    • During actual Codex disconnects:Router: 100/100 packets, 0% loss.
    • Internet: 100/100 packets, 0% loss.
    • Long HTTPS stream: completed after 94.7 seconds.
    • Persistent Google HTTP/2: 90/90 requests.
    • Persistent chatgpt.com HTTP/2: 90/90 requests over one IPv6 connection.
    • Only https://chatgpt.com/backend-api/codex/responses repeatedly fails.
    • Installed ChatGPT/Codex build: 26.721.4979.0.
    • The desktop logs also contain 164 separate file-watch errors.

    The diagnostics claimed to rule out network connectivity issues. Really hoping for a resolution on this - it makes my job so much more difficult to do.

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

    appbugconnectivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions