-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to scp local download tar file to remote server #2792
Comments
Hi, The remote server doesn't have internet connection so the new version of VSC Server is downloaded via client and transferred to the remote. It was working well before but now I am getting the error:
and here it is stuck forever. I have found a workaround, it is working when you copy the downloaded server to the server manually and extract it to the bin folder under the correct hash of the version but it is pretty annoying especially with so many new version lately. It doesn't seem like a hard error to fix, is there a chance that it will be fixed soon? Thanks! |
Having the same problem on VSCode 1.48.0. Manually copying the tarball works |
Thanks for the discussion here! Offline feedback may be related to #1242? |
Both of you have a weird character in this path that scp got, which is probably related, but I have no idea what's going on
|
Oh this was like #3139, I need to do the same in more places |
Still happen on v1.7.0. Are you working on it? Can we prioritize this issue? |
happened to me today on 1.73.
It should raise at least an error when receiving non-zero exit code, now it continues |
Also getting this error today on version 1.76.2. It is doing the same as with @piankma and continuing even when receiving a non-zero exit code. Log: [16:25:18.179] Log Level: 2 [16:25:37.976] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 51192 "mforgehn1.mayo.edu" bash [16:26:00.197] >
[16:26:05.527] Got request to download on client for {"platform":"linux","arch":"x64","destFolder":"/PRIVATEPATH/.vscode-server/bin/7f329fe6c66b0f86ae1574c2911b681ad5a45d63"} [16:26:32.972] Expecting scp to be next to ssh at C:\Windows\System32\OpenSSH\scp.exe
|
Having the same issue after update |
The fix is to find a version that works and never update :) still rocking a
version from 2020
…On Tue, Apr 4, 2023, 9:51 AM treapster ***@***.***> wrote:
Having the same issue after update
—
Reply to this email directly, view it on GitHub
<#2792 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADLTE446P2O45OUZVO7ZKI3W7QRM3ANCNFSM4MLUWORA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Solved for me! I have 2 remote Windows servers, the 1st one was working and the 2nd one stopped working. I copied the files from the 1st server to the 2nd server: Be sure to use the correct SSH user {myname2} to connect to the server after that. |
We already familiar with this workaround. It should solved without this. |
The exact issue from the OP in 1.45 is still present in Insiders 1.82 with a windows host and a mac client: [10:12:52.578] Checking ssh with "ssh -V"
[10:12:52.586] > OpenSSH_9.0p1, LibreSSL 3.3.6
[10:12:52.587] Testing scp with "scp"
[10:12:52.595] scp exited with code: 1
[10:12:52.595] Got stderr from scp: usage: scp [-346ABCOpqRrsTv] [-c cipher] [-D sftp_server_path] [-F ssh_config]
[-i identity_file] [-J destination] [-l limit]
[-o ssh_option] [-P port] [-S program] source ... target
[10:12:52.595] Copying file to remote with scp -o ConnectTimeout=15 'vscode-server.zip' 'vscode-scp-done.flag' 'mel-pc':'C:\Users\User\.vscode-server-insiders\bin\501baeb5e07b5a404f862d922bacb93771d91331'
[10:12:52.596] Using cwd: file:///var/folders/b5/m1nplt654p37sbyqdfkj0l2m0000gn/T/vscode_server_1692519172576
[10:12:53.266] > subsystem request failed on channel 0
> scp: Connection closed
[10:12:53.515] "Copy server to host" terminal command done I'm guessing this is setup this way (scp instead of a local dll on host) assuming the host might not have internet? |
Im also having this issue in 1.83.1 unfortunately. Im having VS code installed on a W11 machine and trying to access a linux server. |
I encountered this issue as well, in my case it meant that the drive on my host was full. |
Also encountered this issue on 1.94.2 |
Failed to scp local download tar file to remote server. I think the reason for this issue is some special character in path.
Logs:
Does this issue occur when you try this locally?: No
The text was updated successfully, but these errors were encountered: