Vscode-remote-release: 1.39.0 : Unable to open directory after being connected to remote host

Created on 9 Oct 2019  Â·  11Comments  Â·  Source: microsoft/vscode-remote-release


  • VSCode Version: 1.39.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. Since the version 1.38.1, I'm not able to access a directory within a host to which I have access, remotely. I'm using Centos 7 and I'm on the Remote Dev extensions since the beginning. While i access the host inputting the password, I can connect. When i try to browse a directory and open it, i got this.
[22:13:09.836] [email protected]
[22:13:09.836] win32 x64
[22:13:09.837] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a224d794e65786f504f53227d", attempt 1
[22:13:09.837] SSH Resolver called for host: MyNexoPOS
[22:13:09.837] Setting up SSH remote "MyNexoPOS"
[22:13:09.866] Using commit id "9df03c6d6ce97c6645c5846f6dfa2a6a7d276515" and quality "stable" for server
[22:13:09.867] Testing ssh with ssh -V
[22:13:09.971] ssh exited with code: 0
[22:13:09.971] Got stderr from ssh: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[22:13:09.976] Running script with connection command: ssh -T -D 53469 MyNexoPOS bash
[22:13:09.978] Install and start server if needed
[22:13:09.980] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[22:13:10.199] > 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ]0;C:\WINDOWS\System32\cmd.exe
[22:13:10.200] Got some output, clearing connection timeout
[22:13:10.231] > 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
[22:13:10.658] > 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
[22:13:12.397] > [hidden by author] password: 
[22:13:16.244] > 
> 
[22:13:17.815] > 93b437653faf: running
> 
[22:13:17.872] > Acquiring lock on /home/nexoposclub/.vscode-server/bin/9df03c6d6ce97c6645c5846f6dfa2a6a7d276515/vscode-remote-lock.9df03c6d6ce97c6645c5846f6dfa2a6a7d276515
[22:13:17.891] > Found existing installation at /home/nexoposclub/.vscode-server/bin/9df03c6d6ce97c6645c5846f6dfa2a6a7d276515...
> 
[22:13:17.953] > Found running server...
> 
> 
[22:13:17.958] > *
[22:13:17.967] > * Reminder: You may only use this software with Visual Studio family products, 
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
> 
> 
[22:13:17.983] > Checking server status on port 44890 with wget
> 
[22:13:17.992] > 93b437653faf: start
> 
[22:13:18.137] > sshAuthSock====      
> agentPort==44890==   
> webViewServerPort====
> osReleaseId==centos==
> arch==x86_64==       
> webUiAccessToken==== 
[22:13:18.137] > 
> 93b437653faf: end
[22:13:18.137] > 
> 
[22:13:18.137] Received install output: 
sshAuthSock====      
agentPort==44890==   
webViewServerPort====
osReleaseId==centos==
arch==x86_64==       
webUiAccessToken==== 

[22:13:18.138] Failed to parse remote port from server output
[22:13:18.138] Resolver error: 
[22:13:18.139] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"UnparsableOutput","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","gotUnrecognizedPrompt":"0","remoteInConfigFile":"1"},"measures":{"resolveAttempts":1,"retries":1}}
[22:13:18.139] ------



I'm quite stuck now, I'll be forced to download the work locally.


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

bug ssh verified

All 11 comments

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

Don't know if that will help, I have been forced to restart the server to be able to connect. What might be the exact cause of this so that I can prevent it?

Windows is inserting a weird character and breaking our parsing logic...

This is fixed in the latest nightly version of the extension. Please try it there and let me know if that works.

Ok I'll give a try.. thanks

I've received an update and tried. After some time working well, I got disconnected and I had to connect back. But, the same issue occurred again :

[10:45:06.074] [email protected]
[10:45:06.075] win32 x64
[10:45:06.076] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a224d794e65786f504f53227d", attempt 1
[10:45:06.076] SSH Resolver called for host: MyNexoPOS
[10:45:06.076] Setting up SSH remote "MyNexoPOS"
[10:45:06.111] Using commit id "88f15d17dca836346e787762685a40bb5cce75a8" and quality "stable" for server
[10:45:06.112] Testing ssh with ssh -V
[10:45:06.473] ssh exited with code: 0
[10:45:06.473] Got stderr from ssh: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[10:45:06.479] Running script with connection command: ssh -T -D 52700 MyNexoPOS bash
[10:45:06.481] Install and start server if needed
[10:45:06.483] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[10:45:06.659] > 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ]0;C:\WINDOWS\System32\cmd.exe
[10:45:06.659] Got some output, clearing connection timeout
[10:45:06.688] > 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
[10:45:07.088] > 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
[10:45:08.864] > [hidden by author]'s password: 
[10:46:03.479] > 
> 
[10:46:04.980] > 950931cf73fd: running
> 
[10:46:05.044] > Acquiring lock on /home/nexoposclub/.vscode-server/bin/88f15d17dca836346e787762685a40bb5cce75a8/vscode-remote-lock.88f15d17dca836346e787762685a40bb5cce75a8
[10:46:05.063] > Found existing installation at /home/nexoposclub/.vscode-server/bin/88f15d17dca836346e787762685a40bb5cce75a8...
> 
[10:46:05.116] > Found running server...
> 
[10:46:05.125] > 
> *
> * Reminder: You may only use this software with Visual Studio family products, 
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
> 
> 
[10:46:05.156] > Checking server status on port 34254 with wget
> 
[10:46:05.314] > 950931cf73fd: start  
> sshAuthSock====      
> agentPort==34254==   
> webViewServerPort====
> osReleaseId==centos==
> arch==x86_64==       
> webUiAccessToken==== 
[10:46:05.315] > 
> 950931cf73fd: end
[10:46:05.315] > 
> 
[10:46:05.316] Received install output:   
sshAuthSock====      
agentPort==34254==   
webViewServerPort====
osReleaseId==centos==
arch==x86_64==       
webUiAccessToken==== 

[10:46:05.317] Failed to parse remote port from server output
[10:46:05.318] Resolver error: 
[10:46:05.323] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"UnparsableOutput","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","gotUnrecognizedPrompt":"0","remoteInConfigFile":"1"},"measures":{"resolveAttempts":1,"retries":1}}
[10:46:05.323] ------

I'm using 1.39.1

image

Try the _nightly_ version of the extension. It's a separate extension. Uninstall the stable version first.

Which extension are we talking about... Coz... I thought it was a set of extensions ?

Marking verified since the OP verified it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gurdevrana picture gurdevrana  Â·  3Comments

kieferrm picture kieferrm  Â·  3Comments

sulume picture sulume  Â·  3Comments

6XAM picture 6XAM  Â·  3Comments

JacksonKearl picture JacksonKearl  Â·  3Comments