I still getting the “Connection failed. If the problem persists, please check your internet connection or VPN”
I ran Network diagnostics and there is everything fine e2e.
I tried to switch different networks and still getting the same.
Only switching the HTTP protocol to /1.1, /1.0 in Network tab Cursor Settings helps
Steps to Reproduce
Agent chat + HTTP/2
Expected Behavior
“Connection failed. If the problem persists, please check your internet connection or VPN” message
For AI issues: add Request ID with privacy disabled
Request ID: 0d1ff565-f1df-411b-bbe7-6174b5a462ab
ConnectError: [internal] 49495203907776:error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE:../../third_party/boringssl/src/ssl/tls_record.cc:486:SSL alert number 40
at isu.$streamAiConnect (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:6409:406134)
at async vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:565:80844
at async Object.run (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:6477:42602)
at async o (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:2815:1269)
at async Promise.allSettled (index 0)
at async fHr.run (vscode-file://vscode-app/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:2815:6513)
I can see same problem on my environment. And I have it multiple times already.
Skipping all the steps…
If I remove User/workspaceStorage/<workspace>/state.vscdb from user’s folder - it start working again, but I loosing all my project chat history. So there is something in ItemTable that prevent HTTP/2 from running. I have not find it yet, but it’s there. And it has nothing with network config.
So currently 2 solutions:
switch to HTTP/1.1
reset chat history (remove state.vscdb)
But I want to use HTTP/2 and have my chat history in place.
UPD: Actually issue reproduced every time when I create 2nd agent chat, If I remove all chats - first one will work, 2nd will not.
Cursor V2 fails to connect to api2.cursor.sh when using HTTP/2: Network Diagnostics shows SSLV3_ALERT_HANDSHAKE_FAILURE (boringssl, alert number 40) for API/Ping/Chat/Agent. Cursor V1.1 works fine.
Environment:
macOS (darwin 25.1.0), no proxy/VPN.
System proxies disabled (scutil --proxy, networksetup -getwebproxy/-getsecurewebproxy/-getautoproxyurl → Disabled).
Please prioritize the bugfix. It really is a pain.
I’ve noticed a lot of similar reports on the forum.
Request ID: a75ca96e-7c6e-48f2-bbab-33fd992c280d
ConnectError: [internal] 1151053741376:error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE:../../third_party/boringssl/src/ssl/tls_record.cc:486:SSL alert number 40
at cGc.$streamAiConnect (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:11956:453313)
at async vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:585:94724
at async Object.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12004:10221)
at async o (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:8410:1269)
at async Promise.allSettled (index 0)
at async Ezr.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:8410:6561)
It seems this is a genuine bug on the Cursor side. Hopefully the team will notice it. I also didn’t use any VPNs or proxies and tried with different networks.
I replied in this thread: Connection error in Cursor when on Ukrainian IP
So I’ll duplicate it here that the issue is still relevant as of v2.2.20 (it was gone for one session, but after I relaunched the app, it started happening again).
I ended up installing the older version as suggested in one of the similar threads on this topic. v2.1.42 works for me:
For me it seems not related to the app version. Because it stop/start working on the same version. Today HTTP/2 start working again, I did not make any updates.