Repository navigation
Description
What version of the IDE extension are you using?
26.602.71036
What subscription do you have?
ChatGPT Plus
Which IDE are you using?
VS Code
What platform is your computer?
Linux 6.17.0-22-generic x86_64 x86_64
What issue are you seeing?
Hello,
I am experiencing a problem with the Codex IDE extension in Visual Studio Code when using Remote-SSH. I connect to a remote Linux server through VS Code and open my remote workspace there. The Codex CLI works correctly in the remote terminal: I can log in with my ChatGPT account, check the login status, and run simple Codex commands successfully. However, the Codex IDE extension inside VS Code does not load properly. The sidebar/chat interface either stays blank or does not open as expected.
I have already tried reinstalling the Codex extension, clearing Codex configuration files, resetting the remote VS Code server, clearing local VS Code caches, reconnecting through Remote-SSH, and logging in again. The Codex CLI continues to work correctly, but the VS Code Codex IDE extension still fails to load. Because of this, it seems that the issue may be related to the Codex IDE extension, VS Code Remote-SSH, the VS Code extension host, or a compatibility issue with the current VS Code/Node.js environment.
Could someone from the support or engineering team help me understand what is causing this problem and how to fix it? I would like to use Codex directly inside the VS Code IDE with access to my remote workspace, but currently only the terminal version works.
What steps can reproduce the bug?
Steps to reproduce:
-
Open Visual Studio Code on a local Ubuntu Linux machine.
-
Connect to a remote Linux server using VS Code Remote-SSH.
Example with PII redacted:
ssh -p 22 <user>@<remote-host>
-
Open a remote workspace folder in VS Code.
Example:
/data/users/<user> -
Install the OpenAI Codex / ChatGPT extension in the remote SSH environment, so that it is enabled on the remote host.
Installed remote extension
-
In the remote VS Code terminal, verify that the Codex CLI works:
cd /data/users/<user> codex --version codex login status codex exec -s read-only --skip-git-repo-check "Responda exatamente: ok"
Expected CLI output:
codex-cli 0.137.0-alpha.4 Logged in using ChatGPT ok -
Try to open the Codex IDE sidebar/chat in VS Code using the Codex icon or the command palette.
Example:
Codex: Open Sidebar -
The Codex sidebar does not load correctly. It either remains blank or does not open as expected.
What is the expected behavior?
The Codex IDE sidebar should open normally in VS Code when connected through Remote-SSH.
Since the Codex CLI works correctly in the same remote workspace and is already logged in, I expected the VS Code Codex extension to also load correctly and allow me to use Codex inside the IDE with access to the remote files.
Additional information
No response
Activity
github-actions commentedon Jun 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
YLMiami commentedon Jul 11, 2026
Did you find a durable fix?
hungtrieu07 commentedon Jul 13, 2026
I am still experiencing this issue.
Velythyl commentedon Jul 13, 2026
I also am struggling with this issue; the Codex tab or standalone VSCode-integrated window do not work at all for me.
YLMiami commentedon Jul 13, 2026
It's kind of ridiculous that OpenAI's product has this issue. I'm just gonna use Codex CLI until then I guess...
Adefioye commentedon Jul 17, 2026
I am currently experiencing same issue on a runpod remote machine.
Adefioye commentedon Jul 17, 2026
It's been roughly over a month since this issue has been reported with no fix yet. pretty sad.
YLMiami commentedon Jul 17, 2026
Very very strange to me why this would be unfixed for this long... All the fixes I've seen had to do with people aewkwardly deleting logs... I just dont' want to deal with that. Thinking about cancelling over this.
YOU HEAR THAT SAM!? CANCELLING!!!!
radeksulc commentedon Jul 19, 2026
Content of the Codex windows works on local Windows 11. But once connected to a remote environment using ssh, the Codex window remains blank. Just re-tested. A fundamental limitation blocking me from getting Codex subscription. VSCode remote ssh is a typical setup which works with Claude Code without any issues. Needs to be fixed urgently.
hungtrieu07 commentedon Jul 20, 2026
Today, I can use Codex in IDE extension on VS Code Remote-SSH, you guys can check there is any extension update.
YLMiami commentedon Jul 20, 2026
Worked for me, and then didn't work for me again.
Adefioye commentedon Jul 21, 2026
Cool. Now working for me too.
Velythyl commentedon Jul 21, 2026
Any updates on this issue? I can intermittently access Codex, but then sometimes it just completely fails to work. It makes me unable to work at all, some days, and I have to rely on the codex CLI, which can be quite annoying to use depending on the type of task I am working on that day.
engmubarak48 commentedon Jul 21, 2026
same issue
Kristiyan-Ivanov commentedon Jul 22, 2026
So I gathered information from several sources and managed to fix the issue on my side, at least for now.
What I did:
Hope this helps.
YLMiami commentedon Jul 23, 2026
Thanks for compiling the fix. I have gathered pretty much the same thing but it's obviously a pretty awkward workaround on something that should really be working...
askforarun commentedon Sep 7, 2026
Hi I have been unable to acess codex from my remote desktop
engmubarak48 commentedon Sep 7, 2026
I fixed this sometime ago via another agent.. i think what was then done was updating the setting.json or some other json file that i dont remember. Also recently ensuring having latest version seems to work, so maybe update and refresh.
didix16 commentedon Oct 11, 2026
Me neither. Is there any workarround? I've tried everything that is said on this thread but nothing works.