Facing Grep Attempted, Read Attempted, Time outs, EventStreamFailed etc

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’m experiencing very frequent timeouts/failed attempts—essentially on every chat. It usually requires reloading the window multiple times just to get the agent running, and even when it does start, the issue often reappears midway through tasks.

I’ve already tried all the troubleshooting steps suggested in the support channel, including:

Reinstalling Cursor (to latest ide)

Switching between HTTP/2 and HTTP/1.1

Turning VPN on/off

Unfortunately, none of these have helped.

This has been happening consistently for about a month now and is seriously impacting my day-to-day work. At this point I’m effectively unable to code or use agents reliably.

Can someone please help me diagnose and fix this?

these are my cursor ide details –

Version: 2.4.28
VSCode Version: 1.105.1
Commit: f3f5cec40024283013878b50c4f9be4002e0b580
Date: 2026-02-03T00:56:18.293Z (1 wk ago)
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.2.0

Steps to Reproduce

any task that i am doing with agents is suffering from this timeout

Operating System

MacOS

Version Information

Version: 2.4.28
VSCode Version: 1.105.1
Commit: f3f5cec40024283013878b50c4f9be4002e0b580
Date: 2026-02-03T00:56:18.293Z (1 wk ago)
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.2.0

For AI issues: which model did you use?

claude opus/sonnet

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This looks like it could be related to a known agent timeout issue the team is tracking. Since you’ve already tried the usual fixes (reinstalling, toggling HTTP/2, VPN), let’s dig deeper.

I need a few things from you:

  1. Request ID: next time the error shows up, open the chat context menu (top right of the chat panel) and click “Copy Request ID”. Paste it here.

  2. Console logs: go to “Help > Toggle Developer Tools > Console”, then reproduce the error. Copy any red errors you see.

  3. Network environment: are you using a corporate proxy (like Zscaler or similar) on your network? This class of errors (especially “Grep Attempted”, “Read Attempted”) is sometimes caused by a proxy or firewall that intercepts the agent tool call streams.

  4. Project size: roughly how many files? Does this happen in all projects, or only a specific one?

Also worth trying, if you haven’t yet:

  • Run cursor --disable-extensions from Terminal to rule out extension conflicts
  • Run network diagnostics: Cursor Settings > Network > Run Diagnostics
  • Clear workspace state: fully close Cursor, then delete ~/Library/Application Support/Cursor/User/workspaceStorage (make a backup, the folder will be recreated on restart)

This diagnostic info will help narrow it down to either a network or proxy issue, or a host extension timeout bug.

RequestID –

  1. 3902b5d5-89f2-4634-8fa8-dfe8bbc67197
  2. 05a2f7d8-dc6e-4b53-bd3b-5c2f9e2bdc65

Console Log–

workbench.desktop.main.js:531 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:58 WARN Missing property “rpcFileLoggerFolder” in oldValue. Filling with value from initValue. Please add a migration if necessary.
warn @ workbench.desktop.main.js:58
workbench.desktop.main.js:58 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:58
workbench.desktop.main.js:58 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:58
workbench.desktop.main.js:58 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:58
workbench.desktop.main.js:58 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:58
workbench.desktop.main.js:58 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:58
workbench.desktop.main.js:58 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:58
workbench.desktop.main.js:58 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:58
workbench.desktop.main.js:58 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:58
workbench.desktop.main.js:58 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:58
workbench.desktop.main.js:58 ERR Extension ‘ms-toolsai.jupyter’ appears in product.json but enables LESS API proposals than the extension wants.
package.json (LOSES): notebookDeprecated, notebookMessaging, notebookMime, contribNotebookStaticPreloads, portsAttributes, quickPickSortByLabel, notebookKernelSource, interactiveWindow, quickPickItemTooltip, notebookExecution, notebookCellExecution, notebookVariableProvider, notebookReplDocument
product.json (WINS): notebookDeprecated, notebookMessaging, notebookMime, notebookCellExecutionState, quickPickSortByLabel, notebookKernelSource, interactiveWindow, notebookControllerAffinityHidden, contribNotebookStaticPreloads, quickPickItemTooltip, notebookExecution, notebookCellExecution, notebookVariableProvider, notebookReplDocument
error @ workbench.desktop.main.js:58
workbench.desktop.main.js:58 WARN [Anthropic.claude-code]: View container ‘claude-sidebar-secondary’ does not exist and all views registered to it will be added to ‘Explorer’.
warn @ workbench.desktop.main.js:58
workbench.desktop.main.js:58 WARN Uber.vscode-dev-portal tried to set the view size of runTargets but it was ignored because the view container does not belong to it.
warn @ workbench.desktop.main.js:58
workbench.desktop.main.js:33984 Overwriting grammar scope name to file mapping for scope source.rst.
Old grammar file: file:///Applications/Cursor.app/Contents/Resources/app/extensions/restructuredtext/syntaxes/rst.tmLanguage.json.
New grammar file: vscode-remote://ssh-remote%2Bemdeepak-godev.devpod-ind/home/user/.cursor-server/extensions/trond-snekvik.simple-rst-1.5.4/syntaxes/rst.tmLanguage.json
register @ workbench.desktop.main.js:33984
workbench.desktop.main.js:33984 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Applications/Cursor.app/Contents/Resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: vscode-remote://ssh-remote%2Bemdeepak-godev.devpod-ind/home/user/.cursor-server/extensions/uber.vscode-dev-portal-1.6.54/language-support/java/java.tmLanguage.json
register @ workbench.desktop.main.js:33984
textMateTokenizationWorker.workerMain.js:28 Overwriting grammar scope name to file mapping for scope source.rst.
Old grammar file: file:///Applications/Cursor.app/Contents/Resources/app/extensions/restructuredtext/syntaxes/rst.tmLanguage.json.
New grammar file: vscode-remote://ssh-remote%2Bemdeepak-godev.devpod-ind/home/user/.cursor-server/extensions/trond-snekvik.simple-rst-1.5.4/syntaxes/rst.tmLanguage.json
register @ textMateTokenizationWorker.workerMain.js:28
textMateTokenizationWorker.workerMain.js:28 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Applications/Cursor.app/Contents/Resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: vscode-remote://ssh-remote%2Bemdeepak-godev.devpod-ind/home/user/.cursor-server/extensions/uber.vscode-dev-portal-1.6.54/language-support/java/java.tmLanguage.json
register @ textMateTokenizationWorker.workerMain.js:28
workbench.desktop.main.js:58 WARN No search provider registered for scheme: vscode-remote, waiting
warn @ workbench.desktop.main.js:58
workbench.desktop.main.js:58 ERR [Extension Host] [otel.error] {“stack”:“OTLPExporterError: Bad Request\n\tat IncomingMessage. (/Applications/Cursor.app/Contents/Resources/app/node_modules/@opentelemetry/otlp-exporter-base/build/src/transport/http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:531:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:90:21)”,“message”:“Bad Request”,“code”:“400”,“name”:“OTLPExporterError”,“data”:“{“error”:“Trace spans collection is not enabled for this user”}”}
error @ workbench.desktop.main.js:58
workbench.desktop.main.js:11400 [Extension Host] [otel.error] {“stack”:“OTLPExporterError: Bad Request\n\tat IncomingMessage. (/Applications/Cursor.app/Contents/Resources/app/node_modules/@opentelemetry/otlp-exporter-base/build/src/transport/http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:531:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:90:21)”,“message”:“Bad Request”,“code”:“400”,“name”:“OTLPExporterError”,“data”:“{“error”:“Trace spans collection is not enabled for this user”}”}
AFf @ workbench.desktop.main.js:11400
workbench.desktop.main.js:34267 Failed to get git telemetry attributes: Error: Unable to parse repository URL: [email protected]:go-code
getGitAttributes @ workbench.desktop.main.js:34267
workbench.desktop.main.js:34045 [transport] Connect error in unary AI connect ConnectError: [invalid_argument] Error
at t (workbench.desktop.main.js:11433:34181)
at async Object.getGithubAccessTokenForRepos (workbench.desktop.main.js:637:32043)
at async ims (workbench.desktop.main.js:645:481752)
at async l (workbench.desktop.main.js:36062:21936) Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] Connect error in unary AI connect ConnectError: [unauthenticated] You are not authorized to use background agents in this team. Please contact your team admin.
at t (workbench.desktop.main.js:11433:34181)
at async Object.listBackgroundComposers (workbench.desktop.main.js:637:32043)
at async s2c.refreshBackgroundComposersInner (workbench.desktop.main.js:36062:35155) Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:36062 Error refreshing background composers after enablement: ConnectError: [unauthenticated] You are not authorized to use background agents in this team. Please contact your team admin.
at t (workbench.desktop.main.js:11433:34181)
at async Object.listBackgroundComposers (workbench.desktop.main.js:637:32043)
at async s2c.refreshBackgroundComposersInner (workbench.desktop.main.js:36062:35155)
(anonymous) @ workbench.desktop.main.js:36062
workbench.desktop.main.js:34045 [transport] Connect error in unary AI connect ConnectError: [invalid_argument] Error
at t (workbench.desktop.main.js:11433:34181)
at async Object.getGithubAccessTokenForRepos (workbench.desktop.main.js:637:32043)
at async ims (workbench.desktop.main.js:645:481752)
at async l (workbench.desktop.main.js:36062:21936) Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] Connect error in unary AI connect ConnectError: [invalid_argument] Error
at t (workbench.desktop.main.js:11433:34181)
at async Object.getGithubAccessTokenForRepos (workbench.desktop.main.js:637:32043)
at async ims (workbench.desktop.main.js:645:481752)
at async l (workbench.desktop.main.js:36062:21936) Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] Connect error in unary AI connect ConnectError: [invalid_argument] Error
at t (workbench.desktop.main.js:11433:34181)
at async Object.getGithubAccessTokenForRepos (workbench.desktop.main.js:637:32043)
at async ims (workbench.desktop.main.js:645:481752)
at async l (workbench.desktop.main.js:36062:21936) Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:36062 [hasGithubAccess] unexpected error checking GitHub access: ConnectError: [invalid_argument] Error
at t (workbench.desktop.main.js:11433:34181)
at async Object.getGithubAccessTokenForRepos (workbench.desktop.main.js:637:32043)
at async ims (workbench.desktop.main.js:645:481752)
at async l (workbench.desktop.main.js:36062:21936)
l @ workbench.desktop.main.js:36062
workbench.desktop.main.js:34045 [composer] No first token received within 2s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 4s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:35379 Timed out getting tasks from npm
(anonymous) @ workbench.desktop.main.js:35379
workbench.desktop.main.js:34045 [composer] No first token received within 6s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:58 ERR [Extension Host] [otel.error] {“stack”:“OTLPExporterError: Bad Request\n\tat IncomingMessage. (/home/user/.cursor-server/bin/linux-x64/f3f5cec40024283013878b50c4f9be4002e0b580/node_modules/@opentelemetry/otlp-exporter-base/build/src/transport/http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:530:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:82:21)”,“message”:“Bad Request”,“code”:“400”,“name”:“OTLPExporterError”,“data”:“{“error”:“Trace spans collection is not enabled for this user”}”}
error @ workbench.desktop.main.js:58
workbench.desktop.main.js:11400 [Extension Host] [otel.error] {“stack”:“OTLPExporterError: Bad Request\n\tat IncomingMessage. (/home/user/.cursor-server/bin/linux-x64/f3f5cec40024283013878b50c4f9be4002e0b580/node_modules/@opentelemetry/otlp-exporter-base/build/src/transport/http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:530:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:82:21)”,“message”:“Bad Request”,“code”:“400”,“name”:“OTLPExporterError”,“data”:“{“error”:“Trace spans collection is not enabled for this user”}”}
AFf @ workbench.desktop.main.js:11400
workbench.desktop.main.js:34045 [composer] No first token received within 8s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 10s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 12s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 14s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 16s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:58 WARN [ExtensionService] No inspect port found for Remote
warn @ workbench.desktop.main.js:58
workbench.desktop.main.js:34045 [composer] Extension host became UNRESPONSIVE undefined Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] Client stream abort Error: submit_chat_abort_existing
at OTe.logClientStreamAbort (workbench.desktop.main.js:9172:24401)
at OTe.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9171:62287)
at async Xi (workbench.desktop.main.js:32996:3808) Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] Agent client stream abort Error: conversation_action_abort
at R (workbench.desktop.main.js:9098:10094)
at a.signal.addEventListener.once (workbench.desktop.main.js:9098:10706)
at O2d.abort (workbench.desktop.main.js:9102:7886)
at $4t.abort (workbench.desktop.main.js:9097:41611)
at OTe.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9171:62418)
at async Xi (workbench.desktop.main.js:32996:3808) Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] Client stream abort Error: abort_chat_and_wait_for_finish
at OTe.logClientStreamAbort (workbench.desktop.main.js:9172:24401)
at OTe.abortChatAndWaitForFinish (workbench.desktop.main.js:9183:11247)
at OTe.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9172:9825)
at async Xi (workbench.desktop.main.js:32996:3808) Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] No handler found for server message of type abort undefined Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] No handler found for server message of type abort undefined Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] No handler found for server message of type abort undefined Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] Stream error reported from extension host ConnectError: [canceled] [canceled] User aborted request
at NKd.$endAiConnectTransportReportError (workbench.desktop.main.js:11433:32597)
at C0t._doInvokeHandler (workbench.desktop.main.js:33986:23171)
at C0t._invokeHandler (workbench.desktop.main.js:33986:22913)
at C0t._receiveRequest (workbench.desktop.main.js:33986:21545)
at C0t._receiveOneMessage (workbench.desktop.main.js:33986:20362)
at min.value (workbench.desktop.main.js:33986:18389)
at $e._deliver (workbench.desktop.main.js:49:2962)
at $e.fire (workbench.desktop.main.js:49:3283)
at P3t.fire (workbench.desktop.main.js:11417:12156)
at MessagePort. (workbench.desktop.main.js:36047:18408) Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] [AGENT_ERROR_DIAGNOSTICS] requestId=48a2f28e-74b6-4b6c-a024-c5c30e983de3 decision=THROW ple Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] [nal_agent_retries] Error not retryable Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] Error writing setBlobResult Error: cannot write, WritableIterable already closed
at Object.write (workbench.desktop.main.js:9097:36174)
at sdt.write (workbench.desktop.main.js:529:553432)
at sdt.write (workbench.desktop.main.js:529:553432)
at workbench.desktop.main.js:553:93764 Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] Error writing setBlobResult Error: cannot write, WritableIterable already closed
at Object.write (workbench.desktop.main.js:9097:36174)
at sdt.write (workbench.desktop.main.js:529:553432)
at sdt.write (workbench.desktop.main.js:529:553432)
at workbench.desktop.main.js:553:93764 Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 2s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 4s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 6s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 8s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 10s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 12s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 14s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [composer] No first token received within 16s Object
_log @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] Agent exec stream start timeout ConnectError: [deadline_exceeded] Agent Stream Start Failed
at workbench.desktop.main.js:11433:39577 Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:9172 [composer] Error in AI response: {“error”:“ERROR_EXTENSION_HOST_TIMEOUT”,“details”:{“title”:“Agent Stream Start Failed”,“detail”:“The agent stream failed to start. Please reload the window to continue.”,“isRetryable”:false,“shouldShowImmediateError”:true,“additionalInfo”:{},“buttons”:[{“label”:“Reload Window”,“reloadWindow”:{}}],“planChoices”:}} ConnectError: [deadline_exceeded] Agent Stream Start Failed
at workbench.desktop.main.js:11433:39577
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9172
workbench.desktop.main.js:34045 [composer] Error in AI response ConnectError: [deadline_exceeded] Agent Stream Start Failed
at workbench.desktop.main.js:11433:39577 Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:34045 [transport] Connect error in unary AI connect ConnectError: [unauthenticated] You are not authorized to use background agents in this team. Please contact your team admin.
at t (workbench.desktop.main.js:11433:34181)
at async Object.listBackgroundComposers (workbench.desktop.main.js:637:32043)
at async s2c.refreshBackgroundComposersInner (workbench.desktop.main.js:36062:35155) Objectarch: "arm64"causeCode: undefinedcauseErrno: undefinedcauseSyscall: undefinedchannel: "stable"client_version: "2.4.28"code: 16error: {message: ‘You are not authorized to use background agents in this team. Please contact your team admin.’, stack: ‘ConnectError: [unauthenticated] You are not author…/workbench/workbench.desktop.main.js:36062:35155)’, kind: ‘ConnectError’, code: 16}errorDetails: [{…}]errorDetailsDebug: "{“error”:“ERROR_UNAUTHORIZED”,“details”:{“title”:“Unauthorized request.”,“detail”:“You are not authorized to use background agents in this team. Please contact your team admin.”,“isRetryable”:false},“isExpected”:true}"errorMessage: undefinederrorName: "ConnectError"method: “ListBackgroundComposers"platform: “darwin"requestId: “8f44cf1a-68b6-4a6c-bb3e-a6b0bef81653"service: “aiserver.v1.BackgroundComposerService"timeoutMs: “undefined”[[Prototype]]: Object
error @ workbench.desktop.main.js:34045
workbench.desktop.main.js:58 ERR An unknown error occurred. Please consult the log for more details. {}
error @ workbench.desktop.main.js:58
error @ workbench.desktop.main.js:58
error @ workbench.desktop.main.js:35996
handleUnexpectedError @ workbench.desktop.main.js:35993
(anonymous) @ workbench.desktop.main.js:35993
onUnexpectedError @ workbench.desktop.main.js:27
Uc @ workbench.desktop.main.js:22
$onUnexpectedError @ workbench.desktop.main.js:11414
_doInvokeHandler @ workbench.desktop.main.js:33986
_invokeHandler @ workbench.desktop.main.js:33986
_receiveRequest @ workbench.desktop.main.js:33986
_receiveOneMessage @ workbench.desktop.main.js:33986
(anonymous) @ workbench.desktop.main.js:33986
_deliver @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:11417
_receiveMessage @ workbench.desktop.main.js:11417
(anonymous) @ workbench.desktop.main.js:11417
_deliver @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
acceptChunk @ workbench.desktop.main.js:11417
(anonymous) @ workbench.desktop.main.js:11417
(anonymous) @ workbench.desktop.main.js:35996
_deliver @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
_fileReader.onload @ workbench.desktop.main.js:35996
FileReader
t @ workbench.desktop.main.js:35996
_socketMessageListener @ workbench.desktop.main.js:35996
workbench.desktop.main.js:58 ERR [Extension Host] [otel.error] {“stack”:“OTLPExporterError: Bad Request\n\tat IncomingMessage. (/home/user/.cursor-server/bin/linux-x64/f3f5cec40024283013878b50c4f9be4002e0b580/node_modules/@opentelemetry/otlp-exporter-base/build/src/transport/http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:530:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:82:21)”,“message”:“Bad Request”,“code”:“400”,“name”:“OTLPExporterError”,“data”:”{“error”:“Trace spans collection is not enabled for this user”}”}
error @ workbench.desktop.main.js:58
error @ workbench.desktop.main.js:58
error @ workbench.desktop.main.js:35996
wFf @ workbench.desktop.main.js:11400
$logExtensionHostMessage @ workbench.desktop.main.js:11400
_doInvokeHandler @ workbench.desktop.main.js:33986
_invokeHandler @ workbench.desktop.main.js:33986
_receiveRequest @ workbench.desktop.main.js:33986
_receiveOneMessage @ workbench.desktop.main.js:33986
(anonymous) @ workbench.desktop.main.js:33986
_deliver @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:11417
_receiveMessage @ workbench.desktop.main.js:11417
(anonymous) @ workbench.desktop.main.js:11417
_deliver @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
acceptChunk @ workbench.desktop.main.js:11417
(anonymous) @ workbench.desktop.main.js:11417
(anonymous) @ workbench.desktop.main.js:35996
_deliver @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
_fileReader.onload @ workbench.desktop.main.js:35996
FileReader
t @ workbench.desktop.main.js:35996
_socketMessageListener @ workbench.desktop.main.js:35996
workbench.desktop.main.js:11400 [Extension Host] [otel.error] {“stack”:“OTLPExporterError: Bad Request\n\tat IncomingMessage. (/home/user/.cursor-server/bin/linux-x64/f3f5cec40024283013878b50c4f9be4002e0b580/node_modules/@opentelemetry/otlp-exporter-base/build/src/transport/http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:530:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:82:21)”,“message”:“Bad Request”,“code”:“400”,“name”:“OTLPExporterError”,“data”:”{“error”:“Trace spans collection is not enabled for this user”}”}
AFf @ workbench.desktop.main.js:11400
$logExtensionHostMessage @ workbench.desktop.main.js:11400
_doInvokeHandler @ workbench.desktop.main.js:33986
_invokeHandler @ workbench.desktop.main.js:33986
_receiveRequest @ workbench.desktop.main.js:33986
_receiveOneMessage @ workbench.desktop.main.js:33986
(anonymous) @ workbench.desktop.main.js:33986
_deliver @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:11417
_receiveMessage @ workbench.desktop.main.js:11417
(anonymous) @ workbench.desktop.main.js:11417
_deliver @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
acceptChunk @ workbench.desktop.main.js:11417
(anonymous) @ workbench.desktop.main.js:11417
(anonymous) @ workbench.desktop.main.js:35996
_deliver @ workbench.desktop.main.js:49
fire @ workbench.desktop.main.js:49
_fileReader.onload @ workbench.desktop.main.js:35996
FileReader
t @ workbench.desktop.main.js:35996
_socketMessageListener @ workbench.desktop.main.js:35996

Network environment – Yes we use ZScaler here

  1. It’s a monorepo having all services at one place… but I have been using cursor for a lot while now and till the time before a month or so (~8-9 months)… this issue didn’t occur so frequently on this monorepo code

@deanrie — just checking if there’s any resolution update on this issue of mine?

Hey @Deepak_Mehrotra thanks for the follow-up and for the detailed logs. They’re really helpful.

From the console output, the root cause looks clear: the Extension Host stops responding, which then triggers a cascade of Agent Stream Start Failed and deadline_exceeded. A few things stand out:

  1. You’re using SSH Remote ssh-remote+emdeepak-godev.devpod-ind. Agent tool calls like grep, read, and so on go through an SSH tunnel to the remote host. With Zscaler in the path, that adds noticeable latency, which can push the Extension Host past its timeout threshold.

  2. Heavy extensions. I can see Uber.vscode-dev-portal, Anthropic.claude-code, Jupyter, and a few others loading on the remote side. Any of these can slow down the Extension Host response.

Here’s what I suggest trying, in order:

A) Test locally first. Open a small local project (no SSH) and run a couple of agent chats. If everything is fine locally, that confirms it’s related to SSH Remote plus the network.

B) Run with extensions disabled:

cursor --disable-extensions

If the agent works over SSH with no extensions, then re-enable them in batches to find the culprit. Start by disabling Anthropic.claude-code and Uber.vscode-dev-portal since they register extra views and services in the Extension Host.

C) Run network diagnostics: Cursor Settings > Network > Run Diagnostics. Share the results here.

D) Clear workspace state (make a backup first):

  • Fully quit Cursor
  • Delete ~/Library/Application Support/Cursor/User/workspaceStorage
  • Restart

The team is aware of Extension Host timeout issues in this setup and is investigating.

Let me know what you find, especially from steps A and B.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.