Getting "This socket has been ended by the other party" Error

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Hi Cursor Team,

I haven’t been able to use Cursor’s AI features since yesterday evening. Whenever I try, the connection drops and throws a socket error. I have already tried restarting the app and checking my network/VPN settings.

Request ID: 6b93a801-dc42-4c1c-969c-188198935b89

Error Details:

Plaintext
An unexpected error occurred.
[internal] This socket has been ended by the other party
RetriableError: [internal] This socket has been ended by the other party
at JHk (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12056:27831)
at Nsu (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12056:26566)
at aKy (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12057:11930)
at Object.classify (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12057:16437)
at HHk (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12057:5824)
at async oTh.runWithSharedTurnRunner (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12057:15789)
at async fj.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:24528:3041)
at async Hcp.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:24547:13853)
at async Hcp.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:24547:22878)
at async L4e.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications

Steps to Reproduce

Open the Cursor IDE.

Open the AI Chat or Composer panel (e.g., using Cmd+L or Cmd+I).

Type a prompt or ask a question and submit it.

Instead of generating a response, the request immediately drops and displays the socket error.

Expected Behavior

The AI should successfully process the prompt and stream a response back without the socket connection being abruptly terminated by the server.

Operating System

MacOS

Version Information

Version: 3.9.16 (Universal)
VS Code Extension API: 1.105.1
Commit: 042b3c1a4c53f2c3808067f519fbfc67b72cad80
Date: 2026-06-27T06:41:01.941Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0

For AI issues: which model did you use?

AUTO

For AI issues: add Request ID with privacy disabled

Request ID: 6b93a801-dc42-4c1c-969c-188198935b89
An unexpected error occurred.
[internal] This socket has been ended by the other party
RetriableError: [internal] This socket has been ended by the other party
at JHk (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12056:27831)
at Nsu (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12056:26566)
at aKy (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12057:11930)
at Object.classify (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12057:16437)
at HHk (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12057:5824)
at async oTh.runWithSharedTurnRunner (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12057:15789)
at async fj.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:24528:3041)
at async Hcp.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:24547:13853)
at async Hcp.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:24547:22878)
at async L4e.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js:12144:2399)

Does this stop you from using Cursor

Yes - Cursor is unusable

Hi @Girish_Kumar_Sharma!

It looks like you’ve been able to successfully use Cursor and make requests since Friday. Is the issue resolved now?