codex 在idea 中 :Warning: Falling back from WebSockets to HTTPS transport. request timed out Your access token could not be refreshed because your refresh token was revoked. Please log out and sign in again. Authentication required, attempting to resubmit the request.
出现这个问题解决方式如下:
方式一:
删除 C:\Users\xx.codex 目录下 auth.json 以及 config.toml (最好备份)
方式二:
站到下面这个命令 ,然后执行删除,删除后会重新下载codex插件,然后直接使用chatgpt账号进行登录 (备注: jetbrains 全家桶都适用)
最终我用这种方式解决了codex 切换账号的问题,idea 版本为2026.3.6