vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

cant connect to remote and cant download vscode server

Open yxzh614 opened this issue 5 years ago • 3 comments

happens when remote from windows to linux

版本: 1.62.3 (user setup) 提交: ccbaa2d27e38e5afa3e5c21c1c7bef4657064247 日期: 2021-11-17T08:11:14.551Z Electron: 13.5.2 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.19043

  • VSCode Version: 1.62.3
  • Local OS Version: windows
  • Remote OS Version: debian
  • Remote Extension/Connection Type: SSH
  • Logs:

Steps to Reproduce:

  1. try connect host with ssh
  2. fail

I try to delete wget and edit C:\Users\y.vscode\extensions\ms-vscode-remote.remote-ssh-0.66.1\out\extension.js and show the download URL:

https://update.code.visualstudio.com/commit:/server-darwin/stable

it looks like a wrong url

and it can only download a vscode-server.tar.gz with size 0

[02:31:10.267] > Downloading with curl

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
[02:31:10.281] > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
[02:31:10.940] > 0 0 0 0 0 0 0 0 --:--:-- --:-- [02:31:10.956] > :-- --:--:-- 0 [02:31:11.294] > 100 167 100 167 0 0 163 0 0:00:01 0:00:01 --:--:-- 163 curl download failed 404https://update.code.visualstudio.com/commit:/server-darwin/stable main: line 202: printenv_indent: command not found main: line 160: fail_with_exitcode: command not found main: line 219: millis: command not found

then some log repeats

21c1abdb9c81%%2%% tar --version: tar (GNU tar) 1.30 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason. tar: This does not look like a tar archive [02:31:11.302] > ERROR: tar exited with non-0 exit code: 0

network is ok, i can download vscode server with wget

wget https://update.code.visualstudio.com/commit:ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/server-linux-x64/stable --2021-11-20 02:50:11-- https://update.code.visualstudio.com/commit:ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/server-linux-x64/stable Resolving update.code.visualstudio.com (update.code.visualstudio.com)... 20.43.132.130 Connecting to update.code.visualstudio.com (update.code.visualstudio.com)|20.43.132.130|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://vscode.cdn.azure.cn/stable/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/vscode-server-linux-x64.tar.gz?1 [following] --2021-11-20 02:50:12-- https://vscode.cdn.azure.cn/stable/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/vscode-server-linux-x64.tar.gz?1 Resolving vscode.cdn.azure.cn (vscode.cdn.azure.cn)... 220.194.87.235, 111.161.14.94, 220.194.79.29, ... Connecting to vscode.cdn.azure.cn (vscode.cdn.azure.cn)|220.194.87.235|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 53633730 (51M) [application/gzip] Saving to: ‘stable’

stable 100%[=========================================================================>] 51.15M 9.83MB/s in 3.9s

2021-11-20 02:50:16 (13.1 MB/s) - ‘stable’ saved [53633730/53633730]

yxzh614 avatar Nov 19 '21 18:11 yxzh614

more logs logs.txt

yxzh614 avatar Nov 19 '21 18:11 yxzh614

cant connect with macos ,same error is there something missing on my linux machine?

yxzh614 avatar Nov 20 '21 05:11 yxzh614

退款了,stupid Tencent

yxzh614 avatar Nov 21 '21 16:11 yxzh614