Skip to content
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

Can't connect ssh server #1174

Closed
duyixian1234 opened this issue Aug 16, 2019 · 2 comments
Closed

Can't connect ssh server #1174

duyixian1234 opened this issue Aug 16, 2019 · 2 comments
Labels
ssh Issue in vscode-remote SSH

Comments

@duyixian1234
Copy link

Issue Type: Bug

After upgrade VS Code today, when I use remote-ssh to connect my ubuntu server it keep

Setting up SSH Host duyixian.ubuntu.dev: Connect to VS Code Server

with 30+ times retry

and finally report a error with

TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"ExhaustedRetries"},"measures":{"resolveAttempts":1}}

I fix it by run rm -rf ~/.vode-server

Extension version: 0.45.5
VS Code version: Code 1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35, 2019-08-15T16:17:55.855Z)
OS version: Windows_NT x64 10.0.18362
Remote OS version: Linux x64 4.15.0-55-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz (8 x 3096)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.92GB (2.62GB free)
Process Argv -n
Screen Reader no
VM 0%
Item Value
Remote SSH: duyixian.ubuntu.dev
OS Linux x64 4.15.0-55-generic
CPUs Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz (8 x 1999)
Memory (System) 31.41GB (23.52GB free)
VM 0%
@Gu0Yu
Copy link

Gu0Yu commented Aug 16, 2019

Yes! I got this
[07:59:58.026] > Running remote connection script

[07:59:58.035] > Acquiring lock on /home/vagrant/.vscode-server/bin/f06011ac164ae4dc8e753a3fe7f9549844d15e35/vscode-remote-lock.f06011

ac164ae4dc8e753a3fe7f9549844d15e35
Installing to /home/vagrant/.vscode-server/bin/f06011ac164ae4dc8e753a3fe7f9549844d15e35...

[07:59:58.072] > Downloading with wget

wget download failed
failed: Connection refused.
LC_ALL=en_US.UTF-8
SSH_CONNECTION=192.168.10.1 50674 192.168.10.10 22
LANG=en_US
XDG_SESSION_ID=104
USER=vagrant
PWD=/home/vagrant/.vscode-server/bin/f06011ac164ae4dc8e753a3fe7f9549844d15e35
HOME=/home/vagrant
SSH_CLIENT=192.168.10.1 50674 22
MAIL=/var/mail/vagrant
SHELL=/bin/bash
SHLVL=2
VSCODE_AGENT_FOLDER=/home/vagrant/.vscode-server
LOGNAME=vagrant
[07:59:58.072] >
XDG_RUNTIME_DIR=/run/user/1000
[07:59:58.072] >
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
[07:59:58.072] >
_=/usr/bin/printenv
[07:59:58.073] >
OLDPWD=/home/vagrant
[07:59:58.076] >

[07:59:58.087] > b1d3eb88-1d9f-464d-9881-6c209b7c5409##25##
[07:59:58.088] >

[07:59:58.416] "install" terminal command done
[07:59:58.416] Install terminal quit with output: b1d3eb88-1d9f-464d-9881-6c209b7c5409##25##
[07:59:58.416] Received install output: b1d3eb88-1d9f-464d-9881-6c209b7c5409##25##
[07:59:58.416] Server download failed
[07:59:58.416] Downloading VS Code Server failed. Please try again later.
[07:59:58.417] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"ExitCode"},"measures":{"resolveAttempts":1,"exitCode":25,"retries":1}}
[07:59:58.417] ------

@aeschli aeschli added the ssh Issue in vscode-remote SSH label Aug 21, 2019
@roblourens
Copy link
Member

@duyixian1234 If you see this again, please include the full log. Sorry you had trouble but I don't know what the problem was.

@Gu0Yu please open your own issue with some more details about what is happening. Seems the server download failed but I don't have more info.

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

4 participants