Repository navigation
Chrome extension stays Disconnected on Windows pt-BR while Codex settings show Connected #21741
Description
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.
Activity
sdecima commentedon May 8, 2026
I'm having the exact same issue, running on English locale Windows 11.
Correlation id:
b58004dd-0484-49d6-9ecf-abd4079a42c2
marcelo-azevedo-br commentedon May 8, 2026
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.HppZ commentedon May 9, 2026
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
william-kerr commentedon May 25, 2026
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:
reg query "HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension" /ve ERROR: The system was unable to find the specified registry key or value.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.
centry4sangchu commentedon May 28, 2026
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:
Look001122 commentedon Jun 14, 2026
Thank U very much. Codex app in windows has figured out this problem by itself, following reading the issue.
kengoedv commentedon Jul 15, 2026
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:{ "registryManifestPath": null, "exists": true, "correct": false, "problem": "Windows native host registry key does not exist..." }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.zemeng5208 commentedon Aug 12, 2026
I maintain WinBridge Recovery for Windows Codex Desktop local bridge diagnostics/recovery: https://github.com/zemeng5208/winbridge-recovery
This thread is useful because it demonstrates why a recovery tool should not treat the bundled checker's English-text output as ground truth. On localized Windows,
reg query /vecan label the default value differently ((padrão), localized equivalents), so “checker says registry key does not exist” is not necessarily the same state as “the HKCU key/value is actually absent.”WinBridge validates the Chrome Native Host as separate pieces — the actual user-level manifest, HKCU Chrome/Edge NativeMessagingHosts value, target executable path, plugin cache/
latestand v2/runtime state — before deciding whether anything should be rewritten. That lets it distinguish a genuinely missing local bridge from an indeterminate/incorrect diagnostic result and avoids repairing a healthy registry entry just because a localized checker failed to parse it.There are also several different root causes mixed into this issue: missing
COMSPEC, genuinely missing manifest/registry, WSL bridge limitations, and cases where the Native Host is fully connected but the Chrome backend is still not exposed. WinBridge only targets the local state inconsistencies; it does not claim to fix WSL native-pipe/tool injection or server/region/entitlement filtering when the local bridge is already healthy.It does not modify WindowsApps or bypass browser policy.