Cursor constant internal error

Hi,

My cursor is constantly running into internal error that seemingly is related to agent couldn’t start.

After enough clicks of resumes, which is very annoying and almost unusable.

All network configuration seems to be working fine.

Any idea what is going on here and how to fix it? The following is a sample of the error message

Request ID: 31d303b2-3a14-4db2-a25d-fbecc2e2522d
[internal] This socket has been ended by the other party
RetriableError: [internal] This socket has been ended by the other party
at k_f (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9155:6669)
at pQi (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9155:5404)
at wfp (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9156:11972)
at Object.classify (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9156:16501)
at T_f (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9156:5856)
at async Dzo.runWithSharedTurnRunner (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9156:15853)
at async $z.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20557:3005)
at async ewa.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20585:14348)
at async ewa.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20585:23920)
at async aDe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9322:2475)

Thanks!

Hey, thanks for the detailed report and screenshots. I can see in Network Diagnostics that all checks are green, but SSL is flagged with a warning. Your traffic is being intercepted by a Zscaler certificate Zscaler Intermediate Root CA / zscloud.net. That’s the source of the issue.

The error [internal] This socket has been ended by the other party means the stream is getting cut off at the transport level. Zscaler and similar corporate proxies with SSL inspection often drop Cursor’s long HTTP/2 streams halfway through, and the client shows a generic internal error plus Resume. Basic connectivity still works, so the diagnostics can look normal.

What to try, in order:

  • Cursor Settings Cmd+, then search HTTP/2 then enable Disable HTTP/2 or switch HTTP Compatibility Mode to HTTP/1.1. Restart Cursor. This fixes most Zscaler cases.

  • If that didn’t help, enable system certificates. Cursor Settings then search systemCertificates then turn on http.systemCertificates and http.experimental.systemCertificatesV2. This makes Cursor trust certs from macOS Keychain. Also check in Keychain Access that the corporate root CA is in the System keychain and set to Always Trust for SSL.

  • If this is a corporate managed device, ask IT to add a bypass for SSL inspection for Cursor domains on Zscaler: *.cursor.sh, *.cursorapi.com, *.cursor-cdn.com.

  • For a quick test, try using a personal hotspot for a minute. If the errors go away there, it’s definitely the proxy.

Let me know if steps 1 or 2 helped. If not, we can dig in further.