Open ItamarChinn opened 9 months ago
Yes, I second this. Also, it seems that currently Cursor turns off / doesn't have the builtin Microsoft extension leading to some confusion related to this, see also: https://github.com/microsoft/vscode-azure-account/issues/897#issuecomment-1981727943
An update on this would be really helpful. The ability to connect to tunnels and use the Microsoft account plays a significant role in the workflow for many of us.
Agree. Must have for me
Commenting for visibility! Same requirement to connect to be able to connect to a Microsoft Azure account .
This is shipped in 0.35.0! https://changelog.cursor.sh/#035---default-on-cursor-prediction-remote-tunnels--more-robust-ssh
Thanks for the update! It seems that I'm still unable to use my Microsoft account to connect to a remote tunnel. Also, the Microsoft extension is not enabled/installed as far as I can tell. Curious to see if others have the same problem.
Should a new issue be opened for this @arvid220u? Thanks in advance!
Hmm, my apologies, let me reopen! @Sanger2000 for debugging
This is shipped in 0.35.0! https://changelog.cursor.sh/#035---default-on-cursor-prediction-remote-tunnels--more-robust-ssh
do these work on all OS's or lacking like remote SSH?
0.35.1 on MacOS:
code tunnel spawn /Applications/Cursor.app/Contents/Resources/app/bin/cursor-tunnel ENOENT
cursor tunnel spawn /Applications/Cursor.app/Contents/Resources/app/bin/cursor-tunnel ENOENT
how to serve a tunnel?
user in cursor ❯ cursor tunnel
spawn c:\Users\user\AppData\Local\Programs\cursor\bin\cursor-tunnel.exe ENOENT
@arvid220u Any update on this? https://github.com/microsoft/vscode-azure-account/issues/897
Does cursor support code-tunnelling like VS code
Is there any update on this?
Any plans for this, cant login to azure
well this is disappointing. guess its still a problem and we cannot use the Azure tools in cursor... boo!
I am getting this error when I want to connect to a remote Tunnel:
commit:a4f99b7dfb14460cb0bcebd9f6ac7ca158217920/server-win32-x64/stable: 404 Not Found
2024-08-26 12:36:43.468 [info] Resolving tunnel+name
2024-08-26 12:36:43.476 [info] Creating new tunnel proxy server
2024-08-26 12:36:44.808 [info] [proxy] Found tunnel (ID=silent-dog-50h4kbb, Cluster=uks1)
2024-08-26 12:36:44.809 [info] Remote resolution completed
2024-08-26 12:36:47.452 [warning] [server] Error installing server: error requesting https://update.code.visualstudio.com/commit:a4f99b7dfb14460cb0bcebd9f6ac7ca158217920/server-win32-x64/stable: 404 Not Found
2024-08-26 12:36:47.453 [error] [proxy] [connection.0] error setting up websocket: Error: StatusError(StatusError { url: "https://update.code.visualstudio.com/commit:a4f99b7dfb14460cb0bcebd9f6ac7ca158217920/server-win32-x64/stable", status_code: 404, body: "Not Found" })
2024-08-26 12:36:48.240 [info] Resolving tunnel+name
2024-08-26 12:36:48.265 [info] Resolving tunnel+name
2024-08-26 12:36:49.115 [info] Found tunnel (ID=silent-dog-50h4kbb, Cluster=uks1)
2024-08-26 12:36:49.132 [info] Found tunnel (ID=silent-dog-50h4kbb, Cluster=uks1)
VS Code is working perfectly fine with that tunnel.
hi, there me too, i can't acess tunnel and ssh
I would love to see this fixed as well, specifically so I can use Azure extensions in Cursor.
Cursor is awesome. This is just the last detail for me to make it 10/10. Currently I switch to vscode purely for azure tools and deploying.
Fix azure please
It looks like Cursor connects to the tunnel just fine, but then attempts to install the VSCode server from an invalid URL: https://update.code.visualstudio.com/commit:63dae81aea2c3fc079420fe72578a8eef26ba870/server-linux-x64/stable
The same issue has been reported for Dev Containers as well: #1882
Second this ^^ Would love to use tunnels with Cursor, but I'm running into the same error :/
yes please fix the issue
+1 running into the same error -- would be great to have this feature!
Error installing server: error requesting https://update.code.visualstudio.com/commit:63dae81aea2c3fc079420fe72578a8eef26ba870/server-linux-x64/stable: 404 Not Found
Same issue with Remote Tunnels, really essential feature for my usage
Would be nice to get an update on this. For clarity I am an "business" class seat customer.
I had the same issue and now solved it by switching from
plugin to
I had the same issue and now solved it by switching from
plugin to
This unfortunately doesn't resolve the Remote - Tunnels issue for me
Hopefully we can have remote tunnel support added soon... I understand the reason why cursor team wants to build their own fork of VS code, but please also support all functionalities of VS code. This feature could be important to a lot of devs
Just to add in another data point in hope this is useful to devs:
I see the following error when I launch code tunnel
on server and try to connect using cursor on my client device:
[2024-10-14 16:04:45] error [rpc.3] Error installing server: error requesting https://update.code.visualstudio.com/commit:c499aee5f16e67815c7dc795ff338dc8ab3e07f0/server-linux-x64/stable: 404 Not Found
code
version on server:
$ code --version
1.94.1
e10f2369d0d9614a452462f2e01cdc4aa9486296
x64
cursor
version on client:
$ cursor --version
0.42.2
c499aee5f16e67815c7dc795ff338dc8ab3e07f0
arm64
I will be glad to help with any other info that may help debugging.
I'm seeing the same error reported in previous threads. This particular lack of functionality is becoming increasingly problematic that I had to abandon cursor altogether now. It'd be great to get a fix.
Same issues here. From Cursor trying to connect to the same server I get the following:
[2024-10-17 20:30:33] info [rpc.4] Checking /home/jupyter/.vscode/cli/servers/Stable-949de58bd3d85d530972cac2dffc4feb9eee1e40/log.txt and /home/jupyter/.vscode/cli/servers/Stable-949de58bd3d85d530972cac2dffc4feb9eee1e40/pid.txt for a running server...
[2024-10-17 20:30:33] error [rpc.4] Error installing server: error requesting https://update.code.visualstudio.com/commit:949de58bd3d85d530972cac2dffc4feb9eee1e40/server-linux-x64/stable: 404 Not Found
But from VSCode, I'm getting the following message / commit ID
[2024-10-17 20:34:07] info [rpc.5] Checking /home/jupyter/.vscode/cli/servers/Stable-384ff7382de624fb94dbaf6da11977bba1ecd427/log.txt and /home/jupyter/.vscode/cli/servers/Stable-384ff7382de624fb94dbaf6da11977bba1ecd427/pid.txt for a running server...
Looks like Cursor's trying to update CLI to a non-existent version on the server
For anyone willing to do some manual setup, I got it working with these steps (Remote Tunnels v.1.5.2, Cursor v.0.42.2 commit c499aee5f16e67815c7dc795ff338dc8ab3e07f0, VSCode v1.91.1 (commit f1e16e1e6214d7c44d078b1f0607b2388f29d729)):
code tunnel
available at the remote machine (Using the 'code' CLI. code --version
should be the same or similar version to the one noted in step 1.https://cursor.blob.core.windows.net/remote-releases/${version}-${commit}/vscode-reh-${os}-${arch}.tar.gz
In my setup this became
wget https://cursor.blob.core.windows.net/remote-releases/0.42.2-c499aee5f16e67815c7dc795ff338dc8ab3e07f0/vscode-reh-linux-x64.tar.gz
export CURSOR_COMMIT=c499aee5f16e67815c7dc795ff338dc8ab3e07f0
mkdir -p ~/.vscode/cli/servers/Stable-$CURSOR_COMMIT/server/
tar -xzvf vscode-reh-linux-x64.tar.gz --strip-components=1 -C ~/.vscode/cli/servers/Stable-$CURSOR_COMMIT/server/
cp ~/.vscode/cli/servers/Stable-$CURSOR_COMMIT/server/bin/cursor-server ~/.vscode/cli/servers/Stable-$CURSOR_COMMIT/server/bin/code-server
code tunnel
and follow instructionscode tunnel --log debug
to see which files it's trying to open, because it seems the server path changes regulary.Thanks! @AITechTim, can confirm that this works on different cursor version (my version is 0.42.3 and commit 949de58bd3d85d530972cac2dffc4feb9eee1e40)
For anyone willing to do some manual setup, I got it working with these steps (Remote Tunnels v.1.5.2, Cursor v.0.42.2 commit c499aee5f16e67815c7dc795ff338dc8ab3e07f0, VSCode v1.91.1 (commit f1e16e1e6214d7c44d078b1f0607b2388f29d729)):
- On your local cursor menu go to Help -> About and copy Version, VSCode Version and Commit
- Have
code tunnel
available at the remote machine (Using the 'code' CLI.code --version
should be the same or similar version to the one noted in step 1.- Download the correct cursor release via this URL
https://cursor.blob.core.windows.net/remote-releases/${version}-${commit}/vscode-reh-${os}-${arch}.tar.gz
In my setup this became
wget https://cursor.blob.core.windows.net/remote-releases/0.42.2-c499aee5f16e67815c7dc795ff338dc8ab3e07f0/vscode-reh-linux-x64.tar.gz
- Run the following commands
export CURSOR_COMMIT=c499aee5f16e67815c7dc795ff338dc8ab3e07f0 mkdir -p ~/.vscode/cli/servers/Stable-$CURSOR_COMMIT/server/ tar -xzvf vscode-reh-linux-x64.tar.gz --strip-components=1 -C ~/.vscode/cli/servers/Stable-$CURSOR_COMMIT/server/ cp ~/.vscode/cli/servers/Stable-$CURSOR_COMMIT/server/bin/cursor-server ~/.vscode/cli/servers/Stable-$CURSOR_COMMIT/server/bin/code-server
- Start remote tunnel with
code tunnel
and follow instructions- You should now be able to connect to the tunnel from your local cursor instance. If you get any messages like "Error installing Server" or "No such file", it might be a good idea to start the remote tunnel with
code tunnel --log debug
to see which files it's trying to open, because it seems the server path changes regulary.
This seems to be the right solution! In case anyone wants to combine this with logging in to their Microsoft account, this can be done by following the steps here: https://github.com/microsoft/vscode-azure-account/issues/897#issuecomment-2424082420.
Found the fix elsewhere. https://forum.cursor.com/t/azure-extension-doesent-work/3949/15
Fix Azure extensions on Cursor Cursor does not come with Microsoft authentication, a builtin extension for vscode
To get this extension, grab it from VSCode
\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\microsoft-authentication
Copy to\AppData\Local\Programs\cursor\resources\app\extensions
For MacOS
/Applications/Visual Studio Code. app/Contents/Resources/app/extensions/microsoft-authentication
and/Applications/Cursor.app/Contents/Resources/app/extensions
Reload Cursor windows after.
Issue seems still not be fixxed. What do i pay for if i cant use the sub properly :(
@svenbledt I'm asking myself the same thing...between this issue, and Azure extensions timing out before authenticating, and previous Composer sessions constantly being erased, I'm about to completely bail on Cursor. It's a real shame.
FYI, I'm not sure about Azure, but for github, you should install cursor cli from https://api2.cursor.sh/updates/download-latest?os=cli-alpine-x64, and run ./cursor tunnel
to start a new vscode/cursor tunnel server like what you do in vscode.
FYI, I'm not sure about Azure, but for github, you should install cursor cli from https://api2.cursor.sh/updates/download-latest?os=cli-alpine-x64, and run
./cursor tunnel
to start a new vscode/cursor tunnel server like what you do in vscode.
Worked for me on Google Vertex.
It would be great if you could add support for Remote Tunnels that was recently added to VS Code. This is a great feature for remote development.
https://code.visualstudio.com/docs/remote/tunnels