- null2026-08-219531
今天手动更新了一下codex的最新版本,想接着工作的时候突然显示401
unexpected status 401 Unauthorized: Invalid token (request id: xxx), url: https://xxx/v1/responses一开始以为是中转站的问题,换了密钥依然如此,然后我调整了nginx日志发现codex请求没有带上token去请求导致401
去github看有人反馈过了类似的问题,我现在不知道怎么降级codex,天才程序员陨落了
github.com/openai/codex
[Ubuntu 26.04] Codex CLI 0.149.0 unexpected status 401 Unauthorized: missing api key
已打开 12:07AM - 21 Aug 26 UTC

rrmmxxuu
bug
auth
CLI
What version of Codex CLI is running?
0.149.0
What subscription do you… have?
API key
Which model were you using?
_No response_
What platform is your computer?
Linux 7.0.0-30-generic x86_64 unknown
What terminal emulator and version are you using (if applicable)?
_No response_
Codex doctor report```json
```### What issue are you seeing?
After updating to 0.149.0, did not change anything to auth.json, it showed unexpected status 401 Unauthorized: missing api key, url: http://127.0.0.1:48760/v1/responses. I am using Codex Manager for account managment. Everything worked fine beofore 0.149.0. After I downgraded to 0.148.0, the problem was gone immediately.
What steps can reproduce the bug?
Use openai api key to login in 0.149.0
What is the expected behavior?
_No response_
Additional information
_No response_

主楼 - VeryAQ2026-08-2157533
codex越更新越多bug,在143后的版本居然有老会话无法切换模型的问题,界面上显示切换成功了,但是打开后台一看模型id都是切换以前的
- 芳泽霞2026-08-2120439
- null2026-08-219531
神医啊大夫,好像确实可以了,我之前好像因为什么被我关了,忘记了
- zhao2026-08-2112946
- null2026-08-219531
我用的是desktop,CLI 应该也有相同的配置 ,按照楼上的方法试试应该可以
- zuoyi.wan2026-08-2132431


