Describe the Bug
After requesting Cursor to complete a task, when Cursor finishes the TODO items and I discover an error that needs to be fixed, a “connection failed” error occurs when attempting to make corrections. everytime
Connection failed. If the problem persists, please check your internet connection or VPN
ConnectError: [internal] Serialization error in aiserver.v1.StreamUnifiedChatRequestWithToolsat vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4918:250162
Request ID: ef51fae5-8581-4020-84ab-1c3c5da84473
I already reinstalled cursor, reset the macOS network setup (i don’t use VPN).
EDITED
on console log
[AiService] streamResponse ConnectError: [internal] Serialization error in aiserver.v1.StreamUnifiedChatRequestWithTools
at workbench.desktop.main.js:4918:250162Caused by: Error: invalid int 32: 2147483648
when this overflow bug triggered, i can not use cursor agent until restart cursor. with full of Error: invalid int 32: 2147483648 messages
I think this bug came with showing token limit circle bar under the agent message box.
if you need more test plz tell me.
Steps to Reproduce
Submit a task/request to Cursor
Wait for Cursor to complete the TODO items
Identify an error in the completed work
“Found 2 errors in ****/” message appears
“Connection failed” error appears
Expected Behavior
Just keep work & fix errors
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
버전: 1.4.2 (Universal)
커밋: 1.99.3
날짜: 07aa3b4519da4feab4761c58da3eeedd253a1670
Electron: 2025-08-06T19:23:39.081Z (12시간 전)
ElectronBuildId: 34.5.1
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.0
OS: 13.2.152.41-electron.0
Additional Information
console log
[composer] ToolFormer: error in toolWrappedStream undefined
[AiService] streamResponse ConnectError: [internal] Serialization error in aiserver.v1.StreamUnifiedChatRequestWithTools
[composer] Error in AI response: undefined ConnectError: [internal] Serialization error in aiserver.v1.StreamUnifiedChatRequestWithTools
[composer] Failed to get complete AI response
Does this stop you from using Cursor
Yes - Cursor is unusable