microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.69k stars 29.45k forks source link

Failed to download vs code server xhr failer #221802

Open Necrodaimuss opened 4 months ago

Necrodaimuss commented 4 months ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

1.visual code 1.91.1 image Version: 1.91.1 (user setup) Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729 Date: 2024-07-09T22:06:49.809Z (6 days ago) Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.19045

Captura

  1. connect to host put password
[08:36:29.238] Log Level: 2
[08:36:29.247] SSH Resolver called for "ssh-remote+10.55.20.131", attempt 1
[08:36:29.247] "remote.SSH.useLocalServer": false
[08:36:29.247] "remote.SSH.useExecServer": true
[08:36:29.248] "remote.SSH.showLoginTerminal": false
[08:36:29.248] "remote.SSH.remotePlatform": {"10.55.20.131":"linux"}
[08:36:29.248] "remote.SSH.path": undefined
[08:36:29.248] "remote.SSH.configFile": undefined
[08:36:29.248] "remote.SSH.useFlock": true
[08:36:29.248] "remote.SSH.lockfilesInTmp": false
[08:36:29.248] "remote.SSH.localServerDownload": auto
[08:36:29.248] "remote.SSH.remoteServerListenOnSocket": false
[08:36:29.248] "remote.SSH.showLoginTerminal": false
[08:36:29.248] "remote.SSH.defaultExtensions": []
[08:36:29.248] "remote.SSH.loglevel": 2
[08:36:29.249] "remote.SSH.enableDynamicForwarding": true
[08:36:29.249] "remote.SSH.enableRemoteCommand": false
[08:36:29.249] "remote.SSH.serverPickPortsFromRange": {}
[08:36:29.249] "remote.SSH.serverInstallPath": {}
[08:36:29.256] VS Code version: 1.91.1
[08:36:29.256] Remote-SSH version: remote-ssh@0.112.0
[08:36:29.256] win32 x64
[08:36:29.259] SSH Resolver called for host: 10.55.20.131
[08:36:29.259] Setting up SSH remote "10.55.20.131"
[08:36:29.264] Using commit id "f1e16e1e6214d7c44d078b1f0607b2388f29d729" and quality "stable" for server
[08:36:29.269] Install and start server if needed
[08:36:29.271] Checking ssh with "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\ssh.exe -V"
[08:36:29.283] Got error from ssh: spawn C:\Program Files (x86)\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[08:36:29.284] Checking ssh with "C:\Program Files\Eclipse Adoptium\jdk-21.0.2.13-hotspot\bin\ssh.exe -V"
[08:36:29.288] Got error from ssh: spawn C:\Program Files\Eclipse Adoptium\jdk-21.0.2.13-hotspot\bin\ssh.exe ENOENT
[08:36:29.288] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[08:36:29.290] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[08:36:29.290] Checking ssh with "C:\Windows\ssh.exe -V"
[08:36:29.291] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[08:36:29.291] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[08:36:29.293] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[08:36:29.293] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[08:36:29.295] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[08:36:29.295] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[08:36:29.324] > OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2

[08:36:29.329] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 52378 "10.55.20.131" bash
[08:36:29.331] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[08:36:29.657] > ]0;C:\WINDOWS\System32\cmd.exe
[08:36:29.657] Got some output, clearing connection timeout
[08:36:29.746] > no such identity: C:\\Users\\Necrodaimus/.ssh/id_rsa: No such file or directory
[08:36:29.763] > isabella@10.55.20.131's password: 
[08:36:29.763] Showing password prompt

08:41:55.065] > 
> 8f7607ddec3d:trigger_server_download
> artifact==cli-alpine-x64==
> destFolder==/home/isabella/.vscode-server==
> destFolder2==/vscode-cli-f1e16e1e6214d7c44d078b1f0607b2388f29d729.tar.gz==      
> 8f7607ddec3d:trigger_server_download_end
> Waiting for client to transfer server archive...
> Waiting for /home/isabella/.vscode-server/vscode-cli-f1e16e1e6214d7c44d078b1f060
> 7b2388f29d729.tar.gz.done and vscode-server.tar.gz to exist
[08:41:55.065] Got request to download on client for {"artifact":"cli-alpine-x64","destPath":"/home/isabella/.vscode-server/vscode-cli-f1e16e1e6214d7c44d078b1f0607b2388f29d729.tar.gz"}
[08:41:55.066] Downloading VS Code server locally...
[08:41:55.083] > 

Captura1

i try to download manually isabella@s055srvportprov:~/.vscode-server$ tar zxvf vscode-server-linux-x64.tar.gz -C ~/.vscode-server/bin/${commit_id} --strip 1

gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now @s055srvportprov:~/.vscode-server$ tar -zxvf vscode-server-linux-x64.tar.gz -C ~/.vscode-server/bin/${c ommit_id} --strip 1

gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now @s055srvportprov:~/.vscode-server$ ls vscode-cli-f1e16e1e6214d7c44d078b1f0607b2388f29d729.tar.gz vscode-server-linux-x64.tar.gz a@s055srvportprov:~/.vscode-server$

bilby91 commented 4 months ago

I'm running into the same issue.

roblourens commented 4 months ago

Has it worked in the past? Does it work if you install VS Code Insiders?

Necrodaimuss commented 4 months ago

Yes it workerd in the past, i kill all the process into the debian server, and delete the client, it 's working again the debian administrator doesn't know how to work again.

Best Regards

roblourens commented 4 months ago

i kill all the process into the debian server, and delete the client, it 's working again the debian administrator doesn't know how to work again.

Sorry, I don't understand your comment, do you mean that it's working now?

bilby91 commented 4 months ago

@roblourens I have confirmed that there was some kind of networking issue between my location and update.code.visualstudio.com. No one at my office could hit the site. After a couple of hours the networking issue resolved.

vs-code-engineering[bot] commented 1 month ago

Hey @roblourens, this issue might need further attention.

@Necrodaimuss, you can help us out by closing this issue if the problem no longer exists, or adding more information.

Necrodaimuss commented 1 month ago

The problem is not fix, i delete manually the files into de Debian server to fix the isue

El mar, 15 oct 2024 a las 8:27, vs-code-engineering[bot] (< @.***>) escribió:

Hey @roblourens https://github.com/roblourens, this issue might need further attention.

@Necrodaimuss https://github.com/Necrodaimuss, you can help us out by closing this issue if the problem no longer exists, or adding more information.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/221802#issuecomment-2413626247, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYT77QWQK3DS5HN5KS7BSILZ3T3ZBAVCNFSM6AAAAABK6ND6QWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJTGYZDMMRUG4 . You are receiving this because you were mentioned.Message ID: @.***>