Connection Error on 2025-12-27 1:38 PM

Thanks for the clarification. Yes, the error Serialization error in aiserver.v1.StreamUnifiedChatRequestWithTools is a known bug related to an int32 overflow. The team is working on a fix.

Temporary workarounds:

  1. Create a new chat - after the error appears, the current chat gets “broken,” but a new chat should work
  2. Restart Cursor - if a new chat doesn’t help
  3. Avoid PowerShell pipelines with truncation (on Windows):
    • Don’t use | Select-Object -First N with external commands
    • This can cause exit code -1, which triggers the bug

Related topics for the same issue:

Let me know if creating a new chat helps.