Skip to content

Codex becomes unusable after forced re-login: single instance works, other instances fail, reboot breaks all IDE instances #9675

@Enthoes1

Description

@Enthoes1

What version of Codex is running?

0.4.62

What subscription do you have?

chatgpt plus

Which model were you using?

gpt5.2

What platform is your computer?

windows wsl

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

No response

What issue are you seeing?

Description

Today Codex unexpectedly prompted me to log out and re-login.
The login flow itself works normally: I can successfully log out and log back in with my ChatGPT account.

However, after this forced re-login, Codex behavior becomes inconsistent and eventually completely unusable.

Observed Behavior

  1. After re-login:

    • One existing IDE instance can still use Codex normally.
    • All other IDE instances immediately fail with:
      stream disconnected before completion:
      error sending request for url (https://chatgpt.com/backend-api/codex/responses)
      
  2. Re-login does NOT fix the failing instances.

    • Logging out and logging back in works every time.
    • Authentication appears successful.
    • But Codex requests still fail in those instances.
  3. After restarting the device:

    • Codex becomes completely unusable in ALL IDE instances.
    • Every Codex request fails with the same stream disconnected error.
    • Login / logout still works normally, but Codex cannot function anymore.

Key Point

Authentication is successful and stable, but Codex functionality depends on instance state.
After a forced re-login, only one existing instance may continue working temporarily.
Once the system is restarted, all instances become unusable.

This suggests a session / backend / connection handling issue rather than an authentication failure.

Expected Behavior

  • After a successful login, Codex should work consistently across IDE instances.
  • Restarting the device should not permanently break Codex functionality.
  • If the backend connection is blocked or invalid, Codex should fail gracefully or recover after re-login.

Actual Behavior

  • Codex works only in one existing instance after re-login.
  • Other instances fail immediately.
  • After reboot, Codex fails in all instances permanently (until now).
  • Login/logout always succeeds, giving no indication of failure.

Error Message

What steps can reproduce the bug?

have mentiened before

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions