codex icon indicating copy to clipboard operation
codex copied to clipboard

`stream disconnected before completion` on `RPM`

Open guidedways opened this issue 10 months ago • 9 comments

What version of Codex is running?

v0.92.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.2-xhigh

What platform is your computer?

macOS

What terminal emulator and version are you using (if applicable)?

iTerm

What issue are you seeing?

• Reconnecting... 1/5 (5s • esc to interrupt)
  └ Stream disconnected before completion: Rate limit reached for organization org-BOvpEHVcDPTe8h4lZnwMO5Ly on input-images per min: Limit 10, Used 10, Requested 2. Please try again
    in 12s. Visit https://platform.openai.com/account/rate-limits to learn more.

What steps can reproduce the bug?

Uploaded thread: 019bffdc-c6fb-7802-8ef3-0be58033c369

What is the expected behavior?

No response

Additional information

No response

guidedways avatar Jan 28 '26 04:01 guidedways

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #10058
  • #10057
  • #10056
  • #10055
  • #10051

Powered by Codex Action

github-actions[bot] avatar Jan 28 '26 04:01 github-actions[bot]

Trying this with a second account, same issue:

• Reconnecting... 1/5 (20s • esc to interrupt)
  └ Stream disconnected before completion: Rate limit reached for organization org-ABC on tokens per min (TPM): Limit 250000, Used 250000, Requested 89623.
    Please try again in 21.509s. Visit https://platform.openai.com/account/rate-limits to learn more.

guidedways avatar Jan 28 '26 04:01 guidedways

Same

JKamsker avatar Jan 28 '26 04:01 JKamsker

same

ssh352 avatar Jan 28 '26 04:01 ssh352

seems only the vanilla gpt-5.2 models are down, the codex variants work

theblackboxinyourhead avatar Jan 28 '26 04:01 theblackboxinyourhead

Wakey wakey @etraut-openai

JKamsker avatar Jan 28 '26 04:01 JKamsker

same

var-gg avatar Jan 28 '26 04:01 var-gg

This worked for me:

The issue was a stale, cached authentication session in the local config (it was prioritizing an old/limited API Org that i have no idea where it came from nor what prompted it...? instead of my ChatGPT subscription).

  1. Kill lingering processes and remove the cached auth file:
pkill -f codex
rm ~/.codex/auth.json
  1. Start fresh (forcing no env vars to ensure a clean login):
env -u OPENAI_API_KEY -u OPENAI_ORGANIZATION codex
  1. Then just resign in with "Sign in with ChatGPT" when prompted.

ahmed-ela avatar Jan 28 '26 04:01 ahmed-ela

Thanks for reporting. There was a temporary service issue that caused the responses API to incorrectly report rate limit errors when it shouldn't. The issue has been mitigated. Everything should be back to normal now. Apologies for the disruption.

etraut-openai avatar Jan 28 '26 06:01 etraut-openai