Connection to Cursor server failed

Describe the Bug

When I connect to Linux from Windows using ‘remote-ssh’, I get this error
How do I fix it?
"
Connection to Cursor server failed: Couldn’t install Cursor Server, install script returned non-zero exit status: Tar failed to extract server contents from cursor-server-44252ffc-55e2-4976-b46b-737d7af357ed.tar.gz
"

Steps to Reproduce

I connected to Linux from Windows using ‘remote-ssh’. Remote-ssh works fine with other IPs except this IP.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.1 (user setup)
VSCode Version: 1.99.3
Commit: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0
Date: 2025-07-03T06:16:02.610Z
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.22631

Does this stop you from using Cursor

No - Cursor works, but with this issue

@mylim, does this happen repeatedly? If you haven’t already, could you try the “Reinstall Server” option when the connection fails? This error indicates that the server download failed.

Thanks for your reply.

I already tried ‘reinstall server’, but this happen repeatedly.

In the Output tab, I got this log
"
2025-07-23 07:29:37.232 [error] Error resolving SSH authority Couldn’t install Cursor Server, install script returned non-zero exit status: Tar failed to extract server contents from cursor-server-be695ee5-ef1e-4aff-91b0-73ff5355117b.tar.gz
"

Hi @mylim , would you be able to share the full logs? We have seen a few other cases for this where the logs indicated the disk was full, which prevented the .tar from fully extracting.

66750K … … … … … 100% 40.9M=2.6s

2025-07-30 09:57:09.987 [info] (ssh_tunnel) stderr: 2025-07-30 09:57:09 (25.2 MB/s) - ‘cursor-server-75bbd4a3-31d1-4b21-af53-1ec8b3c7f6e9.tar.gz’ saved [68396234/68396234]

2025-07-30 09:57:24.627 [info] (ssh_tunnel) stderr: tar: node: Cannot close: No space left on device
tar: Exiting with failure status due to previous errors

2025-07-30 09:57:24.628 [info] (ssh_tunnel) stdout: d41b91f7e862661f7345b858: start
exitCode==1==

2025-07-30 09:57:24.630 [info] (ssh_tunnel) stdout: nodeExecutable==/home/cmizrahi/.cursor-server/bin/9f33c2e793460d00cf95c06d957e1d1b8135fad0/node==
multiplexListeningOn====
multiplexConnectionToken====
codeListeningOn====
errorMessage==Tar failed to extract server contents from cursor-server-75bbd4a3-31d1-4b21-af53-1ec8b3c7f6e9.tar.gz==
isFatalError==false==
codeConnectionToken====
detectedPlatform==linux==
arch==x64==
SSH_AUTH_SOCK====
d41b91f7e862661f7345b858: end

2025-07-30 09:57:24.631 [info] Server install command exit code: 1
2025-07-30 09:57:24.632 [error] Error installing server: Couldn’t install Cursor Server, install script returned non-zero exit status: Tar failed to extract server contents from cursor-server-75bbd4a3-31d1-4b21-af53-1ec8b3c7f6e9.tar.gz
2025-07-30 09:57:24.632 [info] Deleting local script /var/folders/jy/862ylr552hg4_dpp47h5q4y00000gp/T/cursor_remote_install_90705.sh
2025-07-30 09:57:24.632 [error] Error resolving SSH authority Couldn’t install Cursor Server, install script returned non-zero exit status: Tar failed to extract server contents from cursor-server-75bbd4a3-31d1-4b21-af53-1ec8b3c7f6e9.tar.gz
2025-07-30 09:57:24.632 [info] (ssh_tunnel) stdout: Unlocking /run/user/140458/cursor-remote-lock.b9334fc5fe9e0471846241acf473767c

2025-07-30 09:57:24.632 [info] (ssh_tunnel) stderr: bash: line 198: 24415 Terminated while [ $counter -lt 900 ]; do
date +%s > “$lockfile”; sleep 1; counter=$((counter + 1));
done (wd: ~)
debug1: client_input_channel_req: channel 2 rtype exit-status reply 0

2025-07-30 09:57:25.060 [info] (ssh_tunnel) stderr: debug1: channel 2: free: client-session, nchannels 3
debug1: channel 0: free: port listener, nchannels 2

2025-07-30 09:57:25.061 [info] (ssh_tunnel) stderr: debug1: channel 1: free: port listener, nchannels 1
Transferred: sent 33232, received 1141376 bytes, in 26.7 seconds
Bytes per second: sent 1246.8, received 42823.7
debug1: Exit status 1

2025-07-30 09:57:25.063 [info] (ssh_tunnel): exit: code=1 signal=null

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