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

I quitted my VPN and my network is stable, but I got a Connection error.

Request ID: 16958604-8db2-4efb-95d9-b9a57385dea1

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

Tried rerunning the prompt a few times still got the Error

Screenshot 2025-12-27 133241

Providing a screenshot of error

Hey, thanks for the report.

This is a known HTTP/2 issue. Please try:

  1. Settings (CTRL+,) → search for “HTTP/2” → enable “Disable HTTP/2” → restart Cursor
  2. Settings → Network → Run Diagnostics → send a screenshot of the results
  3. If you’re using a proxy, firewall, or SSL inspection (Zscaler, etc.), try again without them
  4. Test without extensions: run cursor --disable-extensions from the command line

If the issue still happens after disabling HTTP/2, please share:

  • Your Cursor version (Help → About → Copy)
  • Errors from Help → Toggle Developer Tools → Console

Related threads: Constant connection error and Repeatedly says connection issue when my connection is fine

Let me know if this helps.

this happens on almost all instances where im using the agent… even simple tasks crash out… at first i thought it was a context thing now im just confused… this has broken a few builds because it scraps partial code in where it fails. I dont have a way to disable http/2 here are my http2 logs [2025-12-28T00:45:40.525Z] Start
[2025-12-28T00:45:40.669Z] Host: api2.cursor.sh
[2025-12-28T00:45:40.669Z] Protocol: h2
[2025-12-28T00:45:40.669Z] Result: true in 144ms

Got it, the Agent crashes even on simple tasks and messes up the code. Let’s dig in:

  1. Cursor version: Help > About > Copy. What version are you on? The “Disable HTTP/2” option should show up in Settings CMD/CTRL+, when you search for “HTTP/2”.

  2. Console errors: Help > Toggle Developer Tools > Console. Please send a screenshot of the errors right when the Agent crashes.

  3. Partial code issue: Can you share an example of how the Agent “scraps partial code”? A screenshot or a short description would help.

Your HTTP/2 diagnostic looks good (Protocol: h2, Result: true), so the issue might be elsewhere. More details will help narrow it down.

Let me know if you can share these.

Errors:

This document requires ‘TrustedScript’ assignment.
(anonymous) @ workbench.desktop.main.js:542
workbench.desktop.main.js:542 The JavaScript Function constructor does not accept TrustedString arguments. See Trusted Types for function constructor · w3c/trusted-types Wiki · GitHub for more information.
workbench.desktop.main.js:139 Refused to create a TrustedTypePolicy named ‘tokenizeToString’ because a policy with that name already exists and the Content Security Policy directive does not ‘allow-duplicates’: “trusted-types amdLoader
cellRendererEditorText
defaultWorkerFactory
diffEditorWidget
diffReview
domLineBreaksComputer
dompurify
editorGhostText
editorViewLayer
notebookRenderer
stickyScrollViewLayer
tokenizeToString
safeInnerHtml
editorCppGhostText
standaloneColorizer
tokenizeToString
solidjs
aibubble
aibubble2
aibubbleSearch
streamingMarkdownPolicy
notebookChatEditController
mermaidDiagram
mermaidDiagram2
mermaidDiagramOuter”.
SQ @ workbench.desktop.main.js:139
workbench.desktop.main.js:23 Uncaught Error: Failed to execute ‘createPolicy’ on ‘TrustedTypePolicyFactory’: Policy with name “tokenizeToString” already exists.

TypeError: Policy with name “tokenizeToString” already exists.
at SQ (workbench.desktop.main.js:139:11057)
at workbench.desktop.main.js:12033:49688
at SQ (workbench.desktop.main.js:139:11057)
at workbench.desktop.main.js:12033:49688
at workbench.desktop.main.js:25:12
workbench.desktop.main.js:55 WARN Missing property “rpcFileLoggerFolder” in oldValue. Filling with value from initValue. Please add a migration if necessary.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-toolsai.datawrangler’ wants API proposal ‘debugFocus’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-vscode.vscode-copilot-data-analysis’ wants API proposal ‘chatVariableResolver’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-python.python’ wants API proposal ‘terminalShellType’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-python.vscode-python-envs’ wants API proposal ‘terminalShellType’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘github.copilot-chat’ wants API proposal ‘chatReadonlyPromptReference’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘ms-azuretools.vscode-azure-github-copilot’ wants API proposal ‘lmTools’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘vscjava.vscode-java-pack’ wants API proposal ‘lmTools’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘apidev.azure-api-center’ wants API proposal ‘chatParticipant’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Via ‘product.json#extensionEnabledApiProposals’ extension ‘apidev.azure-api-center’ wants API proposal ‘languageModels’ but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check ‘vscode.d.ts’) or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “chat." doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “mcp” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN SettingsEditor2: Settings not included in settingsLayout.ts: crashReporting.enabled, testRunner.config, cursorAuth.allowedTeamId
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “GitHub.copilot.manageExtension” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern "chat.
” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “mcp” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “GitHub.copilot.manageExtension” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN [ms-python.python]: Cannot register ‘python.venvPath’. This property is already registered.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “chat." doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “mcp” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “GitHub.copilot.manageExtension” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern "chat.
” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “mcp” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “GitHub.copilot.manageExtension” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN No search provider registered for scheme: file, waiting
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “chat." doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “mcp” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “GitHub.copilot.manageExtension” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern "chat.
” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “mcp” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “GitHub.copilot.manageExtension” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “chat." doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “mcp” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “GitHub.copilot.manageExtension” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern "chat.
” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “mcp” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “GitHub.copilot.manageExtension” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:12343 [Extension Host] Git installation not found.
Thf @ workbench.desktop.main.js:12343
workbench.desktop.main.js:55 ERR [Extension Host] (node:10616) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use Cursor --trace-deprecation ... to show where the warning was created)
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:12343 [Extension Host] (node:10616) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use Cursor --trace-deprecation ... to show where the warning was created)
Thf @ workbench.desktop.main.js:12343
workbench.desktop.main.js:55 WARN Settings pattern “chat." doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “mcp” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “GitHub.copilot.manageExtension” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:13258 Failed to get git telemetry attributes: Error: Git API not found
getGitAttributes @ workbench.desktop.main.js:13258
workbench.desktop.main.js:15042 Error getting git root Error: Git API not found
isRepoReadyForBackgroundComposer @ workbench.desktop.main.js:15042
workbench.desktop.main.js:55 WARN Settings pattern "chat.
” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “mcp” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55 WARN Settings pattern “GitHub.copilot.manageExtension” doesn’t match any settings
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:13074 [transport] Connect error in unary AI connect ConnectError: [deadline_exceeded] the operation timed out
at t (workbench.desktop.main.js:12375:457550)
at async Object.checkNumberConfig (workbench.desktop.main.js:585:88139)
at async workbench.desktop.main.js:13105:3935
at async n (workbench.desktop.main.js:13105:3694)
at async Mfo.maybeRefreshConfigInner (workbench.desktop.main.js:13105:3918)
at async Mfo.getLatestConfig (workbench.desktop.main.js:13105:3307) Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:55 WARN [ExtensionService] No inspect port found for LocalProcess pid: 10616
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:13074 [composer] Extension host became UNRESPONSIVE undefined Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:13074 [composer] IndexingProvider.getRepoInfo timed out Object
_log @ workbench.desktop.main.js:13074
workbench.desktop.main.js:13074 [composer] IndexingProvider.getRepoInfo timed out Object
_log @ workbench.desktop.main.js:13074
workbench.desktop.main.js:13074 [transport] Connect error in unary AI connect ConnectError: [unauthenticated] You must be a team member to access this resource
at t (workbench.desktop.main.js:12375:457550)
at async Object.getTeamCommands (workbench.desktop.main.js:585:88139)
at async vMo.loadTeamCommands (workbench.desktop.main.js:15030:2986) Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:15030 Failed to load team commands: ConnectError: [unauthenticated] You must be a team member to access this resource
at t (workbench.desktop.main.js:12375:457550)
at async Object.getTeamCommands (workbench.desktop.main.js:585:88139)
at async vMo.loadTeamCommands (workbench.desktop.main.js:15030:2986)
loadTeamCommands @ workbench.desktop.main.js:15030
workbench.desktop.main.js:13074 [transport] Connect error in unary AI connect ConnectError: [deadline_exceeded] the operation timed out
at t (workbench.desktop.main.js:12375:457550)
at async Object.checkNumberConfig (workbench.desktop.main.js:585:88139)
at async workbench.desktop.main.js:13105:3935
at async n (workbench.desktop.main.js:13105:3694)
at async Mfo.maybeRefreshConfigInner (workbench.desktop.main.js:13105:3918)
at async Mfo.getLatestConfig (workbench.desktop.main.js:13105:3307) Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:55 ERR [Extension Host] [otel.error] {“stack”:“OTLPExporterError: Bad Request\n\tat IncomingMessage. (c:\Program Files\cursor\resources\app\node_modules\@opentelemetry\otlp-exporter-base\build\src\transport\http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:531:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:90:21)”,“message”:“Bad Request”,“code”:“400”,“name”:“OTLPExporterError”,“data”:“{“error”:“Trace spans collection is not enabled for this user”}”}
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:12343 [Extension Host] [otel.error] {“stack”:“OTLPExporterError: Bad Request\n\tat IncomingMessage. (c:\Program Files\cursor\resources\app\node_modules\@opentelemetry\otlp-exporter-base\build\src\transport\http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:531:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:90:21)”,“message”:“Bad Request”,“code”:“400”,“name”:“OTLPExporterError”,“data”:“{“error”:“Trace spans collection is not enabled for this user”}”}
Thf @ workbench.desktop.main.js:12343

cursor ver:

Version: 2.2.44 (system setup)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
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

[transport] Connect error in unary AI connect ConnectError: [deadline_exceeded] the operation timed out
at t (workbench.desktop.main.js:12375:457550)
at async Object.checkNumberConfig (workbench.desktop.main.js:585:88139)
at async workbench.desktop.main.js:13105:3935
at async n (workbench.desktop.main.js:13105:3694)
at async Mfo.maybeRefreshConfigInner (workbench.desktop.main.js:13105:3918)
at async Mfo.getLatestConfig (workbench.desktop.main.js:13105:3307) Object

latest that I’ve got:

Error getting git root Error: Git API not found

Extension Host] [otel.error] {“stack”:“OTLPExporterError: Bad Request\n\tat IncomingMessage. (c:\Program Files\cursor\resources\app\node_modules\@opentelemetry\otlp-exporter-base\build\src\transport\http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:531:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:90:21)”,“message”:“Bad Request”,“code”:“400”,“name”:“OTLPExporterError”,“data”:“{“error”:“Trace spans collection is not enabled for this user”}”}

About that, I can’t find it in settings, I am using Windows 11 pro

Thanks for the extra info.

Option 1: Disable HTTP/2 via settings.json

  1. CTRL+Shift+P > Preferences: Open User Settings (JSON)
  2. Add: “cursor.general.disableHttp2”: true
  3. Restart Cursor

Option 2: Check extensions
Your errors show “Extension host became UNRESPONSIVE”, which could be the root cause:

  1. Run cursor --disable-extensions from your terminal
  2. If that helps, find the problematic extension: Settings > Extensions > try disabling them one by one (especially Java-related extensions)

Network Diagnostics: Open Cursor settings Ctrl+Shift+J > Network > Run Diagnostics and send the results.

@Casey_Salmon: Same steps for you. Your HTTP/2 diagnostics show Protocol: h2, Result: true, but the timeouts point to an extension host issue.

Let me know what helps.

my option 1 is already set like that, i also tried adjusting to http 1.0, 1.1 and 2 but i get the same connection error. I put the error into the cursor and it said this happens and its a known issue lol. It gets so frustrating when your running a fix on something and it errors out 9 out of 10 times and your unsure what wasnt done right…. you wind up chasing errors all over the place.

Tried already but didn’t work

Everything is a ok and I weird foo response on Chat and Agent

Chat:

[2025-12-28T22:15:56.903Z] Starting streamSSE
[2025-12-28T22:15:58.010Z] Response: ‘foo’ in 1103ms
[2025-12-28T22:15:59.085Z] Response: ‘foo’ in 1075ms
[2025-12-28T22:16:00.318Z] Response: ‘foo’ in 1233ms
[2025-12-28T22:16:01.317Z] Response: ‘foo’ in 999ms
[2025-12-28T22:16:02.317Z] Response: ‘foo’ in 1000ms
[2025-12-28T22:16:03.318Z] Result: true

Agent:

[2025-12-28T22:15:56.906Z] Starting stream
[2025-12-28T22:15:56.907Z] Pushing first message
[2025-12-28T22:15:58.135Z] Response: ‘foo’ in 1228ms
[2025-12-28T22:15:58.645Z] Pushing next message
[2025-12-28T22:15:59.034Z] Response: ‘foo’ in 899ms
[2025-12-28T22:15:59.534Z] Pushing next message
[2025-12-28T22:15:59.834Z] Response: ‘foo’ in 800ms
[2025-12-28T22:16:00.345Z] Pushing next message
[2025-12-28T22:16:00.634Z] Response: ‘foo’ in 800ms
[2025-12-28T22:16:01.140Z] Pushing next message
[2025-12-28T22:16:01.434Z] Response: ‘foo’ in 800ms
[2025-12-28T22:16:01.434Z] Result: true

Marketplace:

[2025-12-28T22:15:56.897Z] Host: marketplace.cursorapi.com
[2025-12-28T22:15:56.949Z] Response in 52ms
[2025-12-28T22:15:56.950Z] Response: 200
[2025-12-28T22:15:56.950Z] Response Type: cors
[2025-12-28T22:15:56.950Z] Server: null
[2025-12-28T22:15:56.950Z] Result: OK in 53ms

Ping:

[2025-12-28T22:15:56.901Z] Sending ping 1
[2025-12-28T22:15:58.011Z] Response: ‘ping’ in 1110ms
[2025-12-28T22:15:58.011Z] Sending ping 2
[2025-12-28T22:15:58.339Z] Response: ‘ping’ in 328ms
[2025-12-28T22:15:58.339Z] Sending ping 3
[2025-12-28T22:15:58.593Z] Response: ‘ping’ in 254ms
[2025-12-28T22:15:58.593Z] Sending ping 4
[2025-12-28T22:15:58.918Z] Response: ‘ping’ in 325ms
[2025-12-28T22:15:58.918Z] Sending ping 5
[2025-12-28T22:15:59.159Z] Response: ‘ping’ in 241ms
[2025-12-28T22:15:59.159Z] Result: true

API:

[2025-12-28T22:15:56.900Z] Start
[2025-12-28T22:15:57.968Z] Result: true

SSL:

[2025-12-28T22:15:56.898Z] Start
[2025-12-28T22:15:57.859Z] URL: https://api2.cursor.sh/
[2025-12-28T22:15:57.859Z] Status: 200
[2025-12-28T22:15:57.859Z] IP: 54.243.161.175
[2025-12-28T22:15:57.859Z] Issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
[2025-12-28T22:15:57.859Z] Name: api2.cursor.sh
[2025-12-28T22:15:57.859Z] AltName: DNS:api2.cursor.sh, DNS:prod.authentication.cursor.sh, DNS:*.api2.cursor.sh
[2025-12-28T22:15:57.859Z] DNS Time: 14ms
[2025-12-28T22:15:57.859Z] Connect Time: 250ms
[2025-12-28T22:15:57.859Z] TLS Time: 555ms
[2025-12-28T22:15:57.859Z] Result: true in 961ms

DNS:

[2025-12-28T22:15:56.938Z] Host: api2.cursor.sh
[2025-12-28T22:15:56.938Z] Servers: 192.168.1.1
[2025-12-28T22:15:56.938Z] Resolved to 54.243.161.175 in 25ms
[2025-12-28T22:15:57.040Z] Resolved to 54.243.161.175 in 16ms
[2025-12-28T22:15:57.558Z] Resolved to 54.243.161.175 in 395ms
[2025-12-28T22:15:57.877Z] Resolved to 54.243.161.175 in 127ms
[2025-12-28T22:15:58.004Z] Host: api2.cursor.sh
[2025-12-28T22:15:58.004Z] Servers: system
[2025-12-28T22:15:58.004Z] Resolved to 52.2.40.148, 3.230.99.27, 98.91.135.254, 100.52.131.34, 54.156.154.21, 44.219.131.80, 54.83.140.254, 50.16.161.49 in 39ms
[2025-12-28T22:15:58.005Z] Resolved to 52.2.40.148, 3.230.99.27, 98.91.135.254, 100.52.131.34, 54.156.154.21, 44.219.131.80, 54.83.140.254, 50.16.161.49 in 0ms
[2025-12-28T22:15:58.007Z] Resolved to 52.2.40.148, 3.230.99.27, 98.91.135.254, 100.52.131.34, 54.156.154.21, 44.219.131.80, 54.83.140.254, 50.16.161.49 in 1ms
[2025-12-28T22:15:58.017Z] Resolved to 52.2.40.148, 3.230.99.27, 98.91.135.254, 100.52.131.34, 54.156.154.21, 44.219.131.80, 54.83.140.254, 50.16.161.49 in 1ms
[2025-12-28T22:15:58.017Z] Result: true

Those are the logs in the Diagnostics, and everything is a ok on the tests

recent retry Request ID: 16958604-8db2-4efb-95d9-b9a57385dea1
ConnectError: [internal] Serialization error in aiserver.v1.StreamUnifiedChatRequestWithTools
at vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:12375:452121

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.

The Chat was using that a lot

That works. Thanks

i get the same error even though my connection is stable Request ID: 3f0aee38-940c-4d9e-999b-43d093298087
this are the logs Error in AI response: undefined ConnectError: [internal] Serialization error in aiserver.v1.StreamUnifiedChatRequestWithTools
at workbench.desktop.main.js:12375:452121Caused by: Error: invalid int 32: 4294967295
at RYn (workbench.desktop.main.js:441:32639)
at yza.int32 (workbench.desktop.main.js:442:12769)
at dFt (workbench.desktop.main.js:442:19803)
at Sza (workbench.desktop.main.js:442:18906)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at Yli.toBinary (workbench.desktop.main.js:441:34685)
at _za (workbench.desktop.main.js:442:19724)
at Sza (workbench.desktop.main.js:442:19004)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at boi.toBinary (workbench.desktop.main.js:441:34685)
at _za (workbench.desktop.main.js:442:19724)
at Sza (workbench.desktop.main.js:442:19004)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at lmi.toBinary (workbench.desktop.main.js:441:34685)
at _za (workbench.desktop.main.js:442:19724)
at Sza (workbench.desktop.main.js:442:18986)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at smi.toBinary (workbench.desktop.main.js:441:34685)
at _za (workbench.desktop.main.js:442:19724)
at Sza (workbench.desktop.main.js:442:18986)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at Rfi.toBinary (workbench.desktop.main.js:441:34685)
at _za (workbench.desktop.main.js:442:19724)
at Sza (workbench.desktop.main.js:442:19004)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at nfi.toBinary (workbench.desktop.main.js:441:34685)
at workbench.desktop.main.js:12375:452092
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] Error in AI response ConnectError: [internal] Serialization error in aiserver.v1.StreamUnifiedChatRequestWithTools
at workbench.desktop.main.js:12375:452121Caused by: Error: invalid int 32: 4294967295
at RYn (workbench.desktop.main.js:441:32639)
at yza.int32 (workbench.desktop.main.js:442:12769)
at dFt (workbench.desktop.main.js:442:19803)
at Sza (workbench.desktop.main.js:442:18906)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at Yli.toBinary (workbench.desktop.main.js:441:34685)
at _za (workbench.desktop.main.js:442:19724)
at Sza (workbench.desktop.main.js:442:19004)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at boi.toBinary (workbench.desktop.main.js:441:34685)
at _za (workbench.desktop.main.js:442:19724)
at Sza (workbench.desktop.main.js:442:19004)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at lmi.toBinary (workbench.desktop.main.js:441:34685)
at _za (workbench.desktop.main.js:442:19724)
at Sza (workbench.desktop.main.js:442:18986)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at smi.toBinary (workbench.desktop.main.js:441:34685)
at _za (workbench.desktop.main.js:442:19724)
at Sza (workbench.desktop.main.js:442:18986)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at Rfi.toBinary (workbench.desktop.main.js:441:34685)
at _za (workbench.desktop.main.js:442:19724)
at Sza (workbench.desktop.main.js:442:19004)
at Object.writeMessage (workbench.desktop.main.js:442:16670)
at nfi.toBinary (workbench.desktop.main.js:441:34685)
at workbench.desktop.main.js:12375:452092 Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:9994 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] Chat incomplete or aborted Object
_log @ workbench.desktop.main.js:13074
workbench.desktop.main.js:13074 [transport] Stream error reported from extension host ConnectError: [invalid_argument] Invalid request because prematurely ended stream
at szc.$endAiConnectTransportReportError (workbench.desktop.main.js:12375:456006)
at xBo._doInvokeHandler (workbench.desktop.main.js:13027:22831)
at xBo._invokeHandler (workbench.desktop.main.js:13027:22573)
at xBo._receiveRequest (workbench.desktop.main.js:13027:21335)
at xBo._receiveOneMessage (workbench.desktop.main.js:13027:20152)
at zLt.value (workbench.desktop.main.js:13027:18244)
at Ee._deliver (workbench.desktop.main.js:49:2962)
at Ee.fire (workbench.desktop.main.js:49:3283)
at Tvt.fire (workbench.desktop.main.js:12360:12156)
at MessagePort. (workbench.desktop.main.js:15027:18433) Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:15042 Error getting git root Error: Failed to execute git
isRepoReadyForBackgroundComposer @ workbench.desktop.main.js:15042
workbench.desktop.main.js:13074 [transport] Connect error in unary AI connect ConnectError: [unauthenticated] You are not authorized to use background agents in this team. Please contact your team admin.
at t (workbench.desktop.main.js:12375:457550)
at async Object.listBackgroundComposers (workbench.desktop.main.js:585:88139)
at async PMo.refreshBackgroundComposersInner (workbench.desktop.main.js:15042:34022) Object
error @ workbench.desktop.main.js:13074

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