Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Remote-SSH agent fails: “agent execution provider did not respond in time” — remote extension host never activates the agent executor
Summary
On a Remote-SSH workspace, every agent run fails with:
The agent execution provider did not respond in time. This may indicate
the extension host is not running or is unresponsive.
The SSH connection, server install, and remote extension host are all healthy
and fast. The local agent executor requests a remote execution provider, waits
exactly 30s, retries (30s + 5s + 5s) and gives up. On the remote side, the
extension host only ever activatesvscode.git-base— the bundled
cursor-agent-exec/cursor-agent-worker/cursor-shadow-workspace
extensions exist on disk but are never activated. This reproduces 100% of the
time across clean reinstalls and multiple versions.
Environment
- Local client: Cursor 3.7.21 (Windows 11, x64, 10.0.26100), VS Code API 1.105.1
- Remote server commit: 517f696d8ab6c53eb04fbfdaae705cd146bf3460 (product version 3.7.21)
- Remote OS: Ubuntu 20.04, kernel 5.4.0-48-generic, glibc 2.31, x86_64
- The remote is a Kubernetes/minikube node (kubelet/docker running), bare VM (cgroup /init.scope, not inside a restrictive container)
- Behind a corporate Fortinet proxy with a rotating IP (set via /etc/profile.d/proxy.sh). I added a
no_proxybypass for cursor.sh/cursor.com/cursorapi.com/cursor-cdn.com — no change. - Reproduced on server commits b887a26c (3.7.12), 80c653c2 (3.7.19) and 517f696d (3.7.21).
Error / Request IDs
- f20ff677-2e05-43f3-8b05-6fdd2b36c23a
- 712b68dd-57c7-4d4f-8f97-5024aaecb6dc
- 833e06e2-e089-4a7e-a097-c675349686ba
- 05c0585e-2c41-446f-98f1-f5d60bdab8ac
Smoking gun
Local renderer log (logs/<ts>/window1_wb1/renderer.log) — connection is fast
and healthy, then provider registration times out:
14:12:49 resolveAuthority(ssh-remote) returned ‘WebSocket(…)’ after 2009 ms 14:12:52 [MainThreadShellExec] $updateShellExecCapabilities: hostKind=3, expectedHost=3, isRemote=true, sandboxSupported=true 14:13:01 [ComposerWakelockManager] Acquired wakelock reason=“agent-loop” 14:13:31 [warning] [agent-exec] Provider registration timed out (attempt 1/3, timeout=30000ms), retrying 14:13:36 [warning] [agent-exec] Provider registration timed out (attempt 2/3, timeout=5000ms), retrying
Remote extension host log (~/.cursor-server/data/logs/<ts>/exthost1/remoteexthost.log)
— during the exact same window, the ONLY extension activated is git-base; there is
zero agent/worker/provider activity:
[info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: ‘*’ [info] Extension activated success: vscode.git-base [info] Eager extensions activated
Remote bundled extensions present but never activated:
cursor-agent-exec cursor-agent-worker cursor-shadow-workspace cursor-browser-automation cursor-mcp cursor-retrieval …
So the remote executor extensions are installed but the remote extension host
never activates them, and the local agent-exec never receives a registered
remote provider → 30s timeout.
Also seen (possibly related) in local renderer log
[error] Unable to create workbench contribution ‘JXg’. Cannot register two commands with the same id: workbench.extensions.action.focusExtensionsView [error] … workbench.output.action.switchBetweenOutputs [error] … workbench.extensions.action.openExtensionsFolder
This happens even after a clean reinstall.
Things ruled out (already fixed/verified, problem persists)
- inotify limits raised to 524288 / 1024 (original ENOSPC fixed)
- Removed a perpetual ~108MB server re-download per connect (commit-dir mismatch);
connect time went 206s → 2s — agent still times out - Corporate proxy bypassed for Cursor domains — no change
- glibc / Node / disk / memory all well within requirements
- Full clean reinstall of local client + full
rm -rf ~/.cursor-serveron remote - Tested with an empty remote folder (
~/cursor-test) — same failure - Single-window, only the remote folder open — same failure
Repro
- Cursor 3.7.21 on Windows, Remote-SSH into Ubuntu 20.04 (kernel 5.4) k8s node.
- Open any remote folder.
- Start an agent request.
- Agent fails after ~40s with “agent execution provider did not respond in time”.
Remote exthost log shows only git-base activated.
Ask
Why does the remote extension host activate only git-base and never activate
cursor-agent-exec/cursor-agent-worker on this host, causing remote agent
provider registration to time out? Is there a known incompatibility with kernel
5.4 / the sandbox helper / k8s-node environments, or a way to force-activate /
get diagnostic logs for the remote agent provider registration?
Steps to Reproduce
- Install Cursor 3.7.21 on Windows 11 (x64).
- Use Remote-SSH to connect to an Ubuntu 20.04 host (kernel 5.4.0-48-generic,
glibc 2.31), which is also a Kubernetes/minikube node. - Open any remote folder (reproduces even with a brand-new empty folder, and
with a single window + all third-party extensions disabled). - Send any agent request (e.g. “list the files in this directory”).
- After ~40s the agent fails with:
“The agent execution provider did not respond in time. This may indicate the
extension host is not running or is unresponsive.”- Local renderer log shows:
[agent-exec] Provider registration timed out (attempt 1/3, timeout=30000ms)then 2 retries, then gives up. - Remote extension host log (
~/.cursor-server/data/logs/<ts>/exthost1/ remoteexthost.log) shows ONLYvscode.git-baseactivates; the bundled
cursor-agent-exec/cursor-agent-workerextensions are present on disk
but never activate.
- Local renderer log shows:
- Reproduces 100% of the time, across clean reinstalls of both the client and
the remote~/.cursor-server, and across server commits b887a26c (3.7.12),
80c653c2 (3.7.19) and 517f696d (3.7.21).
Expected Behavior
On a healthy, fast Remote-SSH connection, starting an agent should activate the
remote agent execution provider (cursor-agent-exec / cursor-agent-worker) in
the remote extension host, register it with the local agent, and run the agent’s
tools against the remote workspace — instead of timing out after 30s because the
remote provider was never registered.
Operating System
Windows 10/11
Version Information
Version: 3.7.21 (user setup)
VS Code Extension API: 1.105.1
Commit: 517f696d8ab6c53eb04fbfdaae705cd146bf3460
Date: 2026-06-07T21:46:09.237Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.26100
Does this stop you from using Cursor
Yes - Cursor is unusable