Skip to content

Stream disconnected before completion: Transport error #3835

Closed

Description

@HanYang3588

What version of Codex is running?

0.38.0

Which model were you using?

gpt-5-codex

What platform is your computer?

Darwin 25.0.0 arm64 arm

What steps can reproduce the bug?

This problem will occur as long as it is used, no special operation is required.

What is the expected behavior?

No response

What do you see instead?

⚠️ stream error: stream disconnected before completion: Transport error: error decoding response body; retrying 1/5 in 181ms… ⚠️ stream error: stream disconnected before completion: Transport error: error decoding response body; retrying 2/5 in 368ms… ⚠️ stream error: stream disconnected before completion: Transport error: error decoding response body; retrying 3/5 in 737ms… ⚠️ stream error: stream disconnected before completion: Transport error: error decoding response body; retrying 4/5 in 1.632s… ⚠️ stream error: stream disconnected before completion: Transport error: error decoding response body; retrying 5/5 in 3.23s… ■ stream disconnected before completion: Transport error: error decoding response body

Additional information

The MCP I configured is context7, and I also used VPN, but my VPN can be guaranteed to be normal.

Activity

  1. sa-adebayo commented on Sep 18, 2025

    @sa-adebayo

    Related to #2921 ?

  2. HanYang3588 commented on Sep 18, 2025

    @HanYang3588
    Author

    Related to #2921 ?

    Yep, same problem. But no effective solution was found. Some
    people suggested restarting codex , but this moethod is too troublesome.
    Wait for this issue to be fixed.

  3. hemingway33 commented on Sep 19, 2025

    @hemingway33

    same issue for two days, cannot complete even one task

  4. xiejesses commented on Sep 19, 2025

    @xiejesses

    same issue +1

  5. hwb96 commented on Sep 19, 2025

    @hwb96

    +1

  6. HanYang3588 commented on Sep 19, 2025

    @HanYang3588
    Author

    Version 0.39 sames to have solved this problem. At least I haven't encountered this problem today. Try updating to the latest version.

  7. DenisGorbachev commented on Sep 19, 2025

    @DenisGorbachev

    I'm still having the same issue on codex-cli 0.39.0

  8. JettLiu-0129 commented on Sep 21, 2025

    @JettLiu-0129

    +1. Tried different VPNs and not solving the problem

  9. buildinpublichub commented on Sep 22, 2025

    @buildinpublichub

    +1 I've run into the same issue these past few days
    But my access speed to ChatGPT is actually very fast

  10. iw2rmb commented on Sep 22, 2025

    @iw2rmb

    +1

  11. leoric-crown commented on Sep 24, 2025

    @leoric-crown

    I had this issue today. Was looking at my DNS logs while seeing the reconnect messages and noticed my host making calls to openrouter.ai

    I had OPENAI_API_KEY env var set as part of Qwen CLI testing and this was causing the failure (and routing to openrouter for some reason?). I am using OAUTH auth to use Codex, not the API key.

    Unsetting the env var re-enabled Codex CLI for me.

  12. IlyaShorin commented on Sep 24, 2025

    @IlyaShorin

    same

  13. felixzhao11 commented on Sep 25, 2025

    @felixzhao11

    same!

  14. Lzzzs commented on Sep 25, 2025

    @Lzzzs

    +1

  15. 74 remaining items

  16. crimpproduction commented on Nov 18, 2025

    @crimpproduction

    im getting error in vscode. it says: 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 19298611-0816-4bdd-86b9-1cf8efcbb3dd in your message.

  17. fatherofinvention commented on Nov 23, 2025

    @fatherofinvention

    still happening. stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id:
    9a2dd9313bffe5b5-DFW

  18. f1nder commented on Nov 23, 2025

    @f1nder

    and one more approve. stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2ddcfeac1b55a1-BKK

    'OpenAI Codex (v0.63.0) '

  19. bellaura commented on Nov 23, 2025

    @bellaura

    Keeps happening to me. ChatGPT was also behaving oddly for me just now.

    ■ stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id:
    9a2ddd329d8828fd-LAX

    ■ stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id:
    9a2ddb780b66f434-LAX

    ■ stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id:
    9a2dd86499eb24e5-LAX

    ■ stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id:
    9a2dd86499eb24e5-LAX

  20. ASoldo commented on Nov 23, 2025

    @ASoldo

    Same issue here! Started happening 20 minutes ago.
    I did logout and login but still happening.

  21. aarn-hs commented on Nov 23, 2025

    @aarn-hs

    Same here, right now

  22. xEIRAx commented on Nov 23, 2025

    @xEIRAx

    same wtf

  23. kirso commented on Nov 23, 2025

    @kirso

    facing the same thing:
    ■ stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2de4fb0e90ff78-CGK

  24. jppotess commented on Nov 23, 2025

    @jppotess

    same:
    stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2ddd30be80ddc4-HKG

  25. startEcho commented on Nov 23, 2025

    @startEcho

    stream disconnected before completion: Transport error: Error while reading
    the server response: error decoding response body, request id: 9a2ddb45ef17e361-
    NRT

  26. maalouane commented on Nov 23, 2025

    @maalouane

    stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2de5f198b9240f-FRA

  27. bellaura commented on Nov 23, 2025

    @bellaura

    Keeps happening to me. ChatGPT was also behaving oddly for me just now.

    ■ stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2ddd329d8828fd-LAX

    ■ stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2ddb780b66f434-LAX

    ■ stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2dd86499eb24e5-LAX

    ■ stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2dd86499eb24e5-LAX

    I reported my session via codex and so you have my logs. thread id: 019aa7e0-edc5-7731-8c77-8a023995e720

    OpenAI Codex (v0.61.0)

  28. itsDesignFlaw commented on Nov 23, 2025

    @itsDesignFlaw

    Yes, Codex is having difficulties, please remain calm ❤️

    Please follow the incident for updates

  29. godomainz commented on Nov 23, 2025

    @godomainz

    Still happening

    stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2de72c6f595134-CMB

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions