Taking longer than expected with SSH and VPN

Describe the Bug

taking longer than expected

Steps to Reproduce

Hi everyone,

I am a CS undergraduate from China currently in an internship, and my workflow is heavily dependent on using Cursor via SSH to connect to internal company instances. I am facing a critical issue where I consistently receive the “Taking longer than expected” error about 90% of the time.

Current Environment:

Local: Windows 11

Remote: Linux (Kernel 5.4)

Connection: Local → VPN → SSH Tunnel → Internal Instance

Cursor Version: Downgraded to v2.6.11, but the issue persists.

Network: Network check passes, and I have forced HTTP/1.1 after disabling HTTP/2.I must use a VPN (Mainland China location).

The Problem:
I can successfully open folders and browse the file tree via SSH, but I cannot write code or trigger any AI features. The editor feels “frozen” or disconnected even though the file system is accessible. Local development on my Windows machine works perfectly fine.

A frequent error pops up in my terminal:
“Terminal sandbox is not supported on Linux kernel 5.4. Kernel 6.2 or later is required for sandboxing. See the documentation for more details.”

I really need to get this working for my internship tasks. Any advice would be life-saving.

Thank you in advance!

Operating System

Linux

Version Information

Version: 2.6.11 (user setup)
VSCode Version: 1.105.1
Commit: 8c95649f251a168cc4bb34c89531fae7db4bd990
Date: 2026-03-03T18:57:48.001Z
Build Type: Stable
Release Track: Default
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

the all

Does this stop you from using Cursor

No - I can not work without cursor.If the problem can not be fixed,I must try codex or other IDE

I have similar problems in 2.6.12 Windows 10 64bit:

  • keeps disconnecting from a remote host (modern Linux) all the time (standard VSCode remote via SSH and VSCode server), so nothing works.
  • Also agent hangs in “taking longer than expected” (not sure if it’s only because of the SSH disconnects)

EDIT: Downgrading to 2.5.26 (latest 2.5) seems to make the problem disappear.

Problematic version:

Working version:

The problem has been solved since that I tireid Http//2 instead of Http//1.1.

Hi there! Glad you were able to figure it out.

To clarify for anyone finding this thread later: the HTTP Compatibility Mode setting (Cursor Settings > Network) controls whether Cursor uses HTTP/2 or HTTP/1.1 to communicate with our API servers.

The right setting depends on your specific network environment – some VPNs and proxies handle HTTP/2 better, others handle HTTP/1.1 better. If you’re experiencing “Taking longer than expected” errors, it’s worth trying both settings to see which one works for your setup.

You can also run Cursor Settings > Network > Run Diagnostic to check for proxy buffering or DNS issues.

Best,
Mohit

Hey there,
Thank you for the detailed version comparison. We’re aware of some SSH/remote stability regressions in the 2.6.x series and are actively tracking them. If the issue returns on newer versions, please let us know with a request ID (how to find it) so we can trace the specific failure.

Best,
Mohit

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