Agents Hang in One Project Only

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In one specific project directory opened via Remote SSH, all Cursor AI agents (across different models) fail to respond. The chat shows “Taking longer than expected…” and never returns a response.

This issue is isolated to one project folder. If I open a different project on the same remote machine via SSH (local is MacBook, remote is Linux), agents work normally.

There is no .cursor directory in the affected project.

Steps to Reproduce

  1. Connect to remote machine via SSH in Cursor.
  2. Open project directory: <path-to-problem-project>
  3. Start a chat with any model (Sonnet, GPT, etc.)
  4. Submit a simple prompt (e.g., “hi”)
  5. Chat shows “Taking longer than expected…” and no response is returned.

Now:
6. Open a different project directory on the same remote machine.
7. Start a chat.
8. It works normally.

Expected Behavior

The agent should respond normally in all project directories.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.5.26
VSCode Version: 1.105.1
Commit: 7d96c2a03bb088ad367615e9da1a3fe20fbbc6a0
Date: 2026-02-26T04:57:56.825Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0

For AI issues: which model did you use?

Composer 1.5
GPT 5.3 Codex
Opus 4.6

For AI issues: add Request ID with privacy disabled

778bbd24-2488-43f6-bc0a-3aa9626f8909

Additional Information

  • Issue only occurs in one specific project directory.
  • No .cursor folder exists in the project.
  • Same remote machine.
  • Same SSH connection.
  • Same user.
  • Other projects work fine.

Does this stop you from using Cursor

Yes - Cursor is unusable

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the Bug Reports category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

Bug Report Template - Click to expand

Where does the bug appear (feature/product)?

  • Cursor IDE
  • Cursor CLI
  • Background Agent (GitHub, Slack, Web, Linear)
  • BugBot
  • Somewhere else…

Describe the Bug
A clear and concise description of what the bug is.


Steps to Reproduce
How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!


Expected Behavior
What is meant to happen here that isn’t working correctly?


Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)


Operating System

  • Windows 10/11
  • MacOS
  • Linux

Version Information

  • For Cursor IDE: Menu → About Cursor → Copy
  • For Cursor CLI: Run agent about in your terminal
IDE:
Version: 2.xx.x
VSCode Version: 1.105.1
Commit: ......

CLI:
CLI Version 2026.01.17-d239e66

For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)


For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…


Additional Information
Add any other context about the problem here.


Does this stop you from using Cursor?

  • Yes - Cursor is unusable
  • Sometimes - I can sometimes use Cursor
  • No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

Hey, thanks for the detailed report. Since the hang only happens in one specific project and other projects work fine over the same SSH connection, this is most likely a project indexing or project context issue, not a network issue.

A few things to try:

  1. Reindex the project: This has already helped other users with the same symptom (related thread).

  2. Test a subfolder: Try opening only a subfolder of the project to see if the issue is related to project size or specific files at the root level.

  3. Check for unusual files: Does this project have very large files, symlinks, or unusual directory structures compared to the working ones? Also check for a .cursorignore file or any MCP configs.

  4. Quick extension test: Since you’re using Remote SSH, try starting Cursor with extensions disabled to rule out extension issues:

    cursor --disable-extensions
    

    Then connect over SSH and open the same project.

  5. Disable HTTP/2 as an extra check: Add this to settings.json:

    "cursor.general.disableHttp2": true
    

    Then restart Cursor.

Let me know how it goes.

Thank you so much for a list of detailed steps for me to try. I will try them out soon to see if any of them fix the issue.

Although I would like to note that after I submitted the bug report, I downgraded to Cursor Version: 2.4.37 and the issue did not occur anymore.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.