Hey, this is a known issue the team is tracking. Your report with the specific paste or file reference trigger is really helpful for narrowing it down.
I see you already tried switching HTTP/2, HTTP/1,1, and HTTP/1,0 settings, so we can skip that. A couple things to try:
- Re-index: Cursor Settings (not VS Code settings) > Indexing > Resync Index. This has fixed similar hangs for some users.
- Empty folder test: File > Open Folder > pick an empty directory, start a new chat, paste the same block of code. If it works there, the issue might be tied to something in your project index.
Also, next time it gets stuck, can you grab a Request ID? Click the context menu top-right of the chat > Copy Request ID. That lets us trace what is happening on the backend.
Related thread: Cursor spinner / “Taking longer than expected…” state hangs forever during file-write/edit operation
Let me know how it goes.