openai / openai/codex

Account-specific server_overloaded / capacity errors: Plus account 0/11 while Free account 11/11 on same machine, network, CLI, and model

Open
#46,103 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug CLI connectivity
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of Codex CLI is running?

0.154.0

What subscription do you have?

plus

Which model were you using?

gpt-5.6-luna

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

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

Codex

Codex doctor report
{
  "schemaVersion": 1,
  "generatedAt": "1789617166s since unix epoch",
  "overallStatus": "warning",
  "codexVersion": "0.154.0",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is not running",
      "details": {
        "control socket": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\app-server-control\\app-server-control.sock",
        "daemon state dir": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\app-server-daemon",
        "mode": "ephemeral",
        "pid file": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\app-server-daemon\\app-server.pid (missing)",
        "settings": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\app-server-daemon\\settings.json (missing)",
        "status": "not running",
        "update-loop pid file": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\app-server-daemon\\app-server-updater.pid (missing)"
      },
      "remediation": null,
      "durationMs": 0
    },
    "auth.credentials": {
      "id": "auth.credentials",
      "category": "auth",
      "status": "ok",
      "summary": "auth is configured",
      "details": {
        "auth file": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\auth.json",
        "auth storage mode": "File",
        "stored API key": "false",
        "stored ChatGPT tokens": "true",
        "stored agent identity": "false",
        "stored auth mode": "chatgpt"
      },
      "remediation": null,
      "durationMs": 0
    },
    "config.load": {
      "id": "config.load",
      "category": "config",
      "status": "ok",
      "summary": "config loaded",
      "details": {
        "CODEX_HOME": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a",
        "active thread overrides": "not inspected",
        "config.toml": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\config.toml",
        "config.toml parse": "ok",
        "configuration load ms": "7",
        "configuration scope": "invocation config, including cloud-managed policy",
        "cwd": "C:\\WINDOWS\\system32",
        "enabled feature flags": "<redacted>",
        "feature flag overrides": "none",
        "feature flags enabled": "49",
        "log dir": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\log",
        "mcp servers": "0",
        "model": "<default>",
        "model provider": "openai",
        "sqlite home": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a"
      },
      "remediation": null,
      "durationMs": 0
    },
    "desktop.app.version": {
      "id": "desktop.app.version",
      "category": "desktop",
      "status": "ok",
      "summary": "the desktop application is installed",
      "details": {
        "log directory": "$HOME\\AppData\\Local\\Codex/Logs",
        "running": "true",
        "version": "26.908.9136.0"
      },
      "remediation": null,
      "durationMs": 0
    },
    "desktop.app_server.handshake": {
      "id": "desktop.app_server.handshake",
      "category": "desktop",
      "status": "ok",
      "summary": "no desktop app-server handshake was recorded",
      "details": {},
      "remediation": null,
      "durationMs": 0
    },
    "desktop.security.enforcement": {
      "id": "desktop.security.enforcement",
      "category": "desktop",
      "status": "ok",
      "summary": "no locally visible recent Codex security enforcement was found",
      "details": {},
      "remediation": null,
      "durationMs": 0
    },
    "git.environment": {
      "id": "git.environment",
      "category": "git",
      "status": "ok",
      "summary": "git executable found; execution not verified",
      "details": {
        "PATH git #1": "C:\\Program Files\\Git\\cmd\\git.exe",
        "PATH git entries": "1",
        "git execution": "not inspected (PATH helpers are not executed)",
        "repo detected": "false",
        "selected git": "C:\\Program Files\\Git\\cmd\\git.exe"
      },
      "remediation": null,
      "durationMs": 14
    },
    "git.worktree.dev_drive": {
      "id": "git.worktree.dev_drive",
      "category": "git",
      "status": "ok",
      "summary": "no Git worktree is active",
      "details": {},
      "remediation": null,
      "durationMs": 0
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "F:\\nodejs\\node_global\\codex.cmd",
        "current executable": "F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin\\codex.exe",
        "install context": "npm (package F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc, bin F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin, resources F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-resources, path F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path)",
        "managed by Vite+": "false",
        "managed by bun": "false",
        "managed by npm": "true",
        "managed by pnpm": "false",
        "managed package root": "F:\\nodejs\\node_global\\node_modules\\@openai\\codex",
        "npm update target": "not inspected (PATH helpers are not executed)"
      },
      "remediation": null,
      "durationMs": 10
    },
    "mcp.config": {
      "id": "mcp.config",
      "category": "mcp",
      "status": "ok",
      "summary": "no MCP servers configured",
      "details": {},
      "remediation": null,
      "durationMs": 0
    },
    "network.env": {
      "id": "network.env",
      "category": "network",
      "status": "ok",
      "summary": "network-related environment looks readable",
      "details": {
        "managed proxy": "not configured",
        "proxy env vars": "none",
        "respect system proxy": "disabled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "network.provider_reachability": {
      "id": "network.provider_reachability",
      "category": "reachability",
      "status": "warning",
      "summary": "desktop update and runtime CDN is unreachable",
      "details": {
        "ChatGPT inference URL": "https://chatgpt.com/backend-api/<redacted> reachable (HTTP 405)",
        "desktop assets CDN": "https://persistent.oaistatic.com/codex-app-prod/<redacted> request timed out (optional)",
        "reachability mode": "ChatGPT auth"
      },
      "issues": [
        {
          "severity": "warning",
          "cause": "desktop update and runtime CDN is unreachable",
          "measured": "https://persistent.oaistatic.com/codex-app-prod/<redacted> request timed out",
          "expected": "desktop update and runtime CDN reachable over HTTPS",
          "remedy": "check proxy, firewall, DNS, and certificate access to persistent.oaistatic.com",
          "fields": [
            "desktop assets CDN"
          ]
        }
      ],
      "remediation": null,
      "durationMs": 1730
    },
    "network.websocket_reachability": {
      "id": "network.websocket_reachability",
      "category": "websocket",
      "status": "ok",
      "summary": "Responses WebSocket handshake succeeded",
      "details": {
        "DNS": "1 IPv4, 0 IPv6, first IPv4",
        "auth mode": "chatgpt",
        "connect timeout": "15000 ms",
        "endpoint": "wss://chatgpt.com/backend-api/<redacted>",
        "handshake result": "HTTP 101 Switching Protocols",
        "model provider": "openai",
        "provider name": "OpenAI",
        "proxy env vars": "none",
        "reasoning header": "false",
        "server model present": "false",
        "supports websockets": "true",
        "wire API": "responses"
      },
      "remediation": null,
      "durationMs": 3844
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running npm on windows-x86_64",
      "details": {
        "commit": "unknown",
        "current executable": "F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin\\codex.exe",
        "install method": "npm (package F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc, bin F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\bin, resources F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-resources, path F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path)",
        "platform": "windows-x86_64",
        "version": "0.154.0"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search command found (bundled); execution not verified",
      "details": {
        "search command": "F:\\nodejs\\node_global\\node_modules\\@openai\\codex\\node_modules\\@openai\\codex-win32-x64\\vendor\\x86_64-pc-windows-msvc\\codex-path\\rg.exe",
        "search command readiness": "file exists",
        "search provider": "bundled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "sandbox.helpers": {
      "id": "sandbox.helpers",
      "category": "sandbox",
      "status": "ok",
      "summary": "sandbox configuration is readable",
      "details": {
        "approval policy": "OnRequest",
        "codex-linux-sandbox helper": "none",
        "denied-read glob rules": "0",
        "denied-read restrictions": "false",
        "denied-read rules": "0",
        "execve wrapper helper": "none",
        "filesystem sandbox": "restricted",
        "glob scan max depth": "unbounded",
        "managed filesystem source": "none",
        "network sandbox": "restricted",
        "sandbox backend": "<redacted>"
      },
      "remediation": null,
      "durationMs": 0
    },
    "security.endpoint": {
      "id": "security.endpoint",
      "category": "security",
      "status": "ok",
      "summary": "no supported endpoint protection detected",
      "details": {
        "endpoint products": "none detected"
      },
      "remediation": null,
      "durationMs": 16
    },
    "state.paths": {
      "id": "state.paths",
      "category": "state",
      "status": "ok",
      "summary": "state paths and databases are inspectable",
      "details": {
        "CODEX_HOME": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a (dir)",
        "active rollout files": "0 files, 0 total bytes, 0 average bytes",
        "archived rollout files": "0 files, 0 total bytes, 0 average bytes",
        "goals DB": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\log (dir)",
        "memories DB": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "queue DB": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\queue_1.sqlite (file)",
        "queue DB integrity": "ok",
        "sqlite home": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a (dir)",
        "state DB": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\state_5.sqlite (file)",
        "state DB integrity": "ok",
        "thread history DB": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\thread_history_1.sqlite (missing)",
        "thread history DB integrity": "skipped (missing)"
      },
      "remediation": null,
      "durationMs": 82
    },
    "state.rollout_db_parity": {
      "id": "state.rollout_db_parity",
      "category": "threads",
      "status": "ok",
      "summary": "rollout files and state DB thread inventory agree",
      "details": {
        "default model provider": "openai",
        "rollout DB active files": "0",
        "rollout DB active rows": "0",
        "rollout DB archive mismatches": "0",
        "rollout DB archived files": "0",
        "rollout DB archived rows": "0",
        "rollout DB duplicate DB paths": "0",
        "rollout DB duplicate rollout thread ids": "0",
        "rollout DB malformed file names": "0",
        "rollout DB missing active rows": "0",
        "rollout DB missing archived rows": "0",
        "rollout DB model providers": "none",
        "rollout DB rows": "0",
        "rollout DB scan cap reached": "false",
        "rollout DB scan errors": "0",
        "rollout DB sources": "none",
        "rollout DB stale rows": "0"
      },
      "remediation": null,
      "durationMs": 79
    },
    "system.disk": {
      "id": "system.disk",
      "category": "disk",
      "status": "ok",
      "summary": "sufficient free disk space (53.5 GiB)",
      "details": {
        "CODEX_HOME available": "53.5 GiB",
        "failure threshold": "1.0 GiB",
        "warning threshold": "5.0 GiB",
        "worktree available": "53.5 GiB"
      },
      "remediation": null,
      "durationMs": 0
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language zh-CN",
      "details": {
        "EDITOR": "not set",
        "VISUAL": "not set",
        "os": "Windows 10.0.26200 (Windows 11 Enterprise) [64-bit]",
        "os language": "zh-CN",
        "os type": "Windows",
        "os version": "10.0.26200"
      },
      "remediation": null,
      "durationMs": 0
    },
    "terminal.env": {
      "id": "terminal.env",
      "category": "terminal",
      "status": "ok",
      "summary": "terminal metadata was detected",
      "details": {
        "color output": "disabled (stdout is not a terminal)",
        "console input code page": "936",
        "console output code page": "936",
        "stderr console mode": "0x00000007 (VT processing: true)",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout console mode": "unavailable",
        "stdout is terminal": "false",
        "terminal": "unknown",
        "terminal size": "120x30"
      },
      "remediation": null,
      "durationMs": 10
    },
    "terminal.title": {
      "id": "terminal.title",
      "category": "title",
      "status": "ok",
      "summary": "terminal title default",
      "details": {
        "terminal title activity": "true",
        "terminal title items": "activity, project-name",
        "terminal title project source": "cwd",
        "terminal title project value": "system32",
        "terminal title source": "default"
      },
      "remediation": null,
      "durationMs": 0
    },
    "updates.status": {
      "id": "updates.status",
      "category": "updates",
      "status": "ok",
      "summary": "update configuration is locally consistent",
      "details": {
        "cached latest version": "0.154.0",
        "check for update on startup": "true",
        "last checked at": "2026-09-17T03:19:49.082986800Z",
        "latest version": "0.154.0",
        "latest version status": "current version is not older",
        "npm update target": "not inspected (PATH helpers are not executed)",
        "update action": "npm install -g @openai/codex",
        "version cache": "C:\\Users\\2019052903\\AppData\\Local\\Temp\\codex-account-a\\version.json"
      },
      "remediation": null,
      "durationMs": 1473
    }
  }
}
What issue are you seeing?

I am seeing repeated Selected model is at capacity / server_overloaded errors that appear to be account-specific.

On the same Windows PC, same network, same Codex CLI installation, same model, same command, and nearly the same time window:

  • Free account: 11/11 requests succeeded
  • Plus account: 0/11 requests succeeded

The Plus account still had substantial usage remaining:

  • 5h limit: 93% left
  • Weekly limit: 59% left

The exact error returned by the Plus account is:

{"type":"thread.started","thread_id":"..."}
{"type":"turn.started"}
{"type":"error","message":"Selected model is at capacity. Please try a different model."}
{"type":"turn.failed","error":{"message":"Selected model is at capacity. Please try a different model."}}

Historical rollout logs for the affected Plus account also contain repeated structured errors such as:

"codex_error_info":"server_overloaded"

I found 267 deduplicated historical records containing server_overloaded.

This does not appear to be normal usage-limit exhaustion or general model unavailability, because the Free account succeeds consistently under the same local conditions.

What steps can reproduce the bug?

Environment:

  • OS: Windows
  • Codex CLI: 0.154.0
  • Model: gpt-5.6-luna
  • Same PC
  • Same Windows installation
  • Same network/public IP
  • Same Codex CLI installation
  • Same command
  • Same prompt

Reproduction command:

codex exec `
  --ignore-user-config `
  --ephemeral `
  --skip-git-repo-check `
  -C $env:TEMP `
  -s read-only `
  -m gpt-5.6-luna `
  -c 'model_reasoning_effort="low"' `
  --json `
  'Reply with exactly OK. Do not use tools.'

Steps:

  1. Log in to Account A (Free).
  2. Run the command above repeatedly.
  3. Result: 11/11 requests succeeded with OK.
  4. Log out and log in to Account B (Plus) on the same machine.
  5. Run the exact same command.
  6. Result: 0/11 requests succeeded; all returned Selected model is at capacity. Please try a different model.

Example successful Free-account response:

{"type":"thread.started","thread_id":"01a0ad75-6e3e-7d63-9281-0a39098c29dd"}
{"type":"turn.started"}
{"type":"item.completed","item":{"id":"item_0","type":"agent_message","text":"OK"}}
{"type":"turn.completed","usage":{"input_tokens":13153,"cached_input_tokens":12032,"cache_write_input_tokens":0,"output_tokens":5,"reasoning_output_tokens":0}}

Example failing Plus-account thread ID:

01a0ad75-db0f-7ca1-a914-c23db9a1155a

Result:

{"type":"turn.started"}
{"type":"error","message":"Selected model is at capacity. Please try a different model."}
{"type":"turn.failed","error":{"message":"Selected model is at capacity. Please try a different model."}}

I also tested gpt-6-astra on the Plus account.

One request succeeded, but a subsequent request returned the same capacity error.

Therefore, the Plus account is not completely unable to perform inference, but it appears to experience abnormal or intermittent serving/admission failures.

What is the expected behavior?

The Plus account should be able to invoke Codex models normally while substantial usage limits remain.

In particular, when the same machine, same network, same Codex CLI version, same model, same prompt, and same command succeed consistently with another account, I would expect the Plus account to behave similarly rather than consistently returning:

Selected model is at capacity. Please try a different model.

If this were only a temporary global capacity issue, I would also expect both accounts to be affected more similarly during the same test window.

Additional information

Additional observations:

  • Codex CLI version: 0.154.0
  • Affected account plan: Plus
  • Plus account usage at the time of testing:
    • 5h limit: 93% left
    • Weekly limit: 59% left
  • Free account:
    • Monthly limit: 100% left
  • Plus account historical rollout logs contain 267 deduplicated records with:
"codex_error_info":"server_overloaded"

Occasionally both accounts also print:

ERROR codex_models_manager::manager: failed to refresh available models: timeout waiting for child process to exit

However, this appears unrelated to the capacity failure.

The Free account produced this model-manager timeout and still completed the inference successfully with OK.

The Plus account can produce the same model-manager timeout followed by the capacity error.

This suggests that the model catalog refresh timeout is a separate issue rather than the root cause.

The controlled A/B test result is:

Free account:  11 / 11 successful
Plus account:   0 / 11 successful

The failure therefore appears to follow the account rather than:

  • the Windows installation
  • the machine
  • the network
  • the workspace
  • local Codex configuration
  • the prompt
  • the CLI installation
  • general availability of gpt-5.6-luna
  • normal usage-limit exhaustion

Could you please investigate whether the affected Plus account has an abnormal account-specific:

  • serving pool assignment
  • routing state
  • admission-control state
  • provisioning or entitlement state
  • throttling or protection state

I can provide additional sanitized rollout excerpts, exact timestamps, thread IDs, and codex doctor --json output if needed.

PII such as account email addresses, OAuth URLs, and authentication details has been intentionally omitted.

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

Start by reproducing the server_overloaded and capacity errors with the same machine, network, CLI version, and model while comparing the Plus and Free accounts. Use the Codex CLI and the provided doctor report as the initial context; done means determining whether the differing limits are account-specific and documenting a clear next action.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.