cyberlife
V2EX  ›  OpenAI

codex 登录不上

  •  
  •   cyberlife · Sep 19 · 2710 views
    This topic created in 46 days ago, the information mentioned may be changed or developed.

    chatgpt 能登录,但是 codex 却死活上不去。

    有遇到同样的情况吗?

    Sign-in could not be completed Token exchange failed: error sending request for url ( https://auth.openai.com/oauth/token)

    Error code token_exchange_failed Details Token exchange failed: error sending request for url ( https://auth.openai.com/oauth/token) Return to Codex to retry, switch accounts, or contact your workspace admin if access is restricted.

    11 replies  •  2026-09-21 11:18:14 +08:00
    oom
    oom
    Sep 19
    1
    你是咋登录的? 我半小时前也是这个问题, 我是通过 powershell 脚本登录的,脚本里在执行命令 codex 之前会先加载 HTTP_PROXY 环境变量,后来直接通过命令 codex 就可以了
    lurenjiauser
    2
    codex 好像各种问题,一会儿 could not update model settings. 一会儿 submitting message timeout.
    413420
    413420
    Sep 19
    3
    oai 的软件管理真的不行,可能是因为现在风头正盛,改动过大总有意想不到的 bug
    xaxb
    xaxb
    Sep 19
    4
    Codex 会 Listening 本地端口,浏览器完成鉴权后通过 127.0.0.1:xxxx 给 Codex 通信,确保浏览器发出的本地 Codex 请求别被代理转发就行了。
    dj8jj
    dj8jj
    Sep 19
    5
    感觉快离不开 ai 了!写代码的确狠
    tomchen
    tomchen
    Sep 20
    6
    大概是 reset 的原因吧。因为 tibo 上周这时候 reset 所有人的,所以很多人都你发帖那会儿 reset ,reset 前后有很多人在大量使用( reset 前:把没用完的尽快用完的,reset 后:一有用量就狂用的)
    zhangyonghe
    7
    感觉登录正常,现在用 ai 用的都感觉有点饮鸠止渴了
    raincaptain
    8
    最近不封号了??
    之前封的频繁,现在都不敢进入了
    haianbencheww
    9
    你是切到 wsl 执行的吗?记得开下 wsl 镜像代理,codex 启动前要走 wsl 登录
    brookepe
    brookepe
    Sep 20
    10
    @raincaptain 最近也封啊 我被封了一个 20x 还不肯我解封
    AImoka
    AImoka
    Sep 21
    11
    先检查 Codex 进程是否继承代理:设置 HTTP_PROXY/HTTPS_PROXY 后重启终端,再清掉旧登录状态重登;若仍是 token_exchange_failed ,换网络并确认 auth.openai.com 可达。国内可加微信 mkapikey 。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2771 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 12:25 · PVG 20:25 · LAX 04:25 · JFK 07:25
    ♥ Do have faith in what you're doing.