~2hours ago sending anything to the agent chats results in “Planning next steps” for a while, then infinite “Reconnecting…”. Here are the devtools logs:
[transport] Stream connect error in extension host
{name: ‘ConnectError’, rawMessage: ‘Cancellation token requested for stream 1b7fa66e-310a-45ba-92de-df1c45d50cd6’, code: 13, metadata: {…}, details: Array(0), …}
cause
:
“Cancellation token requested for stream 1b7fa66e-310a-45ba-92de-df1c45d50cd6”
code
:
13
details
:
metadata
:
{}
name
:
“ConnectError”
rawMessage
:
“Cancellation token requested for stream 1b7fa66e-310a-45ba-92de-df1c45d50cd6”
[transport] Connect error in stream AI connect ConnectError: [internal] Cancellation token requested for stream 1b7fa66e-310a-45ba-92de-df1c45d50cd6
at wKd.$streamAiConnect (workbench.desktop.main.js:11431:29974)
at async workbench.desktop.main.js:637:32804
at async Object.next (workbench.desktop.main.js:33087:25870)
at async Object.run (workbench.desktop.main.js:33093:2113)
at async l (workbench.desktop.main.js:9096:3520)
at async Promise.allSettled (index 0)
at async hva.runInternal (workbench.desktop.main.js:9096:14980)
at async hva.run (workbench.desktop.main.js:9096:8930)
at async qyt.runAgentLoop (workbench.desktop.main.js:34196:57104)
at async jpc.streamFromAgentBackend (workbench.desktop.main.js:34245:7695)
at async jpc.getAgentStreamResponse (workbench.desktop.main.js:34245:8436)
at async FTe.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9170:14623)
at async Object.Ei [as onSubmit] (workbench.desktop.main.js:32994:3808)
at async workbench.desktop.main.js:32968:60273Caused by: Cancellation token requested for stream 1b7fa66e-310a-45ba-92de-df1c45d50cd6
Steps to Reproduce
Enter any chat
Send any message to an Agent
Operating System
Windows 10/11
Version Information
Cursor IDE 2.4.27
For AI issues: which model did you use?
Opus 4.6
For AI issues: add Request ID with privacy disabled
90cdb7bf-88fe-4799-95eb-2504c7547c51
Additional Information
I live in Russian Federation, use proxy and DPI bypass
Hey, thanks for the report and for digging deeper yourself. It’s great that you identified WSL as the source of the issue.
That’s an important find. We have a few known edge cases with WSL environments, especially around remote extensions and path resolution, but this specific issue with agent stream cancellation is new.
So the team can investigate properly, could you share a bit more:
Which WSL version are you using (WSL1 or WSL2)?
Which Linux distro are you using in WSL?
Do you have any extensions installed in the WSL environment? You can check in the Extensions view.
For now, the workaround is to work locally without the WSL connection, as you already found. I’ll pass this bug to the team along with your details.
Cursor stopped working even without WSL after I tried to send a request to Opus 4.6.
workbench.desktop.main.js:34043 [transport] Connect error in stream AI connect ConnectError: [internal] Cancellation token requested for stream 878eb9a6-e377-4b80-9888-0d82d0c836fe
at wKd.$streamAiConnect (workbench.desktop.main.js:11431:29974)
at async workbench.desktop.main.js:637:32804
at async Object.next (workbench.desktop.main.js:33087:25870)
at async Object.run (workbench.desktop.main.js:33093:2113)
at async l (workbench.desktop.main.js:9096:3520)
at async Promise.allSettled (index 0)
Caused by: Cancellation token requested for stream 878eb9a6-e377-4b80-9888-0d82d0c836fe