Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Hi team,
I am facing a persistent “Connection failed. If the problem persists, please check your internet connection or VPN” error when trying to use Chat/AI features.
The Issue:
The AI stream fails instantly with an SSL Handshake error. I have confirmed via Network Debugging that while REST API calls (like marketplace) return 200 OK, the gRPC streaming connection fails immediately.
Workaround & Performance Impact:
If I enable “Disable HTTP/2” in settings, the connection starts working. However, this is not a viable solution because the response latency becomes extremely high, making the IDE practically unusable for productive work. I need HTTP/2 for normal performance.
Steps to Reproduce
- Open Cursor IDE on macOS (Apple Silicon).
- Ensure “Disable HTTP/2” is unchecked in settings (default state).
- Try to send any message in the Chat or use Cmd+K.
- Observe the immediate “Connection failed” error.
- Check Developer Tools → Console to see the SSLV3_ALERT_HANDSHAKE_FAILURE error.
Expected Behavior
AI Chat should work via HTTP/2 without connection errors, as it did in previous versions.
Screenshots / Screen Recordings
vscode-app-1766066706889.txt (12.2 KB)
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.36
VSCode Version: 1.105.1
Commit: 55c9bc11e99cedd1fb93fbb7996abf779c583150
Date: 2025-12-18T06:25:21.733Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0
For AI issues: which model did you use?
All models (Claude 3.5 Sonnet, GPT-4o, etc.)
For AI issues: add Request ID with privacy disabled
Request ID: d0872b26-fbe7-4ebf-9105-dbeed22e4d9f
ConnectError: [internal] 1116693872384:error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE:../../third_party/boringssl/src/ssl/tls_record.cc:486:SSL alert number 40
at ezc.$streamAiConnect (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12375:453365)
at async vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:585:89270
at async Object.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12423:10221)
at async o (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:8815:1269)
at async Promise.allSettled (index 0)
at async $zr.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:8815:6560)
Additional Information
Error from logs (see attached file for full trace):
ConnectError: [internal] … error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE:../../third_party/boringssl/src/ssl/tls_record.cc:486:SSL alert number 40
Network: Direct home connection (No VPN, No corporate proxy, MTU verified/correct). This issue seems specific to the arm64 build’s SSL configuration.
Does this stop you from using Cursor
Yes - Cursor is unusable