codex icon indicating copy to clipboard operation
codex copied to clipboard

VS Code extension 26.5707.* opens blank webview on Linux; 26.5623 works but lacks 5.6-Sol

Open AK25789 opened this issue 4 months ago • 47 comments

What version of the IDE extension are you using?

VS Code extension 26.5707.*

What subscription do you have?

Pro

Which IDE are you using?

VS Code

What platform is your computer?

Linux 6.17.0-35-generic x86_64 x86_64

What issue are you seeing?

Environment:

  • OS: Linux x64
  • VS Code: 1.128.0
  • Extension: openai.chatgpt (Codex)
  • Failing versions tested: 26.5707.30751, 26.5707.31123, 26.5707.31428
  • Working rollback: 26.5623.141536
  • Bundled CLI in failing build: codex-cli 0.144.0-alpha.4
  • Bundled CLI in working build: codex-cli 0.142.5

Problem: After installing 26.5707.*, the Codex VS Code sidebar/webview becomes blank. Disable/enable extension and restarting VS Code do not recover it. Rolling back to 26.5623.141536 restores the UI, but that version does not expose the new 5.6-Sol model.

Observed logs:

  • Extension install and signature verification succeed.
  • Codex extension activates.
  • Codex app-server starts and initialize is received.
  • In failing 26.5707.* sessions, the webview never reaches the renderer-mounted state.
  • In working 26.5623.141536 session, Codex.log contains: [startup][renderer] app routes mounted after 1922ms

Likely impact: This appears to be a frontend/webview regression in 26.5707.*, not a backend CLI startup failure or account issue.

What steps can reproduce the bug?

After installing 26.5707.*, the Codex VS Code sidebar/webview becomes blank. Disable/enable extension and restarting VS Code do not recover it. Rolling back to 26.5623.141536 restores the UI, but that version does not expose the new 5.6-Sol model.

What is the expected behavior?

Normally functioning sidebar/webview

Additional information

There is the same problem on another Linux PC with the same OS, VS Code - VS Code: 1.127.0

AK25789 avatar Jul 10 '26 06:07 AK25789

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #31149

Powered by Codex Action

github-actions[bot] avatar Jul 10 '26 06:07 github-actions[bot]

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

Powered by Codex Action

I reviewed #31149. This may be related, but this report is not identical:

  • Linux x64, not Windows
  • reproducible across 26.5707.30751 / 26.5707.31123 / 26.5707.31428
  • rollback to 26.5623.141536 restores the UI
  • rollback blocks access to 5.6-Sol
  • main observed symptom is webview never reaching [startup][renderer] app routes mounted

Happy to provide the relevant Codex.log snippets if useful.

AK25789 avatar Jul 10 '26 06:07 AK25789

I recomend not to roll back version and always use the latest version --- there is a certain update that filters which models you can view based on capacity ---

I promise you , you will not be disapointed with the smaller models , Tera and Luna ,,, because they are so much better than 5.5 and 5.4 (I will happliy use older models too btw)

as per 5.6 Tera and Luna , are actually very novel and cool, a great speed improvement with those models.... I assume 5.6 are trained for more use-cases -- so you should be much happier because more use-cases are not covered -- due to the massive amount of new users who joined with the 5.5 release

know that if SOL is missing I think its by design. maybe there is some issue with Chinese users who try to access it which has some regulatory burden, but despite that --- its a service issues, not a bug with the software are using please use the latest version of codex

but I understand how you may like older bersion of things, and how things can break once you update - but with codex things dont really break in terms of the codex too. Im not going to blame openai if there is very minor amount of outages, considering how many new users have joined, and how hard it is to host language models (its the same issue as delivering the internet in the 90s and a little bit harder because its a new issue, after things got refained and establised -- its a new century with the age of ai --- I also think its cool because the semiconductor indurstry also used ML even back in 2005 - for packaging - so you can see why the investment comes )

Mahkhmood9 avatar Jul 10 '26 07:07 Mahkhmood9

same problem

LiuZhebo0602 avatar Jul 10 '26 07:07 LiuZhebo0602

Same here. Latest vscode pre-release extension (26.5707.31428) + latest codex (0.144.1) = blank screen.

pkqs90 avatar Jul 10 '26 07:07 pkqs90

Sama issue here. Hope they fix this as soon as possible

Kaushik-Paul avatar Jul 10 '26 08:07 Kaushik-Paul

I am having this issue also

OS: Kubuntu 26.04, native Wayland VS Code: 1.128.0 GPU: NVIDIA, driver 595.58.03

Extension activates and app-server initializes but the Codex webview remains blank or in perpetual loading of the OpenAI icon.

1:2026-07-10 09:46:27.893 [info] Activating Codex extension 2:2026-07-10 09:46:27.893 [info] [CodexMcpConnection] Spawning codex app-server 4:2026-07-10 09:46:27.893 [warning] [IpcClient] Received broadcast but no handler is configured method=client-status-changed 7:2026-07-10 09:46:27.923 [warning] [IpcClient] Received broadcast but no handler is configured method=client-status-changed 8:2026-07-10 09:46:28.017 [info] [CodexMcpConnection] Initialize received id=1

VS Code renderer sometimes terminates with SIGBUS, and Chromium reports TransferBuffer::Initialize and AllocateRingBuffer failures

Launching with --disable-gpu allows the extension to load instantly.

keanutoomer avatar Jul 10 '26 08:07 keanutoomer

I'm having the same issue but rolling back to a previous version of the extension doesn't seem to help on my system

I am having this issue also

OS: Kubuntu 26.04, native Wayland VS Code: 1.128.0 GPU: NVIDIA, driver 595.58.03

Extension activates and app-server initializes but the Codex webview remains blank or in perpetual loading of the OpenAI icon.

1:2026-07-10 09:46:27.893 [info] Activating Codex extension 2:2026-07-10 09:46:27.893 [info] [CodexMcpConnection] Spawning codex app-server 4:2026-07-10 09:46:27.893 [warning] [IpcClient] Received broadcast but no handler is configured method=client-status-changed 7:2026-07-10 09:46:27.923 [warning] [IpcClient] Received broadcast but no handler is configured method=client-status-changed 8:2026-07-10 09:46:28.017 [info] [CodexMcpConnection] Initialize received id=1

VS Code renderer sometimes terminates with SIGBUS, and Chromium reports TransferBuffer::Initialize and AllocateRingBuffer failures

Launching with --disable-gpu allows the extension to load instantly.

This fixed it for me, thank you!

jess-wiretap avatar Jul 10 '26 08:07 jess-wiretap

I can confirm a very similar regression in a Remote-SSH setup.

Environment:

  • IDE: VS Code Desktop using Remote-SSH
  • Remote host: Linux x86_64
  • Extension: openai.chatgpt
  • Failing version observed locally: 26.707.31428 (openai.chatgpt-26.707.31428-linux-x64)
  • Working rollback: 26.623.70822
  • Bundled CLI in both tested extension directories reported codex-cli 0.142.4

Symptoms:

  • After the Marketplace update, the Codex sidebar opened but stayed stuck/loading.
  • The extension installed successfully and activated.
  • Codex.log showed that the bundled codex app-server was spawned and Initialize received id=1, so this was not a CLI path issue or app-server startup failure.
  • Earlier sessions also showed fetch/model-refresh symptoms, but after proxy configuration was addressed, the remaining hard failure was still present.

Relevant logs:

[info] [CodexMcpConnection] Spawning codex app-server
[info] [CodexMcpConnection] Initialize received id=1
[error] PendingMigrationError: navigator is now a global in nodejs,
please see https://aka.ms/vscode-extensions/navigator for additional info

The stack pointed into the updated Codex extension bundle:

.../extensions/openai.chatgpt-26.707.31428-linux-x64/out/extension.js

Local comparison:

  • The older working extension version guarded browser checks via typeof window / window.navigator.
  • The failing newer version directly touched typeof navigator / navigator?.userAgent.
  • In the Remote-SSH Node extension host, that direct navigator access triggers VS Code's migration guard and breaks the extension/webview path.

Workaround:

  • Rolling the remote extension registration back to openai.chatgpt-26.623.70822-linux-x64 restored the sidebar.
  • The incompatible 26.707.31428 directory was marked obsolete so VS Code would not keep loading it.

This looks consistent with a frontend / extension-host compatibility regression in the newer extension train, rather than a backend account issue or failure to spawn the bundled Codex CLI.

lcneyc avatar Jul 10 '26 09:07 lcneyc

can you provide a screenshot of the blank webview?

try use with /feedback within the same chat session

Mahkhmood9 avatar Jul 10 '26 09:07 Mahkhmood9

There is no chat session since the webview cannot load.

Image

keanutoomer avatar Jul 10 '26 11:07 keanutoomer

Seeing the same issue here. completely blocked from working :( codex forced me to update as older version was no longer supported, but clearly the new version doesn't work at all.

suwhang-cisco avatar Jul 10 '26 11:07 suwhang-cisco

I recomend not to roll back version and always use the latest version --- there is a certain update that filters which models you can view based on capacity ---

I promise you , you will not be disapointed with the smaller models , Tera and Luna ,,, because they are so much better than 5.5 and 5.4 (I will happliy use older models too btw)

as per 5.6 Tera and Luna , are actually very novel and cool, a great speed improvement with those models.... I assume 5.6 are trained for more use-cases -- so you should be much happier because more use-cases are not covered -- due to the massive amount of new users who joined with the 5.5 release

know that if SOL is missing I think its by design. maybe there is some issue with Chinese users who try to access it which has some regulatory burden, but despite that --- its a service issues, not a bug with the software are using please use the latest version of codex

but I understand how you may like older bersion of things, and how things can break once you update - but with codex things dont really break in terms of the codex too. Im not going to blame openai if there is very minor amount of outages, considering how many new users have joined, and how hard it is to host language models (its the same issue as delivering the internet in the 90s and a little bit harder because its a new issue, after things got refained and establised -- its a new century with the age of ai --- I also think its cool because the semiconductor indurstry also used ML even back in 2005 - for packaging - so you can see why the investment comes )

You did no get it - the whole Codex window is blank, there is nothing in it at all.

AK25789 avatar Jul 10 '26 11:07 AK25789

It seems that this problem has been temporarily solved.

Environment

  • Local client: macOS + VS Code
  • Remote host: Linux x86_64 over Remote-SSH
  • VS Code Server: 1.123.0
  • Extension: openai.chatgpt / Codex, installed on the remote side
  • Broken build observed: 26.5707.31428
  • Workspace: remote Linux workspace

Original failure

After updating the remote Codex extension, the Codex sidebar/Webview became blank.

The remote extension-host log showed that Codex activation started and then failed with:

ExtensionService#_doActivateExtension openai.chatgpt,
  activationEvent: 'onView:chatgpt.sidebarSecondaryView'

PendingMigrationError: navigator is now a global in nodejs
The stack pointed directly into the remote Codex extension:
~/.vscode-server/extensions/openai.chatgpt-<version>-linux-x64/out/extension.js
I also tried another installed Codex build (26.707.31428), but it produced the same PendingMigrationError in my Remote-SSH extension host, so that was not a useful rollback for this environment.
Recovery attempt that currently works
I then ran:
Remote-SSH: Kill VS Code Server on Host
After that:
I reopened VS Code locally.
I reconnected to the same Remote-SSH host.
I opened Codex locally and installed/enabled the Codex extension on the remote side again.
The Codex UI rendered and became usable in the existing Remote-SSH workspace.
At the moment I have not disconnected/reconnected again, because I do not want to disturb the recovered session. Therefore, I cannot claim this is a reliable fix yet.

LiuZhebo0602 avatar Jul 10 '26 11:07 LiuZhebo0602

https://github.com/openai/codex/issues/32041#issuecomment-4933694048

This fixed it for me. Thank you

Kaushik-Paul avatar Jul 10 '26 12:07 Kaushik-Paul

I am having this issue also, I'm using remote-ssh. The local Codex plugin works fine, but the remote Codex freezes.

--disable-gpu doesn't do anything.

zhang-wenchao avatar Jul 10 '26 12:07 zhang-wenchao

I am having this issue also, I'm using remote-ssh. The local Codex plugin works fine, but the remote Codex freezes.

--disable-gpu doesn't do anything.

My problem is purely local

AK25789 avatar Jul 10 '26 12:07 AK25789

I encounter the same problem. Linux 5.15.185-tegra aarch64 aarch64(AGX orin)

leo2783 avatar Jul 11 '26 05:07 leo2783

--disable-gpu

This worked for me. Thanks!

benjpau avatar Jul 11 '26 06:07 benjpau

I confirm that --disable-gpu works.

kyuz0 avatar Jul 11 '26 08:07 kyuz0