Skip to content

Juggling accounts no longer possible #3908

@dlukt

Description

@dlukt

What version of Codex is running?

codex-cli 0.39.0

Which model were you using?

gpt-5 minimal

What platform is your computer?

Linux 6.16.7-arch1-1 x86_64 unknown

What steps can reproduce the bug?

  • Auth with account 1
  • copy auth.json to auth-1.json
  • remove auth.json
  • Auth with account 2
  • copy auth.json to auth-2.json
  • remove auth.json
  • Auth with account 3
  • copy auth.json to auth-3.json
  • remove auth.json

Create shell scripts to copy auth-{1,2,3}.json to auth.json
Run shell script to copy auth-1 to auth
Work, hit your limits.
Run shell script to copy auth-2 to auth
See error message, 401 unauthorized.

What is the expected behavior?

It should work as before, no issues.

What do you see instead?

⚠️ stream error: exceeded retry limit, last status: 401 Unauthorized; retrying 1/5 in 183ms…

⚠️ stream error: exceeded retry limit, last status: 401 Unauthorized; retrying 2/5 in 378ms…

⚠️ stream error: exceeded retry limit, last status: 401 Unauthorized; retrying 3/5 in 746ms…

⚠️ stream error: exceeded retry limit, last status: 401 Unauthorized; retrying 4/5 in 1.621s…

⚠️ stream error: exceeded retry limit, last status: 401 Unauthorized; retrying 5/5 in 3.205s…

Additional information

I worked with auth-3,which is a plus sub.
Hit limits.
Wanted to work with auth-1, which is also a plus sub.
No longer possible.

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