openai / openai/codex

VS Code Codex extension: Usage settings page fails after ChatGPT re-login

Open
#44,758 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app auth bug connectivity extension windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

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

26.908.31748

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Windows 11 x64

What issue are you seeing?

The Usage settings page in the VS Code Codex extension shows:

"无法加载使用设置"

This page worked before I signed out of ChatGPT. After signing in again, it stopped loading.

ChatGPT Web can load the Usage page normally using the same account. Codex conversations also work normally in VS Code.

Clicking Retry does not resolve the issue.

Environment:

  • VS Code: 1.99.2
  • Codex extension: openai.chatgpt 26.908.31748
  • Authentication: Sign in with ChatGPT
  • Platform: Windows 11 x64

The extension log repeatedly reports failures for these endpoints:

  • /wham/usage
  • /settings/user
  • /wham/accounts/check

The requests show status=null.

Expected behavior:
The Usage settings page should load normally after signing in with ChatGPT.

What steps can reproduce the bug?
  1. Open VS Code.
  2. Open the Codex extension.
  3. Sign in with ChatGPT.
  4. Open Settings > Usage.
  5. The page shows "无法加载使用设置".
  6. Click Retry; the page still does not load.
What is the expected behavior?

No response

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in the VS Code Codex extension by signing in again and opening Settings > Usage. Start by inspecting the extension logs for /wham/usage, /settings/user, and /wham/accounts/check, then trace the Usage settings page's handling of their status=null responses. Done means the Usage page loads after ChatGPT re-login and Retry succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
authentication, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.