Agent Execution Timed Out on Remote SSH — Everything Else Works Fine

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The Cursor Agent consistently times out with deadline_exceeded on my remote SSH machine. File editing, terminal, and code navigation all work perfectly — only the Agent fails. The Agent is working fine on the local. I tried reinstalling cursor, tried removing .cursor-server and .cursor directory on the remote but none of this is working.

Error:

{"error":"ERROR_CUSTOM","details":{"title":"Agent Execution Timed Out","detail":"The agent execution provider did not respond in time. This may indicate the extension host is not running or is unresponsive.","isRetryable":false,"shouldShowImmediateError":true,"additionalInfo":{},"buttons":[{"label":"Reload Window","reloadWindow":{}}],"planChoices":[]}}
Agent Execution Timed Out [deadline_exceeded]

Request IDs:

  • 07e60203-acde-49ca-ab43-24f054f4fd35
  • 21ae1d81-6fe8-4f63-bccc-7f93e32e6f18

Steps to Reproduce

  • Cursor version: 2.6.19 (commit 224838f96445be37e3db643a163a817c15b36060)
  • Remote OS: Ubuntu (AWS SageMaker instance)
  • Connection type: Remote-SSH
  • Home directory: Mounted on Amazon FSx (NFS)

Expected Behavior

The AI agent should work fine as I have PRO version.

Screenshots / Screen Recordings

Operating System

Linux

Version Information

  • Cursor version: 2.6.19 (commit 224838f96445be37e3db643a163a817c15b36060)

For AI issues: add Request ID with privacy disabled

Request IDs:

  • 0ad2bca9-2429-4a88-b5e0-0737a4052b3b
  • 21ae1d81-6fe8-4f63-bccc-7f93e32e6f18

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the detailed report with the request ID and environment details. That really helps.

This is a known issue. Cursor Agent uses a sandbox preflight check that doesn’t work well on NFS-mounted directories, like Amazon FSx in your case. The check times out, the handler doesn’t get registered, and you end up seeing deadline_exceeded.

Workaround: try opening the project from a local path on the remote machine, not from your NFS-mounted home. For example:

  1. Copy the project to /tmp/myproject or another directory on the SageMaker instance’s local disk
  2. Open that path via Remote SSH in Cursor

This avoids the issue because the sandbox preflight works fine on a local filesystem.

The team is aware of this NFS scenario, and your report helps with prioritization. There’s no timeline yet, but we’re tracking it.

Related thread for context:

Let me know if the local path workaround helps.

Thanks for the response, The workaround does work, but it’s not sustainable for a shared multi-instance workflow. I don’t think this is purely an NFS limitation. I’d like to point out few things -

Two reasons:

  1. It was working perfectly for me 2 days ago on the exact same setup — same instance, same FSx-mounted home directory, same project path.
  2. My colleagues are actively using Cursor Agent right now on the same machine, with their home directories also mounted on the same FSx filesystem.

This suggests the issue is specific to my user session or account, not a blanket NFS incompatibility. Something changed on your backend side in the last 2 days that broke it for me specifically.

Could you investigate what changed for my account around that time? The Request IDs from my original post should help narrow it down:

  • 0ad2bca9-2429-4a88-b5e0-0737a4052b3b

  • 21ae1d81-6fe8-4f63-bccc-7f93e32e6f18

1 Like

Good point. If your teammates are working on the same FSx mount right now, and it was working for you 2 days ago, then NFS alone is probably not the cause. Sorry for the quick conclusion.

A few things that can help narrow it down:

  1. Check the cursor-server version on the remote machine:

    ~/.cursor-server/bin/*/cursor-server --version
    

    Ask your teammates to run the same command. It’d be useful to see if the commit hashes match.

  2. Check if there are any stuck processes from previous sessions:

    ps aux | grep cursor-server
    

    If you see old ones, kill them before reconnecting.

  3. If the first two don’t help, remove cursor-server and reconnect:

    rm -rf ~/.cursor-server
    
  4. Did Cursor update on your local machine in the last 2 days? When the client updates, it downloads a new cursor-server version to the remote. If your teammates are on an older client version, they might have a different server, which would explain the difference.

Also, for NFS environments, increasing the connection timeout can help:

"remote.SSH.connectTimeout": 120

I told the team this doesn’t look like a general NFS issue, and is more likely a regression or a session-specific bug. Let me know what you find. It’ll help narrow down the cause.

Hi, the workaround of moving the project folder to an instance-specific directory isn’t working either now. I need a prompt solution since I’m already using the Pro version. If this issue continues, I won’t be able to keep using Cursor.

Request ID: d7c2c73d-317d-4be8-8b22-5ab225e04052

The Cursor tool has become completely unusable despite my active membership. I’m currently unable to use it at all. Please assist in resolving this issue as soon as possible.

Hey, I can see the situation got worse. That’s frustrating that even the workaround with a local path stopped helping. To keep digging, I really need the diagnostics I asked for in my previous message. Without them it’s hard to find the root cause, especially since other users on the same server are working fine.

Can you run these commands on the remote machine and share the output?

  1. Cursor server version (and ask one of your coworkers to run the same command so we can compare):
~/.cursor-server/bin/*/cursor-server --version
  1. Stuck processes:
ps aux | grep cursor-server
  1. Extension host logs:
ls -lt ~/.cursor-server/data/logs/ | head -20

If there are any stuck processes, kill them with kill -9 <PID>, then delete cursor-server completely and reconnect:

rm -rf ~/.cursor-server

Also, what version of Cursor is installed on your coworker’s local machine? If their client is on an older version, that could explain why it works for them but not for you, since the client installs its own cursor-server version on the remote machine when it connects.

Let me know what you get from the diagnostics and we’ll sort it out.

Hey @Pranav_Gaikwad!

The agent execution timeout on Remote SSH has been addressed in a recent Cursor update. Updating to the latest version should resolve this.