Keep getting connection error messages in chat

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’ve been experiencing frequent and frustrating connection errors when using Cursor’s AI features. Specifically:

  • The errors occur consistently when using Claude or gpt 5 models or any models.
  • Most commonly happens during git operations (commits, pushes, etc.)
  • Connection drops and says try again.
  • Requires multiple retries to complete simple operations

This issue has significantly impacted my workflow and productivity.

Steps to Reproduce

Steps to reproduce:

  1. Open a project in Cursor
  2. Attempt any operation with AI assistance
  3. Connection fails mid-operation

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.40 (system setup)
VSCode Version: 1.99.3
Commit: a9b73428ca6aeb2d24623da2841a271543735560
Date: 2025-10-30T04:12:35.564Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

For AI issues: which model did you use?

gpt5 claude sonnet

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. This looks like a known intermittent connection issue on Windows. The most common fix is to disable HTTP/2:

  • Open Cursor Settings Ctrl + ,
  • Search for “HTTP/2”
  • Enable “Disable HTTP/2”
  • Restart Cursor

If that doesn’t help, also try:

  • Check MCP servers (if configured): Cursor has a limit of 80 tools. Disable any MCP servers you’re not using
  • Run network diagnostics: Cursor Settings → Network → Run Diagnostics
  • Check firewall/antivirus: Windows may need to re‑allow internet access for the updated app version
  • Switch DNS to Google/Cloudflare: Settings → Network & Internet → Ethernet (or Wi‑Fi) → select your connection → Edit (DNS) → Manual → IPv4 ON →
    Preferred DNS: 8.8.8.8 or 1.1.1.1
    Alternate DNS: 8.8.4.4 or 1.0.0.1
    Save

Let me know if disabling HTTP/2 fixes it. If the issue persists, please share any error messages so we can investigate further.

Request ID: aba795c6-0012-4cdc-9143-d6c54cec6198

issue is persistent/intermittent, Disabled http/2 restarted updated cursor multiple times, i feel like wasting lot of time waiting to run.

Thanks for the update. Since disabling HTTP/2 didn’t help, let’s check a couple more things:

  1. MCP servers (this has fixed the same issue before):
  • Cursor has a limit of 80 tools
  • Check if you have MCP servers configured: Cursor Settings → search “MCP”
  • If yes, temporarily disable all MCP servers and see if the connection errors go away
  1. Network diagnostics:
  • Run: Cursor Settings → Network → Run Diagnostics
  • Share the results here
  1. Also check:
  • Firewall/antivirus: you may need to re-allow Cursor after updates
  • VPN: try without VPN if it’s enabled

Share the results and I can escalate this with your Request ID if needed.

Request ID: c1641e8e-ee1f-48ef-9f32-b152bbb2c5b1
ConnectError: [unknown] Network disconnected
at QJc.$streamAiConnect (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4989:397603)
at async vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:590:72442
at async uas.toolWrappedStream (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:1647:24239)
at async vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:2749:7776
at async _L.handleStreamComposer (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:1446:993)
at async Pjr.streamResponse (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5609:12143)
at async UKr. (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5754:7648)
at async WKr. (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5756:1998)
at async IKr. (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5750:567)
at async RKr. (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5750:28168)
at async AKr. (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5750:42040)
at async ZMe. (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:1647:39372)
at async BKr. (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5754:6794)
at async Uie.processCodeBlocks (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:1583:3486)
at async L$.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:2749:9845)

Here is my recent request ID

Hey, I see you’ve shared the error logs. To actually get this resolved, I still need the diagnostics that were requested earlier. Could you please check the following and share the results?

Most important - MCP Servers (this has fixed the issue for other users with the same errors):

  • Open Cursor Settings Ctrl+Shift+J
  • Search for “MCP”
  • Screenshot or list what you see - do you have any MCP servers configured?

Network diagnostics:

  • Cursor Settings → Network → “Run Diagnostics”
  • Share the results

Also, please confirm:

  • Are you using a VPN?
  • What antivirus/security software is running?
  • Did you try changing DNS to Google DNS 8.8.8.8 as mentioned earlier?

Right now the error stack trace only shows that the connection drops during the AI streaming process. Without the diagnostics above, it’s hard to tell whether this is due to MCP tools overload, network configuration, or firewall blocking. The MCP check usually takes about 30 seconds and has resolved this exact error for several users recently.

Here are the mcp and network screenshot, i did not setup the DNS, i think i will try that, also i use vpn, and its work laptop

also this is the developer logs of cursor on my pc

Thanks for the screenshots. I can see MCP servers are disabled, so we can rule those out.

Since you’re on a work laptop with a VPN, this is most likely a corporate network issue. Based on your network diagnostics showing “Connection: Failed”, please try the following steps:

  1. Change DNS to Google DNS (you mentioned you’ll try this, so start here):
  • Settings → Network & Internet → Ethernet/Wi‑Fi → Edit DNS → Manual IPv4
  • Preferred: 8.8.8.8, Alternate: 8.8.4.4
  • Save the changes and restart Cursor
  1. Test without VPN:
  • Temporarily disconnect from the VPN and check if Cursor works
  • If it works without VPN, your corporate network is likely blocking or inspecting SSL traffic
  1. Test direct connectivity:
  • Open Command Prompt and run:
  • curl -v https://api2.cursor.sh
  • Share the output here

If none of this works, your IT team may need to add Cursor’s domains to an allowlist or disable SSL inspection for Cursor traffic.

Let me know what happens after you try these steps.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.