Describe the Bug
There is a persistent issue where the Codebase Indexing feature fails to use the configured proxy settings correctly when operating in a Remote SSH environment. This issue does not affect the integrated Chat feature, which uses the same proxy settings successfully. This indicates a discrepancy in the networking implementation between different components of the Cursor extension.
Steps to Reproduce
On a Windows 11 host machine, run a proxy client (e.g., Clash) listening on 127.0.0.1:7890.
In the LOCAL USER settings.json on the Windows host, add the following setting to enable automatic proxy forwarding to the remote host: “http.proxy”: “http://127.0.0.1:7890”
Connect to a remote Linux server using the Remote - SSH extension in Cursor.
Open any project folder on the remote server.
Observe the Chat and Codebase Indexing features.
Expected Behavior
Both the Chat and the Codebase Indexing features should successfully connect to their respective backend services through the automatically tunneled proxy.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.1.6 (user setup)
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:20:02.577Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100
Additional Information
This appears to be a bug in how the Indexing feature’s networking stack handles proxy configurations in a remote context.
The network path is open: The fact that the Chat works proves that the SSH environment can successfully connect back to the host’s proxy. The issue is specific to the Indexing feature.
Firewalls were ruled out: The issue persists even after completely disabling the Windows Defender Firewall and all third-party antivirus/firewall software on the host machine.
SSL verification is not the cause: Setting “http.proxyStrictSSL”: false in the remote settings does not solve the issue. The error is a more fundamental Failed to establish a socket connection.
Does this stop you from using Cursor
No - Cursor works, but with this issue
Summary of the Bug:
-
When running Cursor on a local Windows project, both Chat and Codebase Indexing work perfectly with a proxy set in the settings (
http.proxy). -
When running Cursor connected to a remote Linux server (via Remote - SSH), with the exact same proxy settings, the Chat feature continues to work, but the Codebase Indexing feature fails to connect to the proxy.
The issue is not with the proxy, the network, or the firewall, as the Chat feature works perfectly under the same conditions. The bug is specific to the Codebase Indexing feature’s networking stack, which fails to handle proxied connections correctly only when in a remote (SSH/WSL) context.

