Cursor agent Connection failed. If the problem persists, please check your internet connection or VPN

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Guys, this has been an infinitely bad experience with Cursor. Almost all the time, while I’m trying to develop with the AGENT, it keeps giving connection issues.
And everything is normal — if I start a new agent, it works perfectly.
I’m paying for an expensive plan and having this bad experience. Do you have any alternatives?

I have to keep restarting my computer all the time so that the same agent keeps working, which makes no sense.

What can you do to help me? I’ve already disabled HTTP/2, I’ve already done everything that was recommended in the community. It’s impossible to work like this.

Steps to Reproduce

After they try to revert to a specific commit pull or push

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.77 (system setup)
VSCode Version: 1.99.3
Commit: ba90f2f88e4911312761abab9492c42442117cf0
Date: 2025-11-13T23:10:43.113Z
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

Additional Information

After they try to revert to a specific commit pull or push

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

hi @rodrigues95s could you please share here following: Settings > Network > Run Diagnostic

I I had already done that, I can share it without any problem.
But I noticed that Cursor is having connection issues when it tries to fetch something from GitHub in a specific branch. Whenever it tries to analyze and restore some code, it keeps losing the connection.

Was the branch that has the issue created by Cursor agent within GitHub. What happens if you check the branch manually to your device, are you able to open Cursor within it?