[WSL Remote] anysphere.cursor-agent-exec never registers — every agent prompt times out (ERROR_EXTENSION_HOST_TIMEOUT) in remote-WSL windows only; works locally and via cursor-agent CLI

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In a WSL-remote Cursor window, every agent prompt fails after ~70s with the toast:

Agent Execution Timed Out — The agent execution provider did not respond in time.
This may indicate the extension host is not running or is unresponsive.
Renderer log repeats: [agent-exec] Provider registration timed out (attempt 1/9 … 8/9),
and the failure stack ends in waitForProviderRegistration /
_waitForPushRequestContextProviderRegistration (same stack as
Cursor Agents stuck).
Root cause (from extension-host log + client-code analysis): the bundled extension
anysphere.cursor-agent-exec (activationEvents: ["*"]) activates in no extension host
in a remote-WSL window:

  • the remote exthost loads only vscode.git-base;
  • the window’s local/UI exthost loads only anysphere.remote-wsl.
    It is fully deployed on the remote and activates fine in local windows. Placement is
    governed by two server-side Statsig gates — cursor_extensions_isolation_v2 (default ON) and
    decompose_always_local_ext_host (default OFF), whose local overrides are locked to
    internal/dev accounts. With that combo, cursor-agent-exec is force-pinned via fanout
    “priming” (primeCursorFanoutRunningLocations) to a local isolated ext host that never
    starts in remote-WSL
    , and remote.extensionKind is structurally bypassed because priming
    runs before that setting is read. Net result: the agent-exec provider never registers, so
    the client waits out the full retry budget and reports the timeout.
    The extension is present and valid; it is simply never placed in a running host.

Steps to Reproduce

  1. Windows 11 + WSL2 (Ubuntu, systemd on).
  2. In Cursor, connect to a WSL remote (anysphere.remote-wsl) and open a folder inside the
    WSL filesystem.
  3. Open the Agent panel and send any prompt.
  4. ~70s later: “Agent Execution Timed Out” toast; renderer log shows
    [agent-exec] Provider registration timed out (attempt 1/9 … 8/9).
  5. Open the same project in a local Windows window → agent works immediately.

Expected Behavior

anysphere.cursor-agent-exec activates in an extension host available to the remote-WSL
window (honoring remote.extensionKind), the provider registers, and agent prompts work —
exactly as they do in local windows and via the WSL cursor-agent CLI.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

IDE: 3.9.16

For AI issues: which model did you use?

Any

For AI issues: add Request ID with privacy disabled

Request ID: 61721922-6a2e-4e69-8dac-59e3782dde94

Additional Information

What I already tried and ruled out

  • Clean ~/.cursor-server redeploy in WSL (full re-download of remote server). No change.
  • remote.extensionKind set to ["workspace"] and to ["ui"] for the extension. No effect
    (priming runs before the setting is read).
  • argv.json tweaks; no proxy in use; NODE_TLS_REJECT_UNAUTHORIZED unset.
  • Client commit == remote-server commit (verified identical).
  • Confirmed not corrupted install (no hash-mismatch in exthost.log), not dual WSL
    extensions (only anysphere.remote-wsl installed), not language-pack related (UI is
    English).
  • Not fixable via settings.json / argv.json / env vars / CLI flags.

Workarounds (both confirmed working)

  • Use the WSL cursor-agent CLI inside the distro.
  • Use the local Windows IDE agent (open the project as a local window, not WSL-remote).

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @Marcin_Ceglarek!

Thanks for getting in touch about this.

We can test this pretty quickly. I’ve forced this setting to true for your user. Can you restart Cursor and try again?

Yep, worked now. Can you enforce this setting to everyone?

It looks like this might be a related bug post, there are a couple of users including myself affected: link

Hey @Kane_Phipps

I’m not sure I see the connection between these two threads. This thread specifically has to do with WSL and the Extension Host.

Hi again, Just now figured i tried on local, not WSL before, that why it worked. Sorry for misleading you, shouldn’t try before first coffee :slight_smile: .

Nothing has changed, WSL still not working / timing out. Recent attempt:

Request ID: 6172bb6f-8518-4165-b3cd-8fb2e9ac92fa
{“error”:“ERROR_EXTENSION_HOST_TIMEOUT”,“details”:{“title”:“Agent Execution Timed Out”,“detail”:“The agent execution provider did not respond in time. This may indicate the extension host is not running or is unresponsive.”,“isRetryable”:false,“shouldShowImmediateError”:true,“additionalInfo”:{},“buttons”:[{“label”:“Reload Window”,“reloadWindow”:{}}],“planChoices”:}}
The agent execution provider did not respond in time. This may indicate the extension host is not running or is unresponsive.
Agent Execution Timed Out [deadline_exceeded]
ConnectError: [deadline_exceeded] Agent Execution Timed Out
at z0w (vscode-file://vscode-app/c:/Users/mceglare/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:12160:32673)
at qts.waitForProviderRegistration (vscode-file://vscode-app/c:/Users/mceglare/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:12160:37717)
at async Hcp._waitForPushRequestContextProviderRegistration (vscode-file://vscode-app/c:/Users/mceglare/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:24547:4072)
at async AOe (vscode-file://vscode-app/c:/Users/mceglare/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:11913:12020)
at async vscode-file://vscode-app/c:/Users/mceglare/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:24547:8080
at async AOe (vscode-file://vscode-app/c:/Users/mceglare/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:11913:12020)
at async Hcp.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/mceglare/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:24547:8004)
at async Hcp.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/mceglare/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:24547:22878)
at async L4e.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/mceglare/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.glass.main.js:12144:2399)

Never mind me then just seemed that the timeouts and symptom seemed oddly similar across the two when I was searching for similar issues.

Hey @Marcin_Ceglarek!

Sorry for the delay here. Can you let us know if you’re still facing the issue on Cursor v3.10? The logs in the backend say no, but it’s possible you just haven’t tried since then. Let us know!

Now we talkin :slight_smile: thanks for fix. You can close report.