Codex 使用 New API 报错 This channel has been disabled 的解决

Codex 使用 New API 报错 This channel has been disabled 的解决
Codex 使用 New API 报错 This channel has been disabled 的解决

问题现象

同一套 New API 配置下:

Kelivo 对话正常
Codex 对话报错

Codex 报错内容类似:

unexpected status 403 Forbidden:
This channel has been disabled
url: https://xxx.xxx/v1/responses

原因

New API 的渠道亲和 / 缓存路由状态卡住了

Codex 请求 /v1/responses 时,New API 仍然命中了一个已经被禁用的旧 channel,所以返回:

403 This channel has been disabled

但手动 curl 能正常,是因为 curl 重新走到了可用渠道。

最终解决办法

重启 New API 容器:

docker restart new-api

重启后 Codex 恢复正常。

1 个帖子 - 1 位参与者

阅读完整话题

来源: linux.do查看原文