microsoft / vscode

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

Remote fail to parse port #76123

Closed rebornix closed 5 years ago

rebornix commented 5 years ago

re #76022

It's probably not related to the ARM support but the first time when I try to establish the connection, it fails to parse port from the server log. I saw the same thing when I create a new VM and connect to it.

Install and start server if needed
> Installing to /home/pi/.vscode-server-insiders/bin/e80dd4f217db6e230d311a87fdf4276f740f6445...
> Downloading with wget
>           vscode-se   0%[                    ]       0  --.-KB/s               
>          vscode-ser   0%[                    ]  55.54K   175KB/s               
>         vscode-serv   0%[                    ] 199.54K   317KB/s               
>        vscode-serve   1%[                    ] 471.54K   504KB/s               
>       vscode-server   3%[                    ] 799.53K   693KB/s               
>      vscode-server-   5%[>                   ]   1.33M   979KB/s               
>     vscode-server-l   9%[>                   ]   2.32M  1.45MB/s               
>    vscode-server-li  12%[=>                  ]   3.12M  1.73MB/s                 vscode-server-lin  17%[==>                 ]   4.26M  2.11MB/s               
>  vscode-server-linu  19%[==>                 ]   4.58M  1.70MB/s               
> vscode-server-linux  23%[===>                ]   5.57M  1.93MB/s               
> scode-server-linux-  26%[====>               ]   6.29M  2.03MB/s    eta 9s     
> code-server-linux-a  29%[====>               ]   7.16M  2.18MB/s    eta 9s     
> ode-server-linux-ar  33%[=====>              ]   7.96M  2.28MB/s    eta 9s     
> de-server-linux-arm  37%[======>             ]   8.96M  2.42MB/s    eta 9s     
> e-server-linux-armh  40%[=======>            ]   9.83M  2.62MB/s    eta 9s     
> -server-linux-armhf  41%[=======>            ]   9.99M  2.46MB/s    eta 6s     
> server-linux-armhf.  46%[========>           ]  11.30M  2.74MB/s    eta 6s     
> erver-linux-armhf.t  48%[========>           ]  11.68M  2.76MB/s    eta 6s     
> rver-linux-armhf.ta  52%[=========>          ]  12.63M  2.89MB/s    eta 6s     
> ver-linux-armhf.tar  57%[==========>         ]  13.91M  3.17MB/s    eta 6s     
> er-linux-armhf.tar.  61%[===========>        ]  14.74M  3.22MB/s    eta 4s     
> r-linux-armhf.tar.g  65%[============>       ]  15.68M  3.24MB/s    eta 4s     
> -linux-armhf.tar.gz  68%[============>       ]  16.55M  3.19MB/s    eta 4s     
> linux-armhf.tar.gz   72%[=============>      ]  17.34M  3.14MB/s    eta 4s     
> inux-armhf.tar.gz    73%[=============>      ]  17.60M  3.42MB/s    eta 4s     
> nux-armhf.tar.gz     77%[==============>     ]  18.71M  3.56MB/s    eta 2s     
> ux-armhf.tar.gz      79%[==============>     ]  19.16M  3.42MB/s    eta 2s     
> x-armhf.tar.gz       82%[===============>    ]  19.80M  3.40MB/s    eta 2s     
> -armhf.tar.gz        84%[===============>    ]  20.33M  3.25MB/s    eta 2s     
> armhf.tar.gz         86%[================>   ]  20.90M  3.12MB/s    eta 2s     
> rmhf.tar.gz          89%[================>   ]  21.60M  3.15MB/s    eta 1s     
> 
> mhf.tar.gz           92%[=================>  ]  22.30M  3.52MB/s    eta 1s     
> hf.tar.gz            95%[==================> ]  22.93M  3.55MB/s    eta 1s     
> f.tar.gz             97%[==================> ]  23.47M  3.38MB/s    eta 1s     
> vscode-server-linux 100%[===================>]  24.07M  3.31MB/s    in 8.5s    
> 2019-06-25 10:57:09 URL:https://az764295.vo.msecnd.net/insider/e80dd4f217db6e230d311a87fdf4276f740f6445/vscode-server-linux-armhf.tar.gz [25235643/25235643] -> "vscode-server-linux-armhf.tar.gz" [1]
> Download complete
> SHELL=/bin/bash
> LANGUAGE=en_US.UTF-8
> PWD=/home/pi
> LOGNAME=pi
> XDG_SESSION_TYPE=tty
> HOME=/home/pi
> LANG=en_US.UTF-8
> VSCODE_AGENT_FOLDER=/home/pi/.vscode-server-insiders
> SSH_CONNECTION=192.168.0.11 60395 192.168.0.25 22
> XDG_SESSION_CLASS=user
> USER=pi
> SHLVL=1
> XDG_SESSION_ID=c6
> XDG_RUNTIME_DIR=/run/user/1000
> SSH_CLIENT=192.168.0.11 60395 22
> LC_ALL=en_US.UTF-8
> PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> MAIL=/var/mail/pi
> _=/usr/bin/printenv
> OLDPWD=/home/pi/.vscode-server-insiders/bin/e80dd4f217db6e230d311a87fdf4276f740f6445
> Starting server...
> Waiting for server log...
> Waiting for server log...
> Waiting for server log...
> Waiting for server log...
> Waiting for server log...
> Waiting for server log...
> Waiting for server log...
> Waiting for server log...
>  
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
>  
> Server did not start successfully. Full server log >>>
> 
> 
> *
> * Visual Studio Code Server
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license https://aka.ms/vscode-remote/license
> *
> 
> 
> <<< End of server log
"install" terminal command done
Received install output: <<< End of server log
Failed to parse remote port from server output: <<< End of server log

------
roblourens commented 5 years ago

It does just look like the server failed to start successfully. Can you try starting fresh again (run the Uninstall command) or show me?