Codex Mac App remote session 报 access token could not be refreshed 的一种解决方法
ki14
·
2026-04-29
·
via LINUX DO - 最新话题
问题现象:Codex Mac App 在远端 更换账号 后连接远端 remote session 时显示:Your access token could not be refreshed because you have since logged out or signed in to another account. Please sign in again. 然而此时远端ssh codex cli里的正常使用。 调试过程:让codex上网查找了相同情况的case,确认了app remote session是在远端拉起单独的codex remote server,此server与codex cli不同,端口是9234;然后发现远端codex remote server是旧账号的,并且新账号对应的codex remote server试图启动但是因为addr in use失败了。 解决方案:先关闭mac app,然后远端ssh上执行pkill -u “$USER” -f “codex.*app-server”,然后重启mac app,然后就正常使用了。 1 个帖子 - 1 位参与者 阅读完整话题
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。