Skip to content

[Windows] Chrome extension fails to start: app-server manifest missing required nodePath after Codex data-directory migration #41592

Closed

Description

@tylerdavisop-hue

What version of the Codex App are you using (From “About Codex” dialog)?

26.825.41651

What subscription do you have?

pro

What platform is your computer?

No response

What issue are you seeing?

Description

The ChatGPT Chrome extension cannot connect to the Codex/ChatGPT Windows desktop app after a previous Codex data-directory migration.

The Chrome extension displays:

Unable to start ChatGPT

Codex app-server manifest entry is missing required path nodePath

The extension is installed and enabled, but browser control does not work.

Environment

  • OS: Windows 11
  • Desktop app: ChatGPT/Codex for Windows
  • Desktop app update status: Up to date
  • Chrome extension version: 1.2.27268.51612
  • Chrome extension ID: hehggadaopoacecdllhhajmbjkdcmagj
  • Feedback ID: no-active-thread-01a05065-5a39-7472-af16-02f11ed71256

Steps to reproduce

  1. Open the ChatGPT/Codex desktop app.
  2. Go to Settings → Computer Control → Google Chrome → Manage.
  3. Reinstall the Chrome extension.
  4. Confirm that the extension is installed and enabled in Chrome.
  5. Fully close and restart both Chrome and the desktop app.
  6. Open the ChatGPT extension from the Chrome toolbar.

Actual behavior

The Chrome extension sidebar fails to start and displays:

Codex app-server manifest entry is missing required path nodePath

Codex cannot access or control Chrome tabs.

A browser RPC check also reported:

Trusted RPC service is not configured: chrome

Expected behavior

The extension should connect to the running desktop app and allow Codex/ChatGPT to access Chrome tabs after the browser extension has been installed and enabled.

Troubleshooting already performed

  • Reinstalled the Chrome extension from the desktop app settings.
  • Confirmed that the Chrome extension is installed and enabled.
  • Fully restarted Chrome and the desktop app.
  • Confirmed that the desktop app is up to date.
  • Used Windows Settings → Apps → ChatGPT → Repair.
  • Confirmed that the Native Messaging Host manifest and Windows Registry entry are now generated.
  • Confirmed that the required extension-host-config.json is still not generated.
  • Submitted diagnostics using /feedback.

The problem still occurs.

Relevant diagnostic details

Native Messaging Host manifest:

C:\Users\<username>\AppData\Local\OpenAI\extension\com.openai.codexextension.json

The generated Native Messaging Host currently points to an older migrated Codex data directory:

D:\CodexDataClean\.codex\plugins\cache\openai-bundled\chrome\latest\extension-host\windows\x64\extension-host.exe

However, the currently running Codex environment and plugins appear to be loaded from a different directory:

D:\CodexMigration\RecoveryWorkspace\Recovery-20260826\candidate-e\.codex\

The expected file appears to be missing:

extension-host-config.json

This path mismatch may prevent the desktop app from generating or locating the extension-host configuration, leaving nodePath missing from the app-server manifest.

Additional context

The failure began after the Codex data directory was migrated from the C: drive to the D: drive. Multiple .codex directory locations may still be referenced by different components.

Please let me know if additional logs or diagnostic files are needed. The related uploaded diagnostic report can be identified by this feedback ID:

no-active-thread-01a05065-5a39-7472-af16-02f11ed71256

What steps can reproduce the bug?

Feedback ID: no-active-thread-01a05065-5a39-7472-af16-02f11ed71256

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    app-serverIssues involving app server protocol or interfaces
    on Aug 30, 2026
  2. github-actions commented on Aug 30, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. zemeng5208 commented on Aug 30, 2026

    @zemeng5208

    This looks like a high-confidence local Chrome bridge state mismatch rather than a generic browser-policy or account issue.

    I maintain WinBridge Recovery: https://github.com/zemeng5208/winbridge-recovery

    In this specific case, the useful local repair scope is the Windows Chrome integration state around:

    • the versioned chrome plugin cache and its latest target;
    • com.openai.codexextension.json plus the HKCU Native Messaging Host registration;
    • chrome-native-hosts-v2.json / app-server host metadata;
    • extension-host-config.json and the nodePath / resourcesPath values consumed by the extension host.

    The strongest signal here is that the generated native host still launches from D:\CodexDataClean\.codex\...\chrome\latest\..., while the active Codex state is under a different migrated .codex tree, and extension-host-config.json is missing. WinBridge can help diagnose that divergence, stop the owned extension-host process, validate which cache/version is actually complete, and rebuild the user-side host/registry/config state so those paths agree again.

    A limitation: it does not modify WindowsApps, bypass package protection, or guarantee a fix. If the cache, latest, Native Host manifest/registry, v2 state and extension-host config are all regenerated consistently for the current install but Codex 26.825.41651 still omits nodePath, that would point to an upstream Desktop/native-host generation regression rather than repairable stale local state.

  4. yilin06415-cmd commented on Aug 30, 2026

    @yilin06415-cmd

    Additional verified reproduction on Windows Desktop 26.825.6671 / Codex CLI 0.151.0-alpha.7.2:

    After repairing the native-host manifest and rebuilding the current Chrome and Browser plugin caches from the bundled app resources, static validation passed:

    • native messaging manifest and registry entry are correct;
    • extension-host-config.json contains existing nodePath, nodeReplPath, codexCliPath, and browserClientPath values;
    • Chrome successfully relaunches extension-host.exe.

    The remaining browser bootstrap still fails before Chrome discovery. The trusted browser runtime attempts to lstat the default Codex home path and returns:

    EPERM: operation not permitted, lstat 'C:\Users\<redacted>\.codex'
    

    On this machine that default path is a Windows directory junction to a physical Codex home on another volume. Direct lstat of the physical target succeeds, and normal directories under C:\Users<redacted> also succeed. The failure is specifically the valid relocated-home junction at the default .codex root.

    User impact: Chrome control is unavailable even after reinstall/restart/manifest repair, which blocks work that depends on an already signed-in browser. A full migration back to C: is not a practical workaround when the Codex home is larger than available C: space.

    Requested product fixes:

    1. Resolve and safely validate a Codex-home junction/reparse target rather than rejecting it during browser bootstrap.
    2. Treat the desktop update, plugin cache, native-host config, and app-server manifest as one self-healing transaction.
    3. Surface an actionable diagnostic that identifies the rejected home-directory junction instead of reporting only a missing runtime path.
    4. Provide a supported in-app repair/migration flow that preserves existing data and does not require manual cache or manifest work.

    No account data, credentials, session contents, or user-specific paths are included here.

  5. th3nolo commented on Aug 30, 2026

    @th3nolo

    Independent reproduction on a normal Microsoft Store installation, without moving the Codex data directory.

    As of 2026-08-30, this still occurs with:

    • Codex AppX package 26.825.6671.0
    • ChatGPT Chrome extension 1.2.27268.51612
    • Chrome extension installed and enabled in the active profile

    The exact user-facing error is:

    Codex app-server manifest entry is missing required path nodePath
    

    Read-only host diagnostics point to an update/bootstrap reconciliation failure rather than a bad Chrome extension:

    • The Chrome native-host registry entry and com.openai.codexextension.json both exist and are structurally valid.
    • %LOCALAPPDATA%\OpenAI\Codex\chrome-native-hosts-v2.json contains 23 historical entries and was last modified on 2026-08-23. Every entry has a paths.nodePath property, but the recent targets no longer exist, and there is no current 26.825 registration.
    • A current CUA Node runtime does exist at %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\415ffebf3d576e9b\bin\node.exe; it simply was not reconciled into the app-server manifest.
    • The bundled source advertises Browser/Chrome 26.825.51511, while the installed cache still has Browser 26.727.40816 and Chrome 26.825.32147. Importing the expected Browser service consequently fails because the 26.825.51511 cache path is absent.
    • The configured openai-bundled marketplace source is also WSL-shaped (/mnt/c/Users/<user>/...) although the active CLI is Windows-native. A one-command read-only override to the equivalent Windows path makes the marketplace appear immediately.

    Updating all Store apps, restarting several times, reinstalling the Chrome extension, and reinstalling through Settings > Computer Use did not fix it.

    This suggests that the data-directory migration in this report can expose the bug, but is not required to reproduce it. The failing chain is the Store update/bootstrap not atomically reconciling the bundled marketplace registration, versioned plugin cache, and app-server/native-host runtime registrations.

  6. andrewchan534 commented on Aug 31, 2026

    @andrewchan534

    Additional reproduction after a normal Desktop App update.

    This machine previously had the Chrome integration working normally after the native-host state was repaired. After the Desktop App updated again, the integration immediately broke again with:

    Unable to start ChatGPT
    Codex app-server manifest entry is missing required path nodePath
    

    Current environment:

    • AppX: OpenAI.Codex 26.825.6671.0
    • Current CUA Node runtime exists at:
      %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\415ffebf3d576e9b\bin\node.exe
    • chrome-native-hosts-v2.json still has its latest entry at 26.814.41407
    • That entry references the previous runtime:
      ...\cua_node\f24ab376120677c2\bin\node.exe
    • Test-Path for that recorded nodePath returns False
    • resourcesPath in the same entry is also stale and returns False
    • The current Node runtime itself is present and contains both node.exe and node_repl.exe

    The important part in this reproduction is that no Codex data-directory migration occurred between the working and broken states. The browser integration was working, then a normal Desktop App update replaced the CUA Node runtime without reconciling the app-server/native-host registration.

    This makes manual repair after every Desktop App update necessary, which is not a sustainable workaround.

    It appears the Desktop updater should atomically refresh or self-heal the Chrome/native-host app-server registration whenever its bundled runtime changes.

  7. fricpa commented on Sep 27, 2026

    @fricpa

    This keeps happening.

    Image

    if a reinstall is needed that's a shame for anyone not technical enough to realize this and the fix definitely should have been provided as a migration on an update if at all possible...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbrowserbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions