Working error after sending prompt

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

why do a constantly get Connection failed. If the problem persists, please check your internet connection or VPN i Cant work

Steps to Reproduce

just write whatever

Expected Behavior

it should connect with ai

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.20 (system setup)
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z
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?

sonnet 4.5

For AI issues: add Request ID with privacy disabled

Request ID: b663c271-4948-4d83-bc41-91c83926961c

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey there!

Looking at the logs, this appears to be a network connectivity issue rather than a bug in Cursor itself. Your requests are successfully reaching Cursor servers, but the connection is being interrupted before the response completes.

Next time this happens to you, could you try running Network Diagnostics a few times to see if there’s an error that appears?

apparently connection run down everytime it do git command… so no it is not mine problem

If there’s a consistent pattern to the behavior? For example, is it always after a git show?

This actually looks a lot like this thread when comparing the backend logs

I’m following up on this!

Hey @PaYo90

I’ve gotten to the point where I can consistently reproduce this when a command with a lot of output is piped to Select-Object -First 50. This happens in the final command run related to your Request ID before the agent crashes. I’ve reported this as a bug.

As a workaround, you can try manually editing the command to remove 2>&1 | Select-Object -First 50, but this isn’t a great fix.

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