Skip to content

Terminal won't open on certain remote machines with VS Code 1.50 #3848

Closed

Description

When upgrading to VS Code 1.50, I can no longer launch terminals after connecting on certain machines. Each time I click a new terminal in the terminal window it just hangs.

image

I'm an instructor for a class, and several students have reported this issue after upgrading to 1.50 (everyone is using the same type of Ubuntu 16 ARM board). Downgrading to 1.49 fixes the issue.

I can connect remotely to other machines and launch a terminal without issue.

Also, from what I can tell there is no error reported when establishing the remote connection. I can open and edit files remotely without issue. I just can't launch a terminal. The git integrations are also broken (but I imagine this is due to the issue with no remote terminal. Also, "Terminal: Select Default Shell" doesn't seem to do anything after being connected to these problematic machines.

Nothing shows up when I display the "Log (Remote Server)"

image

  • VSCode Version: 1.50.0
  • Local OS Version: Windows 10 Build 19041
  • Remote OS Version: Ubuntu 16.04 LTS (armv7l)
  • Remote Extension/Connection Type: SSH

Steps to Reproduce:

  1. Connect via Remote SSH
  2. Try to open a terminal

Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No

Here is the "Remote - SSH" log after connecting:

[13:59:20.376] SSH Resolver called for "ssh-remote+pynq", attempt 2, (Reconnection)
[13:59:20.377] SSH Resolver called for host: pynq
[13:59:20.378] Setting up SSH remote "pynq"
[13:59:20.389] Using commit id "93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3" and quality "stable" for server
[13:59:20.400] Install and start server if needed
[13:59:20.414] Running script with connection command: ssh -T -D 56193 pynq bash
[13:59:20.419] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[13:59:22.674] > Warning: untrusted X11 forwarding setup failed: xauth key data not generated
> �]0;C:\WINDOWS\System32\cmd.exe�
[13:59:22.674] Got some output, clearing connection timeout
[13:59:22.729] > f3c3021b341a: running
[13:59:23.519] > Acquiring lock on /home/byu/.vscode-server/bin/93c2f0fbf16c5a4b10e4d5f89737d9c2c
> 25488a3/vscode-remote-lock.byu.93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3
[13:59:23.583] > Found existing installation at /home/byu/.vscode-server/bin/93c2f0fbf16c5a4b10e4
> d5f89737d9c2c25488a3...
[13:59:23.742] > Found running server...
> 
> *
> * Reminder: You may only use this software with Visual Studio family products, 
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
> 
[13:59:25.446] > Checking server status on port 43091 with wget
[13:59:27.124] > f3c3021b341a: start     
> sshAuthSock====
> listeningOn==43091==    
> osReleaseId==ubuntu==   
> arch==armv7l==
> webUiAccessToken====    
> tmpDir==/run/user/1001==
> platform==linux==       
> f3c3021b341a: end       
[13:59:27.125] Received install output:      
sshAuthSock====
listeningOn==43091==    
osReleaseId==ubuntu==   
arch==armv7l==
webUiAccessToken====    
tmpDir==/run/user/1001==
platform==linux==       

[13:59:27.126] Remote server is listening on 43091
[13:59:27.126] Parsed server configuration: {"remoteListeningOn":{"port":43091},"osReleaseId":"ubuntu","arch":"armv7l","webUiAccessToken":"","sshAuthSock":"","tmpDir":"/run/user/1001","platform":"linux"}
[13:59:27.127] Starting forwarding server. localPort 56201 -> socksPort 56193 -> remotePort 43091
[13:59:27.128] Forwarding server listening on 56201
[13:59:27.129] Waiting for ssh tunnel to be ready
[13:59:27.130] [Forwarding server 56201] Got connection 0
[13:59:27.131] Tunneled 43091 to local port 56201
[13:59:27.131] Resolved "ssh-remote+pynq" to "127.0.0.1:56201"
[13:59:27.139] ------




[13:59:27.155] [Forwarding server 56201] Got connection 1

Activity

  1. added
    ssh
    on Oct 13, 2020
  2. added
    bug
    on Nov 4, 2020
  3. roblourens commented on Nov 6, 2020

    @roblourens
    Member

    Likely #2313 but doesn't look exactly the same FYI Daniel Imms (@Tyriar)

  4. added
    *duplicate
    on Nov 6, 2020
  5. locked and limited conversation to collaborators on Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

*duplicatebugssh

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions