[internal] This socket has been ended by the other party

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’m getting a persistent connection error whenever I try to use the chat/agent. The request drops mid-stream with a “socket has been ended by the other party” error.

Request ID: 291c9847-af50-49c5-a20d-9258409922f8

RetriableError: [internal] This socket has been ended by the other party
    at uAS (...workbench.desktop.main.js)
    at EMc (...)
    at Fny (...)
    at Object.classify (...)
    at hAS (...)
    at async Oqm.runWithSharedTurnRunner (...)
    at async iH.runAgentLoop (...)
    at async Lkh.streamFromAgentBackend (...)
    at async Lkh.getAgentStreamResponse (...)
    at async IRe.submitChatMaybeAbortCurrent (...)

Steps to Reproduce

Just by making a simple prompt.

Operating System

Windows 10/11

Version Information

I’m not sure as this is happening to other person and I am not able to check this information.

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. The error “This socket has been ended by the other party” means the connection got dropped at the transport layer on the client side. Our backend handled the request for this Request ID fine. This usually happens behind a proxy or VPN, or on an unstable network.

Since you’re starting a thread for another user, please ask them to do two things:

  1. Update to the latest Cursor version via Help > Check for Updates. Newer builds already include a fix for this transport case.
  2. If it still crashes after updating, switch Settings > Network > HTTP Compatibility Mode to HTTP/1.1 and fully restart Cursor.

Also ask for their exact Cursor version and whether they’re behind a proxy, VPN, or corporate network. That’ll help if the issue keeps happening.

Similar thread here: Getting "This socket has been ended by the other party" Error. Let me know if this helps.