Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Connection Error message appears and the agent chat cannot be used again. Need to open a new one to continue.
Steps to Reproduce
When the agent executes a Powershell command with " | Select-Object -First 50 " to compile in Rust, it stops the agent and shows the message
Expected Behavior
No message and the chat agent should continue working.
Screenshots / Screen Recordings
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.26200
For AI issues: which model did you use?
Auto
For AI issues: add Request ID with privacy disabled
Request ID: 9d7da352-93a3-46d7-a2e1-3520ce4f5487
Does this stop you from using Cursor
No - Cursor works, but with this issue
Colin
(Colin)
December 16, 2025, 3:32pm
2
Hey there!
This actually looks a lot like this thread when comparing the backend logs.
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:2…
I’m following up on this!
Colin
(Colin)
December 24, 2025, 1:26am
3
Hey @Ruben_De_Araujo
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. 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.
1 Like
system
(system)
Closed
January 15, 2026, 1:27am
4
This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.