The cursor cuts off the execution of the code at the stage

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Issue Summary:
Cursor AI Agent frequently crashes during terminal operations like cargo check, displaying a warning about internet/VPN connectivity. Once triggered, the agent thread becomes unrecoverable—either crashing outright or getting stuck indefinitely at “Planning next moves.”

Warning Message:

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

Troubleshooting Attempts So Far:

  • Switched from HTTP/2 to HTTP/1.1 as suggested in other forum threads.
  • Reinstalled Cursor.
  • Verified that internet is stable and functional across other apps on the same PC.
  • Not using a VPN.
  • Ran Cursor’s network diagnostics—no issues reported.
  • Disabled IPv6 and forced IPv4 per this forum suggestion.

Impact on Workflow:
This bug makes it impossible to continue using the original agent thread. I’m forced to manually duplicate the “Build” plan before each execution, hoping the new agent can reconstruct context from the copy. Unfortunately, this workaround breaks continuity—new agents can’t interact with the original plan, which severely limits usability.

Steps to Reproduce

Here is the specific powershell command that crashed the agent (but not limited to):

cd src-tauri; cargo check --message-format=short 2>&1 | Select-Object -First 50

Expected Behavior

Should not crash and should not kill the entire thread.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.75 (system setup)
VSCode Version: 1.99.3
Commit: 9e7a27b76730ca7fe4aecaeafc58bac1e2c82120
Date: 2025-11-12T17:34:21.472Z
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.26200

For AI issues: which model did you use?

Auto

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor