Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.901.6511.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 11 x64
What issue are you seeing?
Summary
On Windows, the Codex Chrome plugin is installed and enabled, and the official Chrome extension is correctly detected in the selected Chrome profile.
However, the required Native Messaging Host registration is missing.
As a result, Codex cannot communicate with existing Chrome tabs and reports that the Chrome/browser connection bridge is unavailable.
The native host executable itself exists inside the bundled Chrome plugin, but both the Native Messaging Host manifest and the corresponding Windows registry entry are missing.
Following the documented recovery procedure by removing and reinstalling chrome@openai-bundled through the official Codex plugin CLI does not restore the Native Messaging Host registration.
Environment
OS
Windows 11 x64
Codex Windows app package
OpenAI.Codex_26.901.6511.0_x64__2p2nqsd0c76g0
Primary runtime plugins
26.905.11957
Bundled plugins
browser@openai-bundled
installed, enabled
version: 26.623.141536
chrome@openai-bundled
installed, enabled
version: 26.623.141536
computer-use@openai-bundled
installed, enabled
version: 26.623.141536
Google Chrome
C:\Program Files\Google\Chrome\Application\chrome.exe
Selected Chrome profile
Default
Chrome extension ID
hehggadaopoacecdllhhajmbjkdcmajg
Chrome extension diagnostics
The bundled Chrome diagnostics confirm that Chrome is running successfully.
chrome-is-running.js succeeds with:
ExitCode: 0
check-extension-installed.js also succeeds.
The extension is reported as:
installed: true
registered: true
enabled: true
selected: true
with:
ExitCode: 0
The official Chrome extension is therefore installed and enabled in the selected Chrome profile.
Native Messaging Host diagnostics
Using the diagnostic script bundled with the installed chrome@openai-bundled plugin:
node scripts/check-native-host-manifest.js --jsonreturns:
{
"manifestPath": "C:\\Users\\<USER>\\AppData\\Local\\OpenAI\\extension\\com.openai.codexextension.json",
"registryKey": "HKCU\\Software\\Google\\Chrome\\NativeMessagingHosts\\com.openai.codexextension",
"registryManifestPath": null,
"expectedHostName": "com.openai.codexextension",
"expectedExtensionId": "hehggadaopoacecdllhhajmbjkdcmajg",
"expectedOrigin": "chrome-extension://hehggadaopoacecdllhhajmbjkdcmajg/",
"exists": false,
"correct": false,
"problem": "Windows native host registry key does not exist: HKCU\\Software\\Google\\Chrome\\NativeMessagingHosts\\com.openai.codexextension; Native host manifest does not exist: C:\\Users\\<USER>\\AppData\\Local\\OpenAI\\extension\\com.openai.codexextension.json"
}The diagnostic exits with:
ExitCode: 1
Direct Windows checks confirm that this is not merely a diagnostic/parser issue.
Registry check
reg.exe query "HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension" /veResult:
ERROR: The system was unable to find the specified registry key or value.
Manifest check
Expected manifest:
C:\Users\<USER>\AppData\Local\OpenAI\extension\com.openai.codexextension.json
Result:
Exists = False
Native host executable is present
The actual native host executable exists inside the bundled Chrome plugin:
...\openai-bundled\plugins\chrome\extension-host\windows\x64\extension-host.exe
Therefore, the native host executable itself is present, while the manifest/registry registration required for Chrome Native Messaging is missing.
Reinstalling the bundled Chrome plugin does not restore the registration
I completely closed the Codex desktop app and used the official Codex plugin CLI.
First:
codex.cmd plugin remove chrome@openai-bundled --jsonResult:
{
"pluginId": "chrome@openai-bundled",
"name": "chrome",
"marketplaceName": "openai-bundled"
}Then:
codex.cmd plugin add chrome@openai-bundled --jsonResult:
{
"pluginId": "chrome@openai-bundled",
"name": "chrome",
"marketplaceName": "openai-bundled",
"version": "26.623.141536",
"installedPath": "C:\\Users\\<USER>\\.codex\\plugins\\cache\\openai-bundled\\chrome\\26.623.141536",
"authPolicy": "ON_INSTALL"
}The plugin is subsequently reported as:
chrome@openai-bundled
installed, enabled
26.623.141536
However, after reinstalling it:
- The Native Messaging registry key is still missing.
com.openai.codexextension.jsonis still missing.check-native-host-manifest.js --jsonstill returns ExitCode 1.
Opening the selected Chrome profile also does not fix it
The bundled diagnostic command:
open-chrome-window.js --browser chrome --dry-run --jsoncorrectly identifies the installed Chrome browser and selected profile:
{
"browserFamily": "chrome",
"browserName": "Google Chrome",
"platform": "win32",
"dryRun": true,
"profileDirectory": "Default",
"command": "cmd.exe",
"args": [
"/d",
"/s",
"/c",
"start",
"\"\"",
"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
"--profile-directory=Default",
"--new-window",
"about:blank"
]
}I then ran the corresponding non-dry-run command, waited, and retried the Chrome browser connection.
The connection still failed.
Codex reports messages equivalent to:
Unable to read the current Chrome tabs because the browser connection service/bridge is unavailable.
Steps to reproduce
-
Launch the Codex desktop app on Windows 11.
-
Install and enable the official Codex/ChatGPT Chrome extension in Google Chrome.
-
Verify that Chrome is running and that the extension is correctly detected.
check-extension-installed.jsreports that the extension is installed, registered, enabled, and selected, with ExitCode 0. -
Run the bundled Native Messaging Host diagnostic:
node scripts/check-native-host-manifest.js --json
-
The diagnostic returns ExitCode 1 and reports that both of the following are missing:
C:\Users\<USER>\AppData\Local\OpenAI\extension\com.openai.codexextension.jsonHKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension -
Verify that the native host executable itself exists:
...\openai-bundled\plugins\chrome\extension-host\windows\x64\extension-host.exe -
Completely close the Codex desktop app.
-
Remove and reinstall the bundled Chrome plugin:
codex.cmd plugin remove chrome@openai-bundled --json codex.cmd plugin add chrome@openai-bundled --json
-
Verify that
chrome@openai-bundledis installed and enabled. -
Check the Native Messaging Host again.
The manifest file and registry key are still not created, and
check-native-host-manifest.js --jsonstill returns ExitCode 1. -
Open the Chrome window/profile selected by the bundled diagnostic and retry a Chrome-backed Codex task, such as asking Codex to list the currently open Chrome tabs.
-
Codex still cannot communicate with Chrome and reports that the browser connection service/bridge is unavailable.
Bundled troubleshooting guidance
The Chrome plugin's own docs/chrome-troubleshooting.md states:
"Do not install or repair the native host yourself. If native host setup appears broken, tell the user to reinstall the Chrome plugin from the Codex plugin UI."
It also states:
"Never import or run scripts/installManifest.mjs yourself."
Therefore, I did NOT manually run installManifest.mjs, manually create the Native Messaging Host manifest, or manually create the NativeMessagingHosts registry key.
Instead, I followed the documented recovery direction by removing and reinstalling the Chrome plugin through the official Codex plugin CLI.
This did not restore the Native Messaging Host registration.
Expected behavior
Following the documented recovery procedure (reinstalling the Chrome plugin) should restore the required Native Messaging Host registration, or otherwise trigger the supported setup flow that restores it.
After successful Chrome integration setup, the required Native Messaging Host manifest and Windows registration should be present and valid, and Codex should be able to communicate with the installed Chrome extension and access the selected Chrome profile.
Actual behavior
The Chrome extension and bundled Chrome plugin are both installed and detected successfully.
The native extension-host.exe executable is also present.
However, the Native Messaging Host manifest and corresponding Windows registry registration are missing and are not restored after reinstalling the bundled Chrome plugin.
Consequently, Codex cannot establish the Chrome extension/native-host bridge.
Additional observation
The bundled marketplace is resolved from:
C:\Users\<USER>\.codex\.tmp\bundled-marketplaces\openai-bundled
The bundled browser/chrome/computer-use plugins are reported as:
26.623.141536
while the Windows Codex app package is:
26.901.6511.0
and the primary-runtime plugins are:
26.905.11957
I do not know whether these independent version numbers are expected, so I am including them only as diagnostic information rather than assuming that the version difference is the cause.
Request
Could you please investigate why the Windows Chrome integration/native-host setup path does not create or restore the com.openai.codexextension Native Messaging Host registration in this configuration?
It would also be useful to clarify the supported recovery procedure when the bundled troubleshooting documentation says to reinstall the Chrome plugin from the Codex plugin UI, but the current Codex UI does not expose a reinstall action for the bundled Chrome plugin.
What steps can reproduce the bug?
-
Launch the Codex desktop app on Windows 11.
-
Install and enable the official Codex Chrome extension in Google Chrome.
-
Verify that Chrome is running and that the extension is correctly detected by running the bundled diagnostics:
node scripts/chrome-is-running.js --check node scripts/check-extension-installed.js --json
chrome-is-running.jsexits with code 0.check-extension-installed.jsreports that the extension is installed, registered, enabled, and selected, and also exits with code 0. -
Run the bundled Native Messaging Host diagnostic:
node scripts/check-native-host-manifest.js --json
-
The diagnostic exits with code 1 and reports that both of the following are missing:
C:\Users\<USER>\AppData\Local\OpenAI\extension\com.openai.codexextension.jsonHKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension -
Verify that the native host executable itself exists:
...\openai-bundled\plugins\chrome\extension-host\windows\x64\extension-host.exe -
Completely close the Codex desktop app.
-
Remove and reinstall the official bundled Chrome plugin using:
codex.cmd plugin remove chrome@openai-bundled --json codex.cmd plugin add chrome@openai-bundled --json
-
Verify that
chrome@openai-bundledis installed and enabled. -
Run the Native Messaging Host diagnostic again:
node scripts/check-native-host-manifest.js --json
The manifest file and registry key are still not created, and the diagnostic still exits with code 1.
-
Open the selected Chrome profile using the bundled helper:
node scripts/open-chrome-window.js
Wait a few seconds, then retry a Chrome-backed Codex task, such as asking Codex to list the currently open Chrome tabs.
-
Codex still cannot communicate with Chrome and reports that the browser connection service/bridge is unavailable.
Note
I did not manually run scripts/installManifest.mjs, manually create the Native Messaging Host manifest, or manually create the Windows registry entry because the bundled Codex troubleshooting documentation explicitly instructs users not to install or repair the native host manually.
What is the expected behavior?
Reinstalling chrome@openai-bundled should install and register the required Windows Native Messaging Host, creating:
C:\Users\<USER>\AppData\Local\OpenAI\extension\com.openai.codexextension.json
and:
HKCU\Software\Google\Chrome\NativeMessagingHosts\com.openai.codexextension
Codex should then be able to communicate with the installed Chrome extension and access the selected Chrome profile.
Additional information
No response
Activity
github-actions commentedon Sep 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
dylanyongxin-sys commentedon Sep 10, 2026
Hi, just following up on this issue.
I reviewed the potential duplicates suggested above. #43056 involves an existing but stale Native Messaging Host manifest, whereas in this case both the manifest and the Windows registry entry are completely missing and are not recreated after reinstalling the bundled Chrome plugin.
Could a maintainer please confirm whether this is a known issue or whether any additional diagnostics would be helpful? I’m happy to provide further logs or test a proposed fix.
AC707 commentedon Sep 13, 2026
Additional Windows reproduction on a newer build, submitted with user authorization and sanitized for privacy.
Environment
26200.9445, x6426.908.4834.00.154.0-alpha.6.226.908.40834153.0.8010.371.26.901.11451Local usernames, project/workspace paths, task/session IDs, browsing history, private URLs, cookies, tokens, account identifiers, and full raw logs are intentionally omitted.
Reproduction / observed behavior
family=chrome,type=extension.chrome.tabs.list()(and the equivalent open-tabs call) fails before any tab can be enumerated with:The error has no deeper
cause(null/undefined in the observed runtime).Native Messaging diagnostics
Read-only checks show that the required Chrome Native Messaging registration is absent.
Missing registry entries:
Expected manifest is also missing:
At the same time, the bundled native-host executable exists in the installed Chrome plugin runtime, the current
latestplugin junction resolves to the installed plugin version, and the OpenAI Authenticode signature on the native host is valid.This leaves the installation in an internally inconsistent state: Chrome/extension discovery works and the native-host binary is present, but the Native Messaging manifest/registry registration required to bridge the extension to Codex is missing.
Layer isolation
Observed state:
No page content or tab title can be read because the failure occurs before a CDP session is established.
Checks that did NOT show the older failure signatures
The current logs did not show:
Trusted RPC dependency must resolve within a configured trusted code pathadmin-enforced policy could not be verifiedChrome native host is out of dateno browser foundbrowser plugin initialization failedCODEX_CLI_PATHwas not set in the inspected current process/user environment.Recovery attempts / constraints
Expected behavior
Codex Desktop should reconcile/install the Chrome Native Messaging host automatically when the bundled Chrome integration is present, creating a valid manifest and registry entry before reporting the Chrome backend as usable.
If that setup step fails, the product should report an actionable native-host registration error rather than allowing browser discovery to succeed and surfacing only the generic
nodeRepl.fetch request failedon the first tab RPC.Related symptom
This reproduction also matches the tab-level RPC symptom tracked in #44697 (
nodeRepl.fetch request failedafter Chrome discovery), but here the concrete local abnormality is that the Native Messaging host registration and manifest are missing.No claim is made that the recent Windows update is causal; only the observed OS build is reported.
Sensen-zs commentedon Oct 7, 2026
Additional reproduction on Windows Codex Desktop
26.1002.7124.0.Chrome / Browser integration previously recovered temporarily, but failed again following desktop updates. Reinstalling the integrations through Codex Settings and restarting did not restore connectivity.
Read-only diagnostics on October 8, 2026 found:
26.1002.52244.26.928.21956, with a bundle identity different from the installed package.NODE_REPL_TRUSTED_SERVICESstill references:%USERPROFILE%\.codex\plugins\cache\openai-bundled\browser\26.928.21956\scripts\browser-service.mjslatest.com.openai.codexextensionis absent.HKCU\Software\WOW6432Node\Google\Chrome\NativeMessagingHosts\com.openai.codexextension%LOCALAPPDATA%\OpenAI\extension\com.openai.codexextension.jsonThese are direct registry/filesystem findings, not solely a result from the bundled manifest checker.
This installation has a history of manual troubleshooting, including cache and registration changes. It is not a clean-install reproduction. No repair or environment modification was performed during this investigation.
The findings suggest inconsistent update/reconciliation state, but do not establish the complete causal chain or prove an encrypted-copy/file-lock failure.
Related reports: #47443 for stale bundled marketplace/runtime versions, and #42520 for update-time activation and registration drift.
Feedback ID:
01a0ced4-25ae-7932-aa18-6639e39f989bThe in-app feedback submission includes diagnostic and browser logs. Private paths, browsing content and credentials are intentionally omitted here.
Could maintainers confirm whether a supported fix has shipped, identify the Windows desktop build containing it, and explain whether existing broken installations should reconcile automatically?