Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Remote SSH Agent gets stuck on “Planning next moves” / “Taking longer than expected”. The remote extension host becomes UNRESPONSIVE before it ever opens the model stream. A brand-new chat with conversationLength 1 fails the same way. Upgrading from 3.21.18 to 3.23.23 did not fix it. Local windows on the same Mac are fine.
Steps to Reproduce
- Open a project over Remote SSH to a shared Linux login node.
- Set cursorAgentHost.remoteInferenceRoute to always (user settings and remote Machine settings), then Reload Window.
- Start a new Agent chat (not a long thread) and send a short message, model grok-4.7.
- UI stays on Planning next moves / Taking longer than expected for 40s+.
Logs for failed turns: Starting stream request, then never Initiating stream connect to agentn.global.api5.cursor.sh. No first token received within 32s, then agent.turn.simulated_thinking_timeout at 40s. Also Extension host became UNRESPONSIVE with extensionHostKind Remote.
Expected Behavior
Agent in a Remote SSH window should start streaming within a few seconds, the same as a local window. The remote extension host should open the model stream instead of hanging before the connect is even logged.
Operating System
MacOS
Version Information
IDE:
Version: 3.23.23
Also reproduced earlier the same day on 3.21.18
Remote cursor-server product version 3.23.23 (commit 2dac2428994fe34f12658d9ecad1541b98db2c00)
OS: macOS client, Linux remote (shared login node, load average about 13-18)
For AI issues: which model did you use?
grok-4.7
For AI issues: add Request ID with privacy disabled
6db2c0c7-ea34-4434-b736-52ce0d366de0 (new chat, conversationLength 1)
55324704-11d9-4cfc-a22e-a916fa0c3012 (retry of that new chat)
4eaa159f-6ddc-4cdf-a474-1571b02ba95b (older chat)
Additional Information
From the remote host, agent.api5.cursor.sh and agentn.global.api5.cursor.sh resolve and return HTTP 200 in under a second. api5.cursor.sh is NXDOMAIN from both the Mac and the remote host (no DNS record), so this is not a missing hosts entry.
This started after the cursor_agent_host change. Before that, Agent in this same SSH window was fast. Restarting the remote extension host does not keep it from hanging again. Successful turns on the same window still take 4-8s to first token.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor