Infinite Model response Hanging
What version of Codex is running?
v0.63.0
What subscription do you have?
Plus
Which model were you using?
Codex
What platform is your computer?
Windows 11
What issue are you seeing?
model never replys some kinda weird oath glitch stuck infite loading. it could be user error but idk.
What steps can reproduce the bug?
Uploaded thread: 019aad72-7048-74c3-b3f0-9209615edf52
What is the expected behavior?
PS C:\Users\14046\downloads> codex login
Starting local login server on http://localhost:1455.
If your browser did not open, navigate to this URL to authenticate:
› hi
■ Conversation interrupted - tell the model what to do differently. Something went wrong? Hit /feedback to report
the issue.
PS C:\Users\14046\downloads> code
PS C:\Users\14046\downloads> codex
╭─────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.63.0) │
│ │
│ model: gpt-5.1-codex-max /model to change │
│ directory: ~\downloads │
╰─────────────────────────────────────────────────╯
To get started, describe a task or try one of these commands:
/init - create an AGENTS.md file with instructions for Codex
/status - show current session configuration
/approvals - choose what Codex can do without approval
/model - choose what model and reasoning effort to use
/review - review any changes and find issues
• Model changed to gpt-5.1 medium
› hi
• Feedback uploaded. Please open an issue using the following URL:
https://github.com/openai/codex/issues/new?template=2-bug-report.yml&steps=Uploaded%20thread:%20019aad72-7048-74c3-
b3f0-9209615edf52
Or mention your thread ID 019aad72-7048-74c3-b3f0-9209615edf52 in an existing issue.
◦ Working (7m 57s • esc to interrupt)
› Summarize recent commits
100% context left · ? for shortcuts
Additional information
_No response_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Thanks for reporting the problem. The service is down in some geographies. The team is working on it. Closing in favor of https://github.com/openai/codex/issues/7156.
Title: Codex CLI rejects valid project API keys — "invalid_api_key" & Conversation interrupted
Description:
Hi — I’m hitting an auth failure when trying to run the Codex CLI with a project API key. I’ve followed the documented steps: removed ~/.codex/auth.json, set
~/.codex/config.tomlwithpreferred_auth_method = "apikey", exportedOPENAI_API_KEYin the shell, and usecodex-cli v0.63.0./statusshows “API key configured (run codex login to use ChatGPT)”, but any attempt to talk to the model returns “Conversation interrupted” and curl requests to the API return:{"error":{"message":"Incorrect API key provided: sk-proj-****CTED","code":"invalid_api_key"}}
What I tried:
curl— every key returnsinvalid_api_key.~/.codex/auth.jsonand~/.codex/sessions.Diagnostics (redact keys before posting):
codex --version: v0.63.0/statusblock: [paste full /status output here]~/.codex/config.toml: [paste contents]tail -n 200 ~/.codex/log: [paste the last ~200 lines]curloutput (redact the key): [pastecurlresponse which contains invalid_api_key]Problem summary:
Codex CLI appears to be sending a key that the backend rejects with
invalid_api_key. The same keys created in the platform UI consistently return the invalid API key error when used from my machine. This prevents Codex from establishing a conversation (Conversation interrupted / Reconnecting). My account: ryan.lueckenotte@gmail.com.Please advise whether:
I can provide additional logs or live debugging info on request. Thanks.