Codex OAuth登录报错 #1879
Replies: 16 comments 4 replies
-
|
我能登录成功,但是获取不了token,网页版回调认证失败 |
Beta Was this translation helpful? Give feedback.
-
|
同样遇到这样的错误,Codex OAuth登录会失败,即使登录了openai 账户也会出现如下报错:
|
Beta Was this translation helpful? Give feedback.
-
|
Codex OAuth认证失败: Failed to exchange authorization code for tokens |
Beta Was this translation helpful? Give feedback.
-
可能是ip的问题,服务器不支持,我换了个美国的服务器成功了 |
Beta Was this translation helpful? Give feedback.
-
|
我三个梯子都试了都不行 |
Beta Was this translation helpful? Give feedback.
-
|
部署端的问题吧
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2026年03月03日 22:02 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [router-for-me/CLIProxyAPI] Codex OAuth登录报错 (Issue #1757) |
ji876 left a comment (router-for-me/CLIProxyAPI#1757)
我三个梯子都试了都不行
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
问题已解决,因为之前用的端口转发的模式,本地部署需要用tun全局模式才行 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
我是登录成功浏览器已经到http://localhost:1455/success 可cli还在等待Paste the Codex callback URL (or press Enter to keep waiting): |
Beta Was this translation helpful? Give feedback.
-
|
可能是服务器的原生ip不支持chatgpt网页端
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2026年03月05日 16:50 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [router-for-me/CLIProxyAPI] Codex OAuth登录报错 (Issue #1757) |
wrlm left a comment (router-for-me/CLIProxyAPI#1757)
我是登录成功浏览器已经到http://localhost:1455/success 可cli还在等待Paste the Codex callback URL (or press Enter to keep waiting):
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
以上遇到的问题基本上都是网络问题,请使用稍微好一点的代理。 |
Beta Was this translation helpful? Give feedback.
-
|
dns解锁的吧,香港本来就只能用gpt的app
…---- 回复的原邮件 ----
| 发件人 | Marco ***@***.***> |
| 日期 | 2026年03月09日 11:07 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [router-for-me/CLIProxyAPI] Codex OAuth登录报错 (Discussion #1879) |
部署在香港的vps上报 "认证失败: Failed to exchange authorization code for tokens",之前是可以认证成功的。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
可以检查配置文件中的代理是否配置正确,我一开始也是这个报错,但是不影响网页登录 |
Beta Was this translation helpful? Give feedback.
-
|
我解决了,开tun模式登陆
发自我的iPad
…------------------ 原始邮件 ------------------
发件人: Yuanrui Xu ***@***.***>
发送时间: 2026年3月19日 20:50
收件人: router-for-me/CLIProxyAPI ***@***.***>
抄送: wrlm ***@***.***>, Comment ***@***.***>
主题: Re: [router-for-me/CLIProxyAPI] Codex OAuth登录报错 (Discussion #1879)
你好我也是这样,而且也回车了,但是没有任何反应哎
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Codex OAuth登录报错
[2026-02-28 18:25:47] [--------] [info ] [main.go:425] CLIProxyAPI Version: 6.8.32, Commit: 27c68f5, BuiltAt: 2026-02-27T12:48:48Z
[2026-02-28 18:25:47] [--------] [error] [openai_login.go:58] The required port is already in use. Please close any applications using port 3000 and try again.
无论是命令行还是网页版操作,都在报端口错误。但这些端口都为占用。
Beta Was this translation helpful? Give feedback.
All reactions