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:
-
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:
-
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
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:
Open a remote workspace folder in VS Code.
Example:
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:
Expected CLI output:
Try to open the Codex IDE sidebar/chat in VS Code using the Codex icon or the command palette.
Example:
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