Cannot chat on SSH remote machine

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’m connecting via SSH through a VPN to a remote container. Currently, I’m unable to have AI conversations in “auto” mode, or use ctrl k, these two operations are loading forever. The network diagnostics for SSL and DNS keep running indefinitely without stopping. I’ve set up an SSH reverse tunnel to forward my local v2rayN service to the remote host. I’ve already tried several approaches—adding http_proxy and https_proxy environment variables to the cursor-server script, using proxychains4, and modifying /etc/resolv.conf—but none of them worked.

Steps to Reproduce

Connect Cursor to an SSH container under VPN
Ask anything in the chat

Expected Behavior

chat and ctrl k

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44 (system setup)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

For AI issues: which model did you use?

auto

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey @Fritz1149!

Thanks for reporting.

To start, can you try using the latest version from https://cursor.com/download, 2.3?

ok. now I use the latest cursor:

Version: 2.3.37 (system setup)
VSCode Version: 1.105.1
Commit: 6e2aa94f015240b4d1c7e5410b89593f9f53fef0
Date: 2026-01-15T06:56:06.990Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

Network diagnostics remains that SSL and DNS keep loading. Chat in auto mode keeps loading infinitely.

Developer tools screenshoots like :

Thanks @Fritz1149!

If DNS/SSL specifically are failing in your network diagnostics, one useful step can be to remove Cursor from the equation entirely and run those tests just from the command line on your remote machine.

echo "=== 1. DNS Resolution ===" && \
nslookup api2.cursor.sh && \
echo "" && \
echo "=== 2. TLS/SSL Certificate ===" && \
echo | openssl s_client -connect api2.cursor.sh:443 -servername api2.cursor.sh 2>/dev/null | openssl x509 -noout -subject -issuer -dates && \
echo "" && \
echo "=== 3. HTTPS Connectivity (HTTP/1.1) ===" && \
curl -sI https://api2.cursor.sh --max-time 10 | head -5 && \
echo "" && \
echo "=== 4. HTTP/2 Connectivity ===" && \
curl --http2 -sI https://api2.cursor.sh --max-time 10 2>&1 | grep -E "^HTTP|error" && \
echo "" && \
echo "=== 5. API Endpoint Test ===" && \
curl -s -o /dev/null -w "HTTP Status: %{http_code}, Time: %{time_total}s\n" https://api2.cursor.sh/aiserver.v1.HealthService/Unary -X POST -H "Content-Type: application/proto" --max-time 10

Can you let me know what the output is?

thanks for your reply. the output from remote terminal is:

=== 1. DNS Resolution ===
;; Got recursion not available from 10.96.0.10
;; Got recursion not available from 10.96.0.10
;; Got recursion not available from 10.96.0.10
Server: 10.96.0.10
Address: 10.96.0.10#53

api2.cursor.sh canonical name = api2geo.cursor.sh.
api2geo.cursor.sh canonical name = api2direct.cursor.sh.
Name: api2direct.cursor.sh
Address: 44.194.137.253
Name: api2direct.cursor.sh
Address: 100.50.253.249
Name: api2direct.cursor.sh
Address: 34.205.230.207
Name: api2direct.cursor.sh
Address: 35.173.28.245
Name: api2direct.cursor.sh
Address: 100.51.11.223
Name: api2direct.cursor.sh
Address: 107.23.166.42
Name: api2direct.cursor.sh
Address: 13.223.24.180
Name: api2direct.cursor.sh
Address: 100.51.225.64

=== 2. TLS/SSL Certificate ===
subject=CN = api2.cursor.sh
issuer=C = US, O = Amazon, CN = Amazon RSA 2048 M01
notBefore=Nov 12 00:00:00 2025 GMT
notAfter=Dec 11 23:59:59 2026 GMT

=== 3. HTTPS Connectivity (HTTP/1.1) ===
HTTP/2 200
date: Thu, 15 Jan 2026 08:41:10 GMT
content-type: text/plain
content-length: 136
vary: Origin

=== 4. HTTP/2 Connectivity ===
HTTP/2 200

=== 5. API Endpoint Test ===
HTTP Status: 200, Time: 0.670890s

Additional information: code auto-completion works fine; however, I can’t use the Tab key while editing code—it triggers the following error:

Snipaste_2026-01-15_16-46-12

Facing similar issue.

hey do you have any progress? I’m thinking about some substitute of cursor

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