This is the error I am getting: Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006).
This is the extension I have used and followed: Remote - Tunnels - Visual Studio Marketplace
It works on VSCode but I get the error message with Cursor. I have perused the existing bug reports and I haven’t found this one logged yet, apologies if I overlooked one.
Hi @ayanan1020asu
What version of Cursor are you using?
Also, please provide your log data by following this instruction:
Just a note, SSH currently works only on macOS and Linux
I’m experiencing the same issue: I am unable to connect to a remote server using the Remote-Tunnels extension. I can successfully connect to the server using VSCode, but the problem only occurs with Cursor.
FYI, I can connect to the same server using Remote-SSH both with Cursor and VSCode.
The remote server is Linux-based.
My system info:
Version: 0.42.3
VSCode Version: 1.93.1
Commit: 949de58bd3d85d530972cac2dffc4feb9eee1e40
Date: 2024-10-16T17:56:07.754Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631
I also found this line in my remoteTunnelService.log file:
2024-10-17 20:28:20.543 [error] Missing ‘tunnelApplicationConfig’ or ‘tunnelApplicationName’ in product.json. Remote tunneling is not available.
@deanrie
Try reinstalling the extension, and if that doesn’t work, reinstall Cursor following this guide:
Hi same here, reinstalling cursor on Mac did not help.
I am trying connect to vscode server with cursor as described here Remote Tunnels
Thanks
ok so I reply to my self
on linux server needs to be downloaded https://api2.cursor.sh/updates/download-latest?os=cli-alpine-x64 and run ./cursor tunnel then one can connect from cursor installed on client
1 Like
@deanrie I tried re-installing the extension and then Cursor using the instructions you provided, but none of them solved the problem. I can still use VSCode to Remote-Tunnel to the same server, but cannot do it with Cursor! I’d appreciate any further guidance to address this issue.
@xpokor02 As far as I understood, you installed something on the SERVER that addressed the problem. I’m not sure I have this option as installating software on our computing cluster is only managed by admins. Also, I’m not sure whether the file you provided matches our cluster’s settings. Could you please provide some info on what the package you installed is and what it does?
Hi ,
Yes as I understand it, cursor has its own version of “vscode server” so to be able to use tunnel you need “cursor server and cursor client”
May I know if I can tunnel to a windows machine?