Chat does not return any answer

Hi Cursor team,

I’ve encountered an issue multiple times where I input something into the chat, Cursor processes it, but then nothing happens. The chat input box (to ask a followup) just reappears without any response:

Last week, I recommended Cursor to a colleague. One of the first things he experienced was the same problem: he wrote a prompt, Cursor worked on it, but then the chat input reappeared without an answer.

This has been an issue for quite some time. I hoped it would be fixed in some of the releases, but since nothing has changed, I’m writing to report it.

For me this is the most “bugging” bug in Cursor! When this happens, I often can’t get Cursor to respond at all (followups do not return answers as well…).
I have to start a new chat and sometimes rephrase my prompt to hopefully get a result. Really annoying if I have a lot of context in my chat already -.-
(not even sure if these kind of requests count as fast-requests?)

Also: this kind of silent failure is the worst kind of behavior. An error message with some indication of what went wrong would be much better. Ideally, this issue should of course be fixed so that some kind of answer is always provided :slight_smile:

Here the version, but as mentioned - this has been an issue for me for many versions.

Version: 0.40.1
VSCode Version: 1.91.1
Commit: 58b91712431381a1b75817cd3437cee35dddcb30
Date: 2024-08-24T02:52:24.035Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.6.0

1 Like

For reference, I added some, possibly naive, brainstorming around the ‘silent failing’ dynamic in this post, hoping to get a good outcome for all involved etc:

I’m not sure though if the LLM providers count all such requests as successful or not.

I’m not sure where the ‘time out’ (if that’s what it is) occurs, either with the LLM provider response or within Cursor.

2 Likes

This has happen to me numerous times as well.

1 Like

Same for me today.
Before the update, things were smooth.

Version: 0.40.1
VSCode Version: 1.91.1
Commit: 58b91712431381a1b75817cd3437cee35dddcb30
Date: 2024-08-24T02:52:24.035Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19045

1 Like

Had a similar issue here: Asking questions in chat suddenly takes over 2-3 minutes per question - #2 by truell20

Unfortunately, no response from @truell20 after I provided all the details.

The annoying this about getting no response is that it still consumes credits, so if it happens 3-4 times a day and you retry the same question (which again fails), now you’re losing 10 credits a day for nothing :confused:

1 Like

Wasn’t sure if that actually counts as one of the fast-requests (never checked). But in that case it is of course even worse of an issue…

1 Like

One notice: This seems to happen particularly often with the long context mode.

1 Like

Update: Happens almost every time in long-context mode when adding @codebase - I mean really almost every time…

It just stops at “Gathering chunks using conversation history…”

image

and nothing more happens afterwards.

1 Like

we have the same problem.

2 Likes

Same here. On two different PC. Both running cursor Cursor 0.43 on Ubuntu 20.04 LTS.

Detail system:

Version: 0.43.6
VSCode Version: 1.93.1
Commit: a846435528b4b760494a836f96f0739889253530
Date: 2024-12-06T05:11:55.168Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Linux x64 5.15.0-127-generic

Is there a cure for this ? I paid 20 bucks for something I can’t use. Tried this on 0.45 and it did not work

Hey, do you see any errors in the AI panel, or in the developer tools when you try to send a message?

You can check the developer tools by running the Developer: Toggle Developer Tools command, and choosing the Console tab at the top!

1 Like

Only 2-3 minutes? I’d love to get that good of a response time. I’ve waited 15 -30 minutes because I tried different models and they ALL stopped responding. I wait and wait and wait all for it to not respond at all. Try another AI model and get the same results. I give up and come back the next day and it will work for an hour or two and then right back to the same old BS.

2workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:639 [composer] trying to add an action button that already exists, skipping
addActionButton @ workbench.desktop.main.js:639
workbench.desktop.main.js:645 InlineDiffService#handleDiffState: diff is not active when calling handleDiffState
handleDiffState @ workbench.desktop.main.js:645
workbench.desktop.main.js:965 [composer] ToolFormer: error in toolWrappedStream undefined
toolWrappedStream @ workbench.desktop.main.js:965
workbench.desktop.main.js:1918 [composer] Error in AI response: ConnectError: [canceled] This operation was aborted
at yhs.$streamAiConnect (workbench.desktop.main.js:2318:110714)
at async workbench.desktop.main.js:459:133880
at async p_t.toolWrappedStream (workbench.desktop.main.js:965:4404)
at async jC (workbench.desktop.main.js:591:4354)
at async yc.handleStreamComposer (workbench.desktop.main.js:922:2033)
at async vLt.streamResponse (workbench.desktop.main.js:591:13952)
at async dVt. (workbench.desktop.main.js:2976:872)
at async hVt. (workbench.desktop.main.js:2935:2413)
at async KR.processCodeBlocks (workbench.desktop.main.js:948:1926)
at async workbench.desktop.main.js:1918:21855
(anonymous) @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:1918
workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:639 [composer] trying to add an action button that already exists, skipping
addActionButton @ workbench.desktop.main.js:639
workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:639 [composer] trying to add an action button that already exists, skipping
addActionButton @ workbench.desktop.main.js:639
2workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:639 [composer] trying to add an action button that already exists, skipping
addActionButton @ workbench.desktop.main.js:639
2workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:2284 [Extension Host] Error: Start of the range is outside the file.
at o (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-always-local/dist/main.js:2:209309)
at t.changeModel (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-always-local/dist/main.js:2:210493)
at t.formatDiffHistory (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-always-local/dist/main.js:2:246758)
at async Promise.allSettled (index 0)
at async sHt.$getEverythingAllLocalProviderRunCommand (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:159:918486)
Lpr @ workbench.desktop.main.js:2284
2workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:639 [composer] trying to add an action button that already exists, skipping
addActionButton @ workbench.desktop.main.js:639
workbench.desktop.main.js:965 [composer] ToolFormer: error in toolWrappedStream undefined
toolWrappedStream @ workbench.desktop.main.js:965
workbench.desktop.main.js:1918 [composer] Error in AI response: ConnectError: [canceled] This operation was aborted
at yhs.$streamAiConnect (workbench.desktop.main.js:2318:110714)
at async workbench.desktop.main.js:459:133880
at async p_t.toolWrappedStream (workbench.desktop.main.js:965:4404)
at async jC (workbench.desktop.main.js:591:4354)
at async yc.handleStreamComposer (workbench.desktop.main.js:922:2033)
at async vLt.streamResponse (workbench.desktop.main.js:591:13952)
at async dVt. (workbench.desktop.main.js:2976:872)
at async hVt. (workbench.desktop.main.js:2935:2413)
at async KR.processCodeBlocks (workbench.desktop.main.js:948:1926)
at async workbench.desktop.main.js:1918:21855
(anonymous) @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:1918
workbench.desktop.main.js:965 [composer] ToolFormer: error in toolWrappedStream undefined
toolWrappedStream @ workbench.desktop.main.js:965
workbench.desktop.main.js:1918 [composer] Error in AI response: ConnectError: [canceled] This operation was aborted
at yhs.$streamAiConnect (workbench.desktop.main.js:2318:110714)
at async workbench.desktop.main.js:459:133880
at async p_t.toolWrappedStream (workbench.desktop.main.js:965:4404)
at async jC (workbench.desktop.main.js:591:4354)
at async yc.handleStreamComposer (workbench.desktop.main.js:922:2033)
at async vLt.streamResponse (workbench.desktop.main.js:591:13952)
at async dVt. (workbench.desktop.main.js:2976:872)
at async hVt. (workbench.desktop.main.js:2935:2413)
at async KR.processCodeBlocks (workbench.desktop.main.js:948:1926)
at async workbench.desktop.main.js:1918:21855
(anonymous) @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Error getting conversation summary: Error: invalid int 32: 2147483648
at lVe (workbench.desktop.main.js:447:65805)
at bgn.int32 (workbench.desktop.main.js:448:12013)
at Kre (workbench.desktop.main.js:448:19189)
at JRi (workbench.desktop.main.js:448:18292)
at Object.writeMessage (workbench.desktop.main.js:448:16061)
at Lwe.toBinary (workbench.desktop.main.js:447:67486)
at GRi (workbench.desktop.main.js:448:19110)
at JRi (workbench.desktop.main.js:448:18390)
at Object.writeMessage (workbench.desktop.main.js:448:16061)
at jwe.toBinary (workbench.desktop.main.js:447:67486)
updateComposerSummaryIfOutdated @ workbench.desktop.main.js:1918
workbench.desktop.main.js:965 [composer] ToolFormer: error in toolWrappedStream undefined
toolWrappedStream @ workbench.desktop.main.js:965
workbench.desktop.main.js:591 ConnectError: [invalid_argument] Invalid request because prematurely ended stream
at yhs.$endAiConnectTransportReportError (workbench.desktop.main.js:2318:111488)
at zmi.S (workbench.desktop.main.js:4948:42054)
at zmi.Q (workbench.desktop.main.js:4948:41832)
at zmi.M (workbench.desktop.main.js:4948:40920)
at zmi.L (workbench.desktop.main.js:4948:40021)
at K9e.value (workbench.desktop.main.js:4948:38813)
at M.B (workbench.desktop.main.js:57:748)
at M.fire (workbench.desktop.main.js:57:967)
at _X.fire (workbench.desktop.main.js:2300:10356)
at l.onmessage (workbench.desktop.main.js:4993:11916)
streamResponse @ workbench.desktop.main.js:591
workbench.desktop.main.js:1918 [composer] Error in AI response: ConnectError: [invalid_argument] Invalid request because prematurely ended stream
at yhs.$endAiConnectTransportReportError (workbench.desktop.main.js:2318:111488)
at zmi.S (workbench.desktop.main.js:4948:42054)
at zmi.Q (workbench.desktop.main.js:4948:41832)
at zmi.M (workbench.desktop.main.js:4948:40920)
at zmi.L (workbench.desktop.main.js:4948:40021)
at K9e.value (workbench.desktop.main.js:4948:38813)
at M.B (workbench.desktop.main.js:57:748)
at M.fire (workbench.desktop.main.js:57:967)
at _X.fire (workbench.desktop.main.js:2300:10356)
at l.onmessage (workbench.desktop.main.js:4993:11916)
(anonymous) @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Error getting conversation summary: Error: invalid int 32: 2147483648
at lVe (workbench.desktop.main.js:447:65805)
at bgn.int32 (workbench.desktop.main.js:448:12013)
at Kre (workbench.desktop.main.js:448:19189)
at JRi (workbench.desktop.main.js:448:18292)
at Object.writeMessage (workbench.desktop.main.js:448:16061)
at Lwe.toBinary (workbench.desktop.main.js:447:67486)
at GRi (workbench.desktop.main.js:448:19110)
at JRi (workbench.desktop.main.js:448:18390)
at Object.writeMessage (workbench.desktop.main.js:448:16061)
at jwe.toBinary (workbench.desktop.main.js:447:67486)
updateComposerSummaryIfOutdated @ workbench.desktop.main.js:1918
workbench.desktop.main.js:965 [composer] ToolFormer: error in toolWrappedStream undefined
toolWrappedStream @ workbench.desktop.main.js:965
workbench.desktop.main.js:1918 [composer] Error in AI response: ConnectError: [canceled] This operation was aborted
at yhs.$streamAiConnect (workbench.desktop.main.js:2318:110714)
at async workbench.desktop.main.js:459:133880
at async p_t.toolWrappedStream (workbench.desktop.main.js:965:4404)
at async jC (workbench.desktop.main.js:591:4354)
at async yc.handleStreamComposer (workbench.desktop.main.js:922:2033)
at async vLt.streamResponse (workbench.desktop.main.js:591:13952)
at async dVt. (workbench.desktop.main.js:2976:872)
at async hVt. (workbench.desktop.main.js:2935:2413)
at async KR.processCodeBlocks (workbench.desktop.main.js:948:1926)
at async workbench.desktop.main.js:1918:21855
(anonymous) @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:1918