The agent execution provider did not respond within 4 seconds. This may indicate the extension host is not running or is unresponsive

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Opened cursor project ive been working on this week and first thing i get is this:

“The agent execution provider did not respond within 4 seconds. This may indicate the extension host is not running or is unresponsive.”

I was able to open a different project and push an update, so it seems it could be specific to this project.

Steps to Reproduce

Put in any request to push a new update/change.

Expected Behavior

Should be pushing a simple design change, but instead i get this error.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.34 (Universal)

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report.

This is a known issue. It’s most often related to Git not being installed. Agent mode needs Git to work. Please try this:

  1. Check if Git is installed: open Terminal and run git --version
  2. If Git isn’t installed, install it from Redirecting…
  3. After installing, fully restart Cursor
  4. Try using Agent again

If Git is already installed but the issue is still there:

  1. CMD+Shift+P → “Developer: Reload Window”
  2. Check Extension Monitor: Settings > Application > Experimental > Extension Monitor Enabled, then CMD+Shift+P → “Developer: Open Extension Monitor” and see if any extensions look problematic
  3. Try running cursor --disable-extensions from Terminal. This will show if the issue is extension-related

You can also send:

  • Logs from Help > Toggle Developer Tools > Console, if there are any red errors

More details in a similar thread: Stuck with timeouts?

Hey thanks, I tried all of this:

  • Git is in fact installed
  • Everything runs perfectly in my other projects, just tested it out
  • Ran Cursor without extensions and still got the same error, cant seem to run anything in this project

Here is the Console Log:

workbench.desktop.main.js:539 This document requires ‘TrustedScript’ assignment.
(anonymous) @ workbench.desktop.main.js:539
workbench.desktop.main.js:539 The JavaScript Function constructor does not accept TrustedString arguments. See Trusted Types for function constructor · w3c/trusted-types Wiki · GitHub for more information.
workbench.desktop.main.js:55 WARN Missing property “rpcFileLoggerFolder” in oldValue. Filling with value from initValue. Please add a migration if necessary.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-toolsai.datawrangler’ wants API proposal ‘debugFocus’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-vscode.vscode-copilot-data-analysis’ wants API proposal ‘chatVariableResolver’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-python.python’ wants API proposal ‘terminalShellType’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-python.vscode-python-envs’ wants API proposal ‘terminalShellType’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘github.copilot-chat’ wants API proposal ‘chatReadonlyPromptReference’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-azuretools.vscode-azure-github-copilot’ wants API proposal ‘lmTools’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘vscjava.vscode-java-pack’ wants API proposal ‘lmTools’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘apidev.azure-api-center’ wants API proposal ‘chatParticipant’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘apidev.azure-api-center’ wants API proposal ‘languageModels’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN No search provider registered for scheme: file, waiting
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 ERR [Extension Host] (node:80714) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use Cursor Helper (Plugin) --trace-deprecation ... to show where the warning was created)
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:12674 [Extension Host] (node:80714) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use Cursor Helper (Plugin) --trace-deprecation ... to show where the warning was created)
XTf @ workbench.desktop.main.js:12674
workbench.desktop.main.js:15679 Extension Host
workbench.desktop.main.js:15675 Extension host (LocalProcess pid: 80714) terminated unexpectedly. Code: 6, Signal: unknown
_onExtensionHostCrashed @ workbench.desktop.main.js:15675
workbench.desktop.main.js:55 ERR Extension host (LocalProcess pid: 80714) terminated unexpectedly. The following extensions were running: vscode.emmet, anysphere.cursor-browser-extension, vscode.git-base, vscode.git, vscode.github, anysphere.cursor-retrieval, anysphere.cursor-agent-exec
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:13900 Failed to get git telemetry attributes: Canceled: Canceled
at fne (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:22:22386)
at vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13633:18638
at Array.forEach ()
at JXe.dispose (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13633:18479)
at HOs.dispose (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13637:9612)
at EFm.dispose (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15675:13434)
at kFm.stopAllInReverse (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15675:12568)
at async SUo._doStopExtensionHosts (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15674:77064)
getGitAttributes @ workbench.desktop.main.js:13900
workbench.desktop.main.js:16001 [TerminalExecutionServiceProxy] v3 health check failed after 1551ms: Canceled: Canceled
at fne (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:22:22386)
at vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13633:18638
at Array.forEach ()
at JXe.dispose (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13633:18479)
at HOs.dispose (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13637:9612)
at EFm.dispose (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15675:13434)
at kFm.stopAllInReverse (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15675:12568)
at async SUo._doStopExtensionHosts (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15674:77064)
_healthCheckV3 @ workbench.desktop.main.js:16001
workbench.desktop.main.js:16001 [TerminalExecutionServiceProxy] v3 health check failed, staying with current version
_initializeDelegate @ workbench.desktop.main.js:16001
workbench.desktop.main.js:15694 Error getting git root Canceled: Canceled
at new e$f (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13633:16544)
at JXe._remoteCall (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13633:23227)
at s..r.charCodeAt.s. (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13633:19838)
at bvs.getGitRoot (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:645:30427)
at GUo.isRepoReadyForBackgroundComposer (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15694:19618)
at async GUo.refreshRepoReadyCacheIfNeeded (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15694:17581)
isRepoReadyForBackgroundComposer @ workbench.desktop.main.js:15694
vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.html?&vscodeWebWorkerExtHostId=667f442c-559f-4876-8c0f-f24db3bd4326:1 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
workbench.desktop.main.js:55 ERR [Extension Host] (node:80822) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use Cursor Helper (Plugin) --trace-deprecation ... to show where the warning was created)
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:12674 [Extension Host] (node:80822) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use Cursor Helper (Plugin) --trace-deprecation ... to show where the warning was created)
XTf @ workbench.desktop.main.js:12674
workbench.desktop.main.js:15679 Extension Host
workbench.desktop.main.js:15675 Extension host (LocalProcess pid: 80822) terminated unexpectedly. Code: 6, Signal: unknown
_onExtensionHostCrashed @ workbench.desktop.main.js:15675
workbench.desktop.main.js:55 ERR Extension host (LocalProcess pid: 80822) terminated unexpectedly. The following extensions were running: vscode.emmet, anysphere.cursor-browser-extension, vscode.git-base, vscode.git, vscode.github, anysphere.cursor-retrieval, anysphere.cursor-agent-exec
error @ workbench.desktop.main.js:55
vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.html?&vscodeWebWorkerExtHostId=0c71c3c5-6c85-4bd0-ba67-9c3240a52e62:1 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
workbench.desktop.main.js:55 ERR [Extension Host] (node:80857) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use Cursor Helper (Plugin) --trace-deprecation ... to show where the warning was created)
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:12674 [Extension Host] (node:80857) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use Cursor Helper (Plugin) --trace-deprecation ... to show where the warning was created)
XTf @ workbench.desktop.main.js:12674
workbench.desktop.main.js:15679 Extension Host
workbench.desktop.main.js:15675 Extension host (LocalProcess pid: 80857) terminated unexpectedly. Code: 6, Signal: unknown
_onExtensionHostCrashed @ workbench.desktop.main.js:15675
workbench.desktop.main.js:55 ERR Extension host (LocalProcess pid: 80857) terminated unexpectedly. The following extensions were running: vscode.emmet, anysphere.cursor-browser-extension, vscode.git-base, vscode.git, vscode.github, anysphere.cursor-retrieval, anysphere.cursor-agent-exec
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:15616 Extension host terminated unexpectedly 3 times within the last 5 minutes.
onDidChangeNotification @ workbench.desktop.main.js:15616
workbench.desktop.main.js:646 [UsageDataService] Failed to fetch current period usage: Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
performFetch @ workbench.desktop.main.js:646
workbench.desktop.main.js:748 Failed to fetch usage limit policy status: Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
performFetch @ workbench.desktop.main.js:748
workbench.desktop.main.js:55 ERR Error fetching user privacy mode: Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:646 [UsageDataService] Plan info fetch failed: Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
(anonymous) @ workbench.desktop.main.js:646
workbench.desktop.main.js:55 ERR No Connect transport provider registered.: Error: No Connect transport provider registered.
at rtc.transport (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:646:88408) Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:15682 Failed to load team commands: Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
at async oC.get (workbench.desktop.main.js:646:88212)
at async LUo.loadTeamCommands (workbench.desktop.main.js:15682:3639)
loadTeamCommands @ workbench.desktop.main.js:15682
workbench.desktop.main.js:9104 [KnowledgeBaseService] Failed to fetch knowledge: Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
refresh @ workbench.desktop.main.js:9104
workbench.desktop.main.js:13689 Error refreshing default models: Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
refreshDefaultModels @ workbench.desktop.main.js:13689
workbench.desktop.main.js:675 [AutorunSettings] Failed to fetch admin settings (network error, no cache available): Object
TSh @ workbench.desktop.main.js:675
workbench.desktop.main.js:55 ERR No Connect transport provider registered.: Error: No Connect transport provider registered.
at rtc.transport (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:646:88408)
at async oC.get (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:646:88212)
at async u9o.keepCppModelStateUpdated (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15721:16117)
at async u9o.loadCppConfigIncludingHandlingProAccess (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15731:1259) Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
at async oC.get (workbench.desktop.main.js:646:88212)
at async u9o.keepCppModelStateUpdated (workbench.desktop.main.js:15721:16117)
at async u9o.loadCppConfigIncludingHandlingProAccess (workbench.desktop.main.js:15731:1259)
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 ERR No Connect transport provider registered.: Error: No Connect transport provider registered.
at rtc.transport (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (vscode-file://vscode-app/Volumes/Cursor%20Installer/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:646:88408) Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:15756 Error checking if ad was seen: Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
at async oC.get (workbench.desktop.main.js:646:88212)
at async R3m (workbench.desktop.main.js:15756:17270)
at async o (workbench.desktop.main.js:15756:16548)
R3m @ workbench.desktop.main.js:15756
2workbench.desktop.main.js:13901 Failed to flush analytics events: Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
flushAll @ workbench.desktop.main.js:13901
Error: No Connect transport provider registered.
at rtc.transport (workbench.desktop.main.js:646:87512)
at async oC.createSingleServer (workbench.desktop.main.js:646:88408)
at async oC.get (workbench.desktop.main.js:646:88212)
at async jUo.forceRefreshServerConfig (workbench.desktop.main.js:15697:39199)

Also - theres an error that pops up in the left hand side that reads “Extension Host terminated 3 times within the last 5 minutes”

1 Like

I see the standard steps didn’t help.

A couple of things I noticed from your logs:

  • The Extension Host is crashing with code 6
  • The path in the errors shows /Volumes/Cursor Installer/. It looks like Cursor is being run directly from the DMG, not installed. If so, drag Cursor.app into the Applications folder and launch it from there.

If Cursor is already installed properly, try clearing the workspace data for this project:

  1. Fully quit Cursor
  2. Open ~/Library/Application Support/Cursor/User/workspaceStorage
  3. Delete the folders related to the problematic project (or delete them all, they’ll be recreated). Make a backup first
  4. Restart Cursor

A couple more questions:

  • How big is the project (rough file count, and do you have large node_modules or a .git folder)?
  • Is this a new project, or have you worked on it before without issues?

This is a known Extension Host issue, and the team is working on a fix.

I tried all the steps but none worked!

same here,disabled all the extensions but still didn’t work.