"Connection failed"

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor says that the connection failed and blames my internet connection. If I try again then Cursor obstinately insists that my internet is broken. There is nothing wrong with my internet connection and other tabs in Cursor work just fine.

Steps to Reproduce

It happens a lot but I don’t have steps to reproduce it. It usually happens after a fairly lengthy request.

Expected Behavior

I expect Cursor to give a sensible error, or even better to let me try again.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44 (user setup)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

For AI issues: which model did you use?

Auto

For AI issues: add Request ID with privacy disabled

Request ID: 02dd8ad8-3655-463c-8e39-9e48559aa03c

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report.

This is a known issue with a few possible causes. Let’s check:

  1. Disable HTTP/2:

    • CTRL+, → search for “HTTP/2” → enable “Disable HTTP/2” → restart Cursor
  2. Collect diagnostics:

    • Cursor Settings → Network → Run Diagnostics, and share a screenshot of the results
    • Help → Toggle Developer Tools → Console, reproduce the issue and share a screenshot of the red errors (especially lines with “ConnectError” or “Serialization error”)
  3. Check extensions:

    • Run cursor --disable-extensions in a terminal and see if that helps
    • If it helps, disable extensions one by one: Settings → Extensions
  4. Extra info:

    • What’s your region or country?
    • Are you using a VPN or proxy?
    • Which extensions do you have installed?

Similar cases:

Try these steps and let me know what you find.

I disabled HTTP/2 and it has happened again.

I am in the UK and am not currently using a VPN or proxy.

Thanks for the screenshots. I see a few possible issues:

CodeRabbit is an AI code review tool, and it can conflict with Cursor AI during long operations.

Please check these in order:

  1. Disable CodeRabbit and see if the issue goes away. This extension is the most likely to conflict with Cursor.

  2. If that doesn’t help, run cursor --disable-extensions in your terminal and try a long request.

  3. Check MCP servers: Cursor Settings > Tools & MCP. If you have any servers configured, temporarily disable them. There’s a known issue where MCP timeouts can happen during long operations.

If the issue still happens, please share:

  • A new console screenshot (Help > Toggle Developer Tools) taken while the error is happening
  • A new Request ID

Let me know what you find after disabling CodeRabbit.

Are you sure about this?

CodeRabbit is not actually active. It only becomes active when I manually ask it to perform a review. Until then it is not doing anything.

There are no MCP servers.

I’m very reluctant to stop using CodeRabbit and it feels like you’re trying to upsell me on the Cursor review service.

I understand your concern. This isn’t about “selling” a Cursor review. CodeRabbit, as an AI tool, can actually conflict with Cursor AI during long operations, even when it isn’t active. It’s a technical conflict between extension host processes. If it turns out to be the cause, we’ll fix it. I’m not asking you to stop using CodeRabbit completely.

This is a standard diagnostic step. We temporarily disable the extension to identify the source of the issue. If CodeRabbit isn’t the cause, we’ll keep looking.

After testing with extensions disabled, we’ll be able to pinpoint the exact cause and find a solution without needing to drop CodeRabbit, if it isn’t at fault.

Okay cool. I’ll disable it and see if the problem happens again. It might take a couple of days. Thanks for the help.

1 Like

@deanrie It has happened again while CodeRabbit was disabled: Request ID: d7f69b1a-eea4-4501-910e-018db5c4428b

I asked CodeRabbit about what their extension does while it is not active and their response was:

”The CodeRabbit extension does very little while not actively reviewing - it is just listening for editor events and occasionally syncing settings/auth.”

Thanks for the extra info. I can see the screenshot with the serialization error, “invalid int 32: 4294967295”.

This is a known protobuf serialization issue that happens when the Agent runs terminal commands that return values outside the int32 range. It happens especially often with PowerShell commands.

Please try these steps:

  1. Check the terminal commands:
  • Open Terminal in Cursor when the error happens
  • See which commands the Agent is running
  • If you see PowerShell commands with | Select-Object -First N, that might be causing the issue
  1. Workaround:
  • Add this to .cursorrules: “Never use PowerShell pipelines with Select-Object -First or head for command output truncation”
  • Use shorter requests to the Agent

I’ll pass this to the engineers. The previous fixes clearly didn’t fully solve the issue.

1 Like