Cursor Connection Error (with unrelated stack trace?)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I try to start a new chat with an Agent, I send my message, and then I’ll get back a chat title, but the streaming chat response fails, and I’ll get an error message:

“Connection failed. If the problem persists, please check your internet connection or VPN”

However, I’m definitely connected to the internet, and when I Copy Request Details it reveals a strange error stack trace that has to do with an attempt to call a function on an instance that is not a function:

Request ID: db826590-99ad-4f5a-96e5-86169665cf71 ConnectError: [internal] client.listIndexes is not a function at szc.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12375:456006) at xBo._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:22831) at xBo._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:22573) at xBo._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:21335) at xBo._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:20152) at zLt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:13027:18244) at Ee._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962) at Ee.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283) at Tvt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12360:12156) at MessagePort.<anonymous> (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:15027:18433)

Steps to Reproduce

In my environment? Just try to send a message to the Chat, really.

Expected Behavior

It should stream the chat back without error.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.43
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

For AI issues: which model did you use?

I tried Auto and Composer 1

For AI issues: add Request ID with privacy disabled

Request ID: 76bc5832-9e87-47e9-94b7-30dfec2f3c80

Additional Information

When I ran the Cursor Network Diagnostics, It shows that everything is fine (see screenshot)

I am working by SSHing into a remote project, so my whole workspace would have been down if I wasn’t connected to the internet.

I did see a similar issue about “Cursor stops working - Connection Error” from two days ago, but they all legitimately had connection errors.

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. The client.listIndexes is not a function error in the stack trace points to an extensions issue, not an internet connection problem (despite the error message).

To help us diagnose, could you:

  1. Launch Cursor with extensions disabled: cursor --disable-extensions, then check if the issue still happens when using Agent.
  2. If it works without extensions, share your list of installed extensions (Cmd+Shift+P > Extensions: Show Installed Extensions).
  3. Confirm the OS on the remote SSH host (Linux distro and version).

This will help our engineers identify the root cause quickly.