Chrome extension stays Disconnected on Windows pt-BR while Codex settings show Connected
What version of the Codex App are you using (From “About Codex” dialog)?
26.506.21252
What subscription do you have?
PRO
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
The Codex Chrome extension remains Disconnected in Chrome, even though the Codex settings page shows Google Chrome as Connected.
Uploaded feedback correlation ID:
7bb8f0ba-bbf8-4ccd-9c45-8ca8b27383c5
Symptoms:
- Codex settings show Google Chrome as
Connected. - The Chrome extension popup shows
Disconnected. - Codex cannot use Chrome-backed browser tasks.
- A Chrome-backed task fails with:
Browser is not available: extension. agent.browsers.list()only returnsCodex In-app Browser; the Chrome extension backend is not listed.- No
extension-host.exeprocess appears to be running while the extension is disconnected.
This seems inconsistent: the Codex app settings report the Chrome integration as connected, but the Chrome extension itself and Codex runtime both behave as disconnected.
What steps can reproduce the bug?
- Use Codex App on Windows with Brazilian Portuguese locale.
- Install or enable the Google Chrome plugin from Codex settings.
- Install the Codex Chrome extension in Chrome.
- Open Codex settings > Computer use > Google Chrome.
- Observe that Codex settings show Google Chrome as
Connected. - Click the Codex Chrome extension icon in Chrome.
- Observe that the extension popup shows
Disconnected. - Try to run a Chrome-backed browser task from Codex.
Result:
Browser is not available: extension
Also, listing available browser backends from Codex only shows:
Codex In-app Browser
The Chrome extension backend is missing.
Troubleshooting already tried:
- Removed and reinstalled the Chrome extension.
- Restarted the PC.
- Confirmed the extension appears installed and enabled in the Chrome
Defaultprofile. - Confirmed the native host manifest exists and points to
extension-host.exe.
What is the expected behavior?
If Codex settings show Google Chrome as Connected, the Chrome extension should also show connected and the Chrome extension browser backend should be available to Codex.
Codex should be able to open and control Chrome tabs through the Chrome extension.
Additional information
Possible localization issue:
On Windows pt-BR, reg query ... /ve displays the default registry value label as (padrão). The Codex native host diagnostic appears to look for (Default) literally and reports:
Windows native host registry key does not exist
However, the registry key does exist and points to the native host manifest.
This may be only a diagnostic bug, but it could be related if the Chrome native host connection flow depends on parsing localized reg query output.
7 Comments
I'm having the exact same issue, running on English locale Windows 11.
Correlation id:
b58004dd-0484-49d6-9ecf-abd4079a42c2
Update: resolved locally.
Root cause was not the Chrome native messaging registry entry itself. The actual failure was that the Windows
COMSPECenvironment variable was missing.When I launched Chrome with logging enabled, Chrome showed:
COMSPEC is not set
Error launching process C:\Users\<USER>\.codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\x64\extension-host.exe
Because
COMSPECwas empty, Chrome could not launch the Codex native messaging host, so the Chrome extension stayedDisconnectedeven though Codex settings showedConnected.Fix that worked:
[Environment]::SetEnvironmentVariable('ComSpec', "$env:SystemRoot\System32\cmd.exe", 'User')
Then I restarted Chrome/Codex, and the extension connected successfully. After that, Codex was able to use the Chrome extension backend.
Verification:
$env:ComSpec
Test-Path $env:ComSpec
Expected result after opening a new terminal/session:
C:\Windows\System32\cmd.exe
True
Additional note: on Windows pt-BR, one diagnostic seemed to misread the registry default value because
reg query /veprints(padrão)instead of(Default). That appears to be a diagnostic/localization issue, but it was not the root cause in my case.not work even after set
COMSPECchrome log:
[31960:37328:0509/225317.296:WARNING:chrome\browser\extensions\api\messaging\launch_context.cc:148] Can't find manifest for native messaging host com.openai.codexextensionwindows 11 24H2 26100.7462
chrome 147.0.7727.138
If the agent environment is Windows Subsystem for Linux, and you try to install the Google Chrome browser extension and then enable Google Chrome computer use in the Codex desktop app, it won't set the reg key in Windows:
If you change the agent environment to Windows and try that process again, it WILL set the reg key, and then Connected will show in the Google Chrome browser extension details. However, if you switch back to WSL after getting it connected, the agent will still fail when trying to use Chrome.
So, basically you can't use an agent in WSL to do your development while simultaneously opening the dev URL in Chrome, logging in and seeing what the dev changes look like.
Related reproduction: #24969
This issue may not be identical to a native-host launch failure, because in my case the Chrome extension/native-host side appears healthy:
check-extension-installed.js --json: installed=true, enabled=true, selected profile Default.check-native-host-manifest.js --json: correct=true.NATIVE_HOST_STATUS ... state:"connected".COMSPECis set and valid:C:\WINDOWS\system32\cmd.exe.But Codex Settings still disables Google Chrome with
Disabled by your organization or unavailable in your region, and the active runtime only exposes IAB, not the Chrome extension backend.So there may be two failure classes:
Thank U very much. Codex app in windows has figured out this problem by itself, following reading the issue.
I can reproduce the localized-registry false negative on Spanish Windows, while troubleshooting a Chrome connection that still fails after reinstalling the extension and the bundled Chrome plugin.
Verified locally
150.0.7871.115Profile 4), version1.2.27203.26575_026.707.62119extension-host.exeHKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextensionextension-host.exestarts from the same path referenced by the manifestComSpecisC:\WINDOWS\system32\cmd.exe, and that file exists, so the missing-COMSPECcause described above does not apply here@Chromestill reports that the plugin's local connection is incompleteOn this Spanish installation, the direct registry query returns a localized default-value label:
However, the bundled
check-native-host-manifest.jspasses the literal English label(Default)to its registry-output parser. It therefore returns:The registry key does exist, so this diagnostic result is demonstrably a locale-dependent false negative. I cannot yet prove that this parser bug is the sole cause of the remaining transport failure; it may be masking a second problem.
Proposed fix
reg.exeoutput must be parsed, identify the value by theREG_SZ/REG_EXPAND_SZtype token and extract the data after it, rather than matching the localized display name(Default).(Predeterminado)and(padrão).This confirms the localization defect described in this issue on a second non-English Windows locale, while also showing that a valid
ComSpecdoes not resolve every instance of the connection failure.