microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.64k stars 285 forks source link

macOS 12 unable to connect to red hat linux #6361

Closed Shri333 closed 2 years ago

Shri333 commented 2 years ago

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7" REDHAT_BUGZILLA_PRODUCT_VERSION=7.9 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="7.9" Red Hat Enterprise Linux Server release 7.9 (Maipo) Red Hat Enterprise Linux Server release 7.9 (Maipo)

- Remote Extension/Connection Type: SSH
- Logs:
When I connect for the first time, everything seems to be normal (downloading/installing vscode-server and setting up the connection):

[21:47:33.150] Log Level: 2 [21:47:33.150] remote-ssh@0.74.0 [21:47:33.150] darwin arm64 [21:47:33.152] SSH Resolver called for "ssh-remote+remote.eos.ncsu.edu", attempt 1 [21:47:33.152] "remote.SSH.useLocalServer": true [21:47:33.152] "remote.SSH.path": undefined [21:47:33.152] "remote.SSH.configFile": undefined [21:47:33.152] "remote.SSH.useFlock": true [21:47:33.152] "remote.SSH.lockfilesInTmp": false [21:47:33.152] "remote.SSH.localServerDownload": auto [21:47:33.152] "remote.SSH.remoteServerListenOnSocket": false [21:47:33.152] "remote.SSH.showLoginTerminal": false [21:47:33.153] "remote.SSH.defaultExtensions": [] [21:47:33.153] "remote.SSH.loglevel": 2 [21:47:33.153] "remote.SSH.enableDynamicForwarding": true [21:47:33.153] "remote.SSH.enableRemoteCommand": false [21:47:33.153] "remote.SSH.serverPickPortsFromRange": {} [21:47:33.153] "remote.SSH.serverInstallPath": {} [21:47:33.158] SSH Resolver called for host: remote.eos.ncsu.edu [21:47:33.158] Setting up SSH remote "remote.eos.ncsu.edu" [21:47:33.159] Acquiring local install lock: /var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-remote-ssh-4309a027-install.lock [21:47:33.160] Looking for existing server data file at /Users/dshrihan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4309a027-f80445acd5a3dadef24aa209168452a3d97cc326-0.74.0/data.json [21:47:33.161] Found local server running: {"remoteListeningOn":{"port":36702},"osReleaseId":"rhel","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/run/user/330051","platform":"linux","connectionToken":"1aa1a1a1-1111-1aaa-1a1a-1aa1aa1a11a1","pid":12853,"ipcHandlePath":"/var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-cb48684b89d81905ecd031fa03fe4c7d0068703a.sock","socksPort":50924,"startupTime":1645238711382} [21:47:33.162] Server delay-shutdown request failed: connect ECONNREFUSED /var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-cb48684b89d81905ecd031fa03fe4c7d0068703a.sock [21:47:33.162] Existing server's health check failed, will start a new one [21:47:33.162] Using commit id "f80445acd5a3dadef24aa209168452a3d97cc326" and quality "stable" for server [21:47:33.164] Install and start server if needed [21:47:33.166] PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin [21:47:33.166] Checking ssh with "ssh -V" [21:47:33.169] > OpenSSH_8.6p1, LibreSSL 2.8.3

[21:47:33.170] askpass server listening on /var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-581c758b3ea8734abaa26f96545e7bddf7c0771b.sock [21:47:33.170] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-f8be36ce437da8e46b5e403115b2c9f4fd78df3a.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","50959","-o","ConnectTimeout=15","remote.eos.ncsu.edu"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/dshrihan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4309a027-f80445acd5a3dadef24aa209168452a3d97cc326-0.74.0/data.json"} [21:47:33.170] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.74.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.74.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-581c758b3ea8734abaa26f96545e7bddf7c0771b.sock"} [21:47:33.171] Spawned 12955 [21:47:33.221] > local-server-1> Spawned ssh, pid=12957 [21:47:33.223] stderr> OpenSSH_8.6p1, LibreSSL 2.8.3 [21:47:33.346] stderr> debug1: Server host key: ssh-ed25519 SHA256:bABqg6ZnghChjiB0+yjaQTj0kzvQ8xytCXqXOW8GG10 [21:47:33.533] Got askpass request: {"request":"(sdadi2@remote.eos.ncsu.edu) Password:"} [21:47:33.533] Showing password prompt [21:47:33.533] Listening for interwindow password on /var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-cad42b4f723b405a9f6ca7da7c64577b32b0d120.sock [21:47:33.533] Writing password prompt to globalState [21:47:37.276] Got password response [21:47:37.276] Interactor gave response: **** [21:47:37.277] Cleaning up other-window auth server

[21:47:43.289] > ready: a4b1625f1134 [21:47:43.307] > Linux 3.10.0-1160.53.1.el7.x86_64 #1 SMP Thu Dec 16 10:19:28 UTC 2021 [21:47:43.308] Platform: linux [21:47:43.340] > a4b1625f1134: running [21:47:43.382] > Acquiring lock on /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/vscode-remote-lock.sdadi2.f80445acd5a3dadef24aa209168452a3d97cc326 [21:47:43.385] > Installing to /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326... [21:47:43.391] > a4b1625f1134%%1%% [21:47:43.393] > Downloading with wget [21:47:46.259] > Download complete

a4b1625f1134%%2%% tar --version: tar (GNU tar) 1.26 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://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. [21:48:02.028] > Checking /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.f80445acd5a3dadef24aa209168452a3d97cc326.log and /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.f80445acd5a3dadef24aa209168452a3d97cc326.pid for a running server [21:48:02.043] > Starting server with command... /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/bin/code-server --start-server --host=127.0.0.1 --accept-server-license-terms --enable-remote-auto-shutdown --port=0 &> "/afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.f80445acd5a3dadef24aa209168452a3d97cc326.log" < /dev/null printenv: MANPATH=:/opt/puppetlabs/puppet/share/man XDG_SESSION_ID=7933 HOSTNAME=engr-ras-207.eos.ncsu.edu SELINUX_ROLE_REQUESTED= SHELL=/bin/bash HISTSIZE=1000 SSH_CLIENT=136.56.24.163 50961 22 SELINUX_USE_CURRENT_RANGE= TEC_360_2021=/opt/tecplot360ex-2021r1/360ex_2021r1 QTDIR=/usr/lib64/qt-3.3 QTINC=/usr/lib64/qt-3.3/include TEC_CHORUS_2021=/opt/tecplot360ex-2021r1/chorus_2021r1 QT_GRAPHICSSYSTEM_CHECKED=1 USER=sdadi2 VSCODE_AGENT_FOLDER=/afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin:/opt/tecplot360ex-2021r1/360ex_2021r1/bin:/opt/tecplot360ex-2021r1/chorus_2021r1/bin:/afs/unity.ncsu.edu/users/s/sdadi2/.local/bin:/afs/unity.ncsu.edu/users/s/sdadi2/bin MAIL=/var/spool/mail/sdadi2 PWD=/afs/unity.ncsu.edu/users/s/sdadi2 LANG=en_US.UTF-8 MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles LOADEDMODULES= SELINUX_LEVEL_REQUESTED= KRB5CCNAME=KEYRING:persistent:330051 HISTCONTROL=ignoredups HOME=/afs/unity.ncsu.edu/users/s/sdadi2 SHLVL=2 LOGNAME=sdadi2 QTLIB=/usr/lib64/qt-3.3/lib SSH_CONNECTION=136.56.24.163 50961 152.1.0.181 22 MODULESHOME=/usr/share/Modules LESSOPEN=||/usr/bin/lesspipe.sh %s XDG_RUNTIME_DIR=/run/user/330051 BASH_FUNCmodule()=() { eval /usr/bin/modulecmd bash $* } =/usr/bin/printenv OLDPWD=/afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326 [21:48:02.049] stderr> rm: cannot remove ‘/afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.f80445acd5a3dadef24aa209168452a3d97cc326.token’: No such file or directory [21:48:02.057] > Spawned remote server: 123521 [21:48:02.058] > Waiting for server log... [21:48:02.093] > Waiting for server log... [21:48:02.130] >
*

[21:48:02.136] > a4b1625f1134: start SSH_AUTH_SOCK==== DISPLAY==== webUiAccessToken==== listeningOn==34379== osReleaseId==rhel== arch==x86_64== tmpDir==/run/user/330051== platform==linux== unpackResult==success== didLocalDownload==0== downloadTime==2814== installTime==15645== extInstallTime==== serverStartTime==83== connectionToken==11111111-a111-11a1-aa1a-1111aa1a111a== a4b1625f1134: end [21:48:02.137] Received install output: SSH_AUTH_SOCK==== DISPLAY==== webUiAccessToken==== listeningOn==34379== osReleaseId==rhel== arch==x86_64== tmpDir==/run/user/330051== platform==linux== unpackResult==success== didLocalDownload==0== downloadTime==2814== installTime==15645== extInstallTime==== serverStartTime==83== connectionToken==11111111-a111-11a1-aa1a-1111aa1a111a==

[21:48:02.138] Remote server is listening on 34379 [21:48:02.138] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":34379},"osReleaseId":"rhel","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/run/user/330051","platform":"linux","connectionToken":"11111111-a111-11a1-aa1a-1111aa1a111a"},"downloadTime":2814,"installTime":15645,"serverStartTime":83,"installUnpackCode":"success"} [21:48:02.140] Persisting server connection details to /Users/dshrihan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4309a027-f80445acd5a3dadef24aa209168452a3d97cc326-0.74.0/data.json [21:48:02.144] Starting forwarding server. localPort 50963 -> socksPort 50959 -> remotePort 34379 [21:48:02.144] Forwarding server listening on 50963 [21:48:02.145] Waiting for ssh tunnel to be ready [21:48:02.146] Tunneled 34379 to local port 50963 [21:48:02.146] Resolved "ssh-remote+remote.eos.ncsu.edu" to "127.0.0.1:50963" [21:48:02.148] [Forwarding server 50963] Got connection 0 [21:48:02.157] ------

[21:48:02.195] [Forwarding server 50963] Got connection 1 [21:48:02.328] [Forwarding server 50963] Got connection 2

However, when I try to open any folder, this is the popup that I get:
<img width="1018" alt="Screen Shot 2022-02-18 at 9 50 32 PM" src="https://user-images.githubusercontent.com/19418851/154783351-330f3e8c-6de8-439b-bdb1-d4c80ef2a1ec.png">
This is the log I get:

[21:54:59.419] Log Level: 2 [21:54:59.420] remote-ssh@0.74.0 [21:54:59.420] darwin arm64 [21:54:59.426] SSH Resolver called for "ssh-remote+remote.eos.ncsu.edu", attempt 1 [21:54:59.426] "remote.SSH.useLocalServer": true [21:54:59.426] "remote.SSH.path": undefined [21:54:59.426] "remote.SSH.configFile": undefined [21:54:59.426] "remote.SSH.useFlock": true [21:54:59.426] "remote.SSH.lockfilesInTmp": false [21:54:59.426] "remote.SSH.localServerDownload": auto [21:54:59.426] "remote.SSH.remoteServerListenOnSocket": false [21:54:59.426] "remote.SSH.showLoginTerminal": false [21:54:59.427] "remote.SSH.defaultExtensions": [] [21:54:59.427] "remote.SSH.loglevel": 2 [21:54:59.427] "remote.SSH.enableDynamicForwarding": true [21:54:59.427] "remote.SSH.enableRemoteCommand": false [21:54:59.427] "remote.SSH.serverPickPortsFromRange": {} [21:54:59.427] "remote.SSH.serverInstallPath": {} [21:54:59.428] SSH Resolver called for host: remote.eos.ncsu.edu [21:54:59.428] Setting up SSH remote "remote.eos.ncsu.edu" [21:54:59.430] Acquiring local install lock: /var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-remote-ssh-4309a027-install.lock [21:54:59.431] Looking for existing server data file at /Users/dshrihan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4309a027-f80445acd5a3dadef24aa209168452a3d97cc326-0.74.0/data.json [21:54:59.431] Found local server running: {"remoteListeningOn":{"port":34379},"osReleaseId":"rhel","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/run/user/330051","platform":"linux","connectionToken":"11111111-a111-11a1-aa1a-1111aa1a111a","pid":12995,"ipcHandlePath":"/var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-92d9223234a4440a2896c20858946f7f2f76c575.sock","socksPort":50992,"startupTime":1645239020136} [21:54:59.432] Server delay-shutdown request failed: connect ECONNREFUSED /var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-92d9223234a4440a2896c20858946f7f2f76c575.sock [21:54:59.432] Existing server's health check failed, will start a new one [21:54:59.433] Using commit id "f80445acd5a3dadef24aa209168452a3d97cc326" and quality "stable" for server [21:54:59.434] Install and start server if needed [21:54:59.436] PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin [21:54:59.436] Checking ssh with "ssh -V" [21:54:59.439] > OpenSSH_8.6p1, LibreSSL 2.8.3

[21:54:59.441] askpass server listening on /var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-a583c4293dc7d5996fca2b28aab821bfbb414ddc.sock [21:54:59.441] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-882541d023122a9d059951078c8f6b36589c32dc.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","51033","-o","ConnectTimeout=15","remote.eos.ncsu.edu"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/dshrihan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4309a027-f80445acd5a3dadef24aa209168452a3d97cc326-0.74.0/data.json"} [21:54:59.441] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.74.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.74.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-a583c4293dc7d5996fca2b28aab821bfbb414ddc.sock"} [21:54:59.441] Spawned 13105 [21:54:59.492] > local-server-1> Spawned ssh, pid=13107 [21:54:59.494] stderr> OpenSSH_8.6p1, LibreSSL 2.8.3 [21:54:59.605] stderr> debug1: Server host key: ssh-ed25519 SHA256:bABqg6ZnghChjiB0+yjaQTj0kzvQ8xytCXqXOW8GG10 [21:54:59.809] Got askpass request: {"request":"(sdadi2@remote.eos.ncsu.edu) Password:"} [21:54:59.810] Showing password prompt [21:54:59.810] Listening for interwindow password on /var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/vscode-ssh-askpass-900540835ba6f1f2e6c9a0ba6b74f32190d1c4a2.sock [21:54:59.810] Writing password prompt to globalState [21:55:02.727] Got password response [21:55:02.728] Interactor gave response: **** [21:55:02.729] Cleaning up other-window auth server

[21:55:08.731] > ready: c52d4ec4e113 [21:55:08.750] > Linux 3.10.0-1160.53.1.el7.x86_64 #1 SMP Thu Dec 16 10:19:28 UTC 2021 [21:55:08.751] Platform: linux [21:55:08.781] > c52d4ec4e113: running [21:55:08.817] > Acquiring lock on /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326/vscode-remote-lock.sdadi2.f80445acd5a3dadef24aa209168452a3d97cc326 [21:55:08.821] > Found existing installation at /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/bin/f80445acd5a3dadef24aa209168452a3d97cc326...

Checking /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.f80445acd5a3dadef24aa209168452a3d97cc326.log and /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.f80445acd5a3dadef24aa209168452a3d97cc326.pid for a running server [21:55:08.824] > Looking for server with pid: 123521 [21:55:08.877] > Found running server...

*

[21:55:08.884] > Checking server status on port 34379 with wget [21:55:08.894] > c52d4ec4e113: start SSH_AUTH_SOCK==== DISPLAY==== webUiAccessToken==== listeningOn==34379== osReleaseId==rhel== arch==x86_64== tmpDir==/run/user/330051== platform==linux== unpackResult==== didLocalDownload==0== [21:55:08.900] > downloadTime==== installTime==== extInstallTime==== serverStartTime==== connectionToken==11111111-a111-11a1-aa1a-1111aa1a111a== c52d4ec4e113: end [21:55:08.900] Received install output: SSH_AUTH_SOCK==== DISPLAY==== webUiAccessToken==== listeningOn==34379== osReleaseId==rhel== arch==x86_64== tmpDir==/run/user/330051== platform==linux== unpackResult==== didLocalDownload==0==downloadTime==== installTime==== extInstallTime==== serverStartTime==== connectionToken==11111111-a111-11a1-aa1a-1111aa1a111a==

[21:55:08.901] Remote server is listening on 34379 [21:55:08.901] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":34379},"osReleaseId":"rhel","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/run/user/330051","platform":"linux","connectionToken":"11111111-a111-11a1-aa1a-1111aa1a111a"},"installUnpackCode":""} [21:55:08.903] Persisting server connection details to /Users/dshrihan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4309a027-f80445acd5a3dadef24aa209168452a3d97cc326-0.74.0/data.json [21:55:08.906] Starting forwarding server. localPort 51037 -> socksPort 51033 -> remotePort 34379 [21:55:08.907] Forwarding server listening on 51037 [21:55:08.907] Waiting for ssh tunnel to be ready [21:55:08.908] Tunneled 34379 to local port 51037 [21:55:08.908] Resolved "ssh-remote+remote.eos.ncsu.edu" to "127.0.0.1:51037" [21:55:08.909] [Forwarding server 51037] Got connection 0 [21:55:08.919] ------

[21:55:08.932] [Forwarding server 51037] Got connection 1 [21:55:08.974] [Forwarding server 51037] Got connection 2



Steps to Reproduce:

1. Add host and connect to it using ssh extension
2. Open up any folder inside home directory

I would greatly appreciate any help/clarity. Thank you!
Shri333 commented 2 years ago

By the way, this is a university server I am connecting to (so I do not have admin permissions). I tried installing different versions of the remote ssh extension (including pre-release) and nothing seemed to change. I also tried killing vscode-server (through VSCode and manually by killing the process on the university server) and rm -rf .vscode-server, but nothing seemed to change.

Shri333 commented 2 years ago

Also tried setting

    "remote.SSH.useLocalServer": false,
    "remote.SSH.remotePlatform": {
        "remote.eos.ncsu.edu": "linux"
    }

and downgrading to 0.70. It worked initially, but when I tried to open it again, I got the same popup:

Screen Shot 2022-02-18 at 10 07 12 PM
bpasero commented 2 years ago

This dialog shows up when a stat to the folder to open returns with an error:

https://github.com/microsoft/vscode/blob/c94b7dc5adebb2cefd25a1f4afc1ad9b2edc7087/src/vs/workbench/contrib/remote/common/remote.contribution.ts#L132

Given this is such a basic IO call, I suspect that the entire connection to the remote is flawed. Maybe you have an idea Rob or could try to reproduce.

bpasero commented 2 years ago

@Shri333 maybe you could also attach a gif of the flow.

Shri333 commented 2 years ago

@bpasero Thanks for the response! Here's a gif (I removed vscode-server from the host) 2022-02-19 08-59-06

bpasero commented 2 years ago

What happens in this case when you press "Cancel" and try to refresh the explorer via the refresh icon?

Shri333 commented 2 years ago

Nothing happens, unfortunately. I clicked try again, and I got another error: 2022-02-19-11-07-59

bpasero commented 2 years ago

Please see if you can find any logged output that could help us find the source of the issue:

Thanks!

Shri333 commented 2 years ago

@bpasero Thanks for the reply. Here is the output of code --verbose:

[main 2022-02-19T16:40:13.635Z] [File Watcher (node.js)] Request to start watching: /Users/dshrihan/Library/Application Support/Code/User (excludes: <none>),/Users/dshrihan/Library/Application Support/Code/User/settings.json (excludes: <none>)
[main 2022-02-19T16:40:13.643Z] Starting VS Code
[main 2022-02-19T16:40:13.643Z] from: /Applications/Visual Studio Code.app/Contents/Resources/app
[main 2022-02-19T16:40:13.643Z] args: {
  _: [],
  diff: false,
  add: false,
  goto: false,
  'new-window': false,
  'reuse-window': false,
  wait: false,
  help: false,
  'list-extensions': false,
  'show-versions': false,
  'pre-release': false,
  version: false,
  verbose: true,
  status: false,
  'prof-startup': false,
  'no-cached-data': false,
  'prof-v8-extensions': false,
  'disable-extensions': false,
  'disable-gpu': false,
  'ms-enable-electron-run-as-node': false,
  telemetry: false,
  debugRenderer: false,
  logExtensionHostCommunication: false,
  'skip-release-notes': false,
  'skip-welcome': false,
  'disable-telemetry': false,
  'disable-updates': false,
  'disable-keytar': false,
  'disable-workspace-trust': false,
  'disable-crash-reporter': false,
  'crash-reporter-id': '0cedff42-3f9a-46b2-b00d-69270a425aa6',
  'skip-add-to-recently-opened': false,
  'unity-launch': false,
  'open-url': false,
  'file-write': false,
  'file-chmod': false,
  'driver-verbose': false,
  force: false,
  'do-not-sync': false,
  trace: false,
  'force-user-env': false,
  'force-disable-user-env': false,
  'open-devtools': false,
  __sandbox: false,
  'no-proxy-server': false,
  'no-sandbox': false,
  nolazy: false,
  'force-renderer-accessibility': false,
  'ignore-certificate-errors': false,
  'allow-insecure-localhost': false,
  logsPath: '/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013'
}
[main 2022-02-19T16:40:13.644Z] Resolving machine identifier...
[main 2022-02-19T16:40:13.644Z] Resolved machine identifier: cdfeedfb2c8c675e535b3768d83764cb321e6e3820ff8debde49a5ecef06dfea
[main 2022-02-19T16:40:13.644Z] Main->SharedProcess#connect
[main 2022-02-19T16:40:13.648Z] [File Watcher (node.js)] Started watching: '/Users/dshrihan/Library/Application Support/Code/User/settings.json'
[main 2022-02-19T16:40:13.664Z] [File Watcher (node.js)] Started watching: '/Users/dshrihan/Library/Application Support/Code/User'
[main 2022-02-19T16:40:13.683Z] StorageMainService: creating global storage
[main 2022-02-19T16:40:13.691Z] lifecycle (main): phase changed (value: 2)
[main 2022-02-19T16:40:13.691Z] windowsManager#open
[main 2022-02-19T16:40:13.691Z] windowsManager#open pathsToOpen [
  {
    backupPath: '/Users/dshrihan/Library/Application Support/Code/Backups/1645239490697',
    remoteAuthority: undefined
  }
]
[main 2022-02-19T16:40:13.692Z] windowsManager#doOpenEmpty {
  restore: true,
  remoteAuthority: undefined,
  filesToOpen: undefined,
  forceNewWindow: true
}
[main 2022-02-19T16:40:13.692Z] IPC Object URL: Registered new channel vscode:123d2170-8478-4814-993e-a568b5658b0c.
[main 2022-02-19T16:40:13.692Z] window#validateWindowState: validating window state on 1 display(s) { mode: 1, x: 187, y: 58, width: 1024, height: 768 }
[main 2022-02-19T16:40:13.692Z] window#validateWindowState: 1 monitor working area { x: 0, y: 25, width: 1440, height: 802 }
[main 2022-02-19T16:40:13.692Z] window#ctor: using window state { mode: 1, x: 187, y: 58, width: 1024, height: 768 }
[main 2022-02-19T16:40:13.740Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 0, emptyToRestore: 1, emptyToOpen: 0)
[main 2022-02-19T16:40:13.740Z] lifecycle (main): phase changed (value: 3)
[main 2022-02-19T16:40:13.742Z] update#setState idle
[main 2022-02-19T16:40:13.742Z] resolveShellEnv(): running (macOS/Linux)
[main 2022-02-19T16:40:13.742Z] getUnixShellEnvironment#runAsNode undefined
[main 2022-02-19T16:40:13.742Z] getUnixShellEnvironment#noAttach undefined
[main 2022-02-19T16:40:13.742Z] getUnixShellEnvironment#env {
  TMPDIR: '/var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/',
  __CFBundleIdentifier: 'com.apple.Terminal',
  XPC_FLAGS: '0x0',
  TERM: 'xterm-256color',
  SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.xfFZZzIRdy/Listeners',
  XPC_SERVICE_NAME: '0',
  TERM_PROGRAM: 'Apple_Terminal',
  TERM_PROGRAM_VERSION: '443',
  TERM_SESSION_ID: '11120DCC-05CC-4E98-90F9-94E113B249ED',
  SHELL: '/bin/zsh',
  HOME: '/Users/dshrihan',
  LOGNAME: 'dshrihan',
  USER: 'dshrihan',
  PATH: '/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin',
  SHLVL: '1',
  PWD: '/Applications/Visual Studio Code.app/Contents/MacOS',
  OLDPWD: '/Applications/Visual Studio Code.app/Contents',
  LANG: 'en_US.UTF-8',
  _: '/Applications/Visual Studio Code.app/Contents/MacOS/./Electron',
  __CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x0',
  ORIGINAL_XDG_CURRENT_DESKTOP: 'undefined',
  VSCODE_CWD: '/Applications/Visual Studio Code.app/Contents/MacOS',
  VSCODE_NLS_CONFIG: '{"locale":"en-us","availableLanguages":{},"_languagePackSupport":true}',
  VSCODE_CODE_CACHE_PATH: '/Users/dshrihan/Library/Application Support/Code/CachedData/f80445acd5a3dadef24aa209168452a3d97cc326',
  VSCODE_IPC_HOOK: '/Users/dshrihan/Library/Application Support/Code/1.64.2-main.sock',
  VSCODE_PID: '2975',
  ELECTRON_RUN_AS_NODE: '1',
  ELECTRON_NO_ATTACH_CONSOLE: '1'
}
[main 2022-02-19T16:40:13.743Z] getUnixShellEnvironment#shell /bin/zsh
[main 2022-02-19T16:40:13.743Z] getUnixShellEnvironment#spawn ["-ilc"] '/Applications/Visual Studio Code.app/Contents/MacOS/Electron' --ms-enable-electron-run-as-node -p '"3d34609f8f2d" + JSON.stringify(process.env) + "3d34609f8f2d"'
[main 2022-02-19T16:40:13.898Z] ExtensionHostStarterWorker created
[main 2022-02-19T16:40:13.899Z] getUnixShellEnvironment#raw 3d34609f8f2d{"TMPDIR":"/var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/","__CFBundleIdentifier":"com.apple.Terminal","XPC_FLAGS":"0x0","TERM":"xterm-256color","SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.xfFZZzIRdy/Listeners","XPC_SERVICE_NAME":"0","TERM_PROGRAM":"Apple_Terminal","TERM_PROGRAM_VERSION":"443","TERM_SESSION_ID":"11120DCC-05CC-4E98-90F9-94E113B249ED","SHELL":"/bin/zsh","HOME":"/Users/dshrihan","LOGNAME":"dshrihan","USER":"dshrihan","PATH":"/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin","SHLVL":"1","PWD":"/Applications/Visual Studio Code.app/Contents/MacOS","OLDPWD":"/Applications/Visual Studio Code.app/Contents/MacOS","LANG":"en_US.UTF-8","__CF_USER_TEXT_ENCODING":"0x1F5:0x0:0x0","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","VSCODE_CWD":"/Applications/Visual Studio Code.app/Contents/MacOS","VSCODE_NLS_CONFIG":"{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}","VSCODE_CODE_CACHE_PATH":"/Users/dshrihan/Library/Application Support/Code/CachedData/f80445acd5a3dadef24aa209168452a3d97cc326","VSCODE_IPC_HOOK":"/Users/dshrihan/Library/Application Support/Code/1.64.2-main.sock","VSCODE_PID":"2975","ELECTRON_RUN_AS_NODE":"1","ELECTRON_NO_ATTACH_CONSOLE":"1","_":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron"}3d34609f8f2d

[main 2022-02-19T16:40:13.899Z] getUnixShellEnvironment#result {
  TMPDIR: '/var/folders/mk/dfb0422x6lx78qbb093mgh100000gn/T/',
  __CFBundleIdentifier: 'com.apple.Terminal',
  XPC_FLAGS: '0x0',
  TERM: 'xterm-256color',
  SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.xfFZZzIRdy/Listeners',
  XPC_SERVICE_NAME: '0',
  TERM_PROGRAM: 'Apple_Terminal',
  TERM_PROGRAM_VERSION: '443',
  TERM_SESSION_ID: '11120DCC-05CC-4E98-90F9-94E113B249ED',
  SHELL: '/bin/zsh',
  HOME: '/Users/dshrihan',
  LOGNAME: 'dshrihan',
  USER: 'dshrihan',
  PATH: '/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin',
  SHLVL: '1',
  PWD: '/Applications/Visual Studio Code.app/Contents/MacOS',
  OLDPWD: '/Applications/Visual Studio Code.app/Contents/MacOS',
  LANG: 'en_US.UTF-8',
  __CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x0',
  ORIGINAL_XDG_CURRENT_DESKTOP: 'undefined',
  VSCODE_CWD: '/Applications/Visual Studio Code.app/Contents/MacOS',
  VSCODE_NLS_CONFIG: '{"locale":"en-us","availableLanguages":{},"_languagePackSupport":true}',
  VSCODE_CODE_CACHE_PATH: '/Users/dshrihan/Library/Application Support/Code/CachedData/f80445acd5a3dadef24aa209168452a3d97cc326',
  VSCODE_IPC_HOOK: '/Users/dshrihan/Library/Application Support/Code/1.64.2-main.sock',
  VSCODE_PID: '2975',
  _: '/Applications/Visual Studio Code.app/Contents/MacOS/Electron'
}
[main 2022-02-19T16:40:13.928Z] resolveShellEnv(): running (macOS/Linux)
[main 2022-02-19T16:40:14.107Z] StorageMainService: creating workspace storage (1645239490697)
[main 2022-02-19T16:40:14.112Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.112Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.112Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.112Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.307Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:40:14.307Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:40:14.307Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:40:14.307Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:40:14.323Z] SharedProcess: on vscode:createSharedProcessMessageChannel
[main 2022-02-19T16:40:14.323Z] IPC Object URL: Registered new channel vscode:0a00cf88-cd60-4650-ad8e-51d5e77f8228.
[main 2022-02-19T16:40:14.360Z] menubarService#updateMenubar 1
[main 2022-02-19T16:40:14.389Z] menubarService#updateMenubar 1
[main 2022-02-19T16:40:14.390Z] resolveShellEnv(): running (macOS/Linux)
[main 2022-02-19T16:40:14.423Z] Starting extension host with pid 2988 (fork() took 2 ms).
[main 2022-02-19T16:40:14.423Z] ExtensionHostStarterWorker.start() took 4 ms.
[main 2022-02-19T16:40:14.464Z] SharedProcess: IPC ready
[main 2022-02-19T16:40:14.468Z] Main->SharedProcess#connect: connection established
[main 2022-02-19T16:40:14.471Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.471Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.471Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.471Z] [File Watcher (node.js)] Request to start watching: /Users/dshrihan/Library/Application Support/Code/User (excludes: <none>),/Users/dshrihan/Library/Application Support/Code/User/settings.json (excludes: <none>)
[main 2022-02-19T16:40:14.472Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.473Z] [File Watcher (node.js)] Started watching: '/Users/dshrihan/Library/Application Support/Code/User'
[main 2022-02-19T16:40:14.474Z] [File Watcher (node.js)] Started watching: '/Users/dshrihan/Library/Application Support/Code/User/settings.json'
[main 2022-02-19T16:40:14.493Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:14.493Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:14.530Z] RequestService#request https://update.code.visualstudio.com/api/update/darwin-arm64/stable/f80445acd5a3dadef24aa209168452a3d97cc326
[main 2022-02-19T16:40:14.530Z] resolveShellEnv(): running (macOS/Linux)
[main 2022-02-19T16:40:14.533Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.533Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.533Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.533Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:40:14.533Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:40:14.533Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:40:14.533Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:14.534Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:40:14.534Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:14.563Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_1_20220219T114014/tasks.log)
[main 2022-02-19T16:40:14.563Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_1_20220219T114014/tasks.log)
[main 2022-02-19T16:40:14.563Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_1_20220219T114014/extensions.log)
[main 2022-02-19T16:40:14.563Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_1_20220219T114014/extensions.log)
[main 2022-02-19T16:40:14.582Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_1_20220219T114014/extensions.log)
[main 2022-02-19T16:40:14.582Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_1_20220219T114014/tasks.log)
[main 2022-02-19T16:40:14.653Z] SharedProcess: Overall ready
[main 2022-02-19T16:40:14.706Z] menubarService#updateMenubar 1
[main 2022-02-19T16:40:14.757Z] SharedProcess: onWorkerConnection {
  process: {
    moduleId: 'vs/platform/files/node/watcher/watcherMain',
    type: 'fileWatcher'
  },
  reply: {
    windowId: 1,
    channel: 'vscode:createSharedProcessWorkerMessageChannelResult',
    nonce: '86a325bd-be6f-4930-8c9e-4423cb8b77d6'
  }
}
[main 2022-02-19T16:40:14.811Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:14.822Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:14.841Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:15.098Z] menubarService#updateMenubar 1
[main 2022-02-19T16:40:15.204Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:15.204Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:15.223Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:16.897Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:40:16.897Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:40:16.915Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:40:43.745Z] update#checkForUpdates, state =  idle
[main 2022-02-19T16:40:43.745Z] update#setState checking for updates
[main 2022-02-19T16:40:44.220Z] update#setState idle
[main 2022-02-19T16:40:47.035Z] menubarService#updateMenubar 1
[main 2022-02-19T16:40:50.902Z] menubarService#updateMenubar 1
[main 2022-02-19T16:40:53.239Z] windowsManager#open
[main 2022-02-19T16:40:53.239Z] windowsManager#open pathsToOpen [ [Object: null prototype] {} ]
[main 2022-02-19T16:40:53.240Z] windowsManager#doOpenEmpty {
  restore: false,
  remoteAuthority: 'ssh-remote+remote.eos.ncsu.edu',
  filesToOpen: undefined,
  forceNewWindow: true
}
[main 2022-02-19T16:40:53.240Z] IPC Object URL: Registered new channel vscode:32dbdb55-f271-42c1-857d-083b338ba721.
[main 2022-02-19T16:40:53.241Z] window#validateWindowState: validating window state on 1 display(s) {
  width: 1024,
  height: 768,
  mode: 1,
  x: 208,
  y: 66,
  hasDefaultState: true
}
[main 2022-02-19T16:40:53.241Z] window#validateWindowState: 1 monitor working area { x: 0, y: 25, width: 1440, height: 802 }
[main 2022-02-19T16:40:53.241Z] window#ctor: using window state {
  width: 1024,
  height: 768,
  mode: 1,
  x: 208,
  y: 66,
  hasDefaultState: true
}
[main 2022-02-19T16:40:53.278Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 0, emptyToRestore: 0, emptyToOpen: 1)
[main 2022-02-19T16:40:53.356Z] resolveShellEnv(): running (macOS/Linux)
[main 2022-02-19T16:40:53.392Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:53.392Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:53.409Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:53.541Z] StorageMainService: creating workspace storage (1645288853360)
[main 2022-02-19T16:40:53.552Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:53.552Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:53.552Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:53.553Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:53.674Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:40:53.674Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:40:53.674Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:40:53.674Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:40:53.687Z] SharedProcess: on vscode:createSharedProcessMessageChannel
[main 2022-02-19T16:40:53.720Z] menubarService#updateMenubar 3
[main 2022-02-19T16:40:53.797Z] menubarService#updateMenubar 3
[main 2022-02-19T16:40:53.803Z] Starting extension host with pid 3019 (fork() took 0 ms).
[main 2022-02-19T16:40:53.803Z] ExtensionHostStarterWorker.start() took 1 ms.
[main 2022-02-19T16:40:53.824Z] SharedProcess: onWorkerConnection {
  process: {
    moduleId: 'vs/platform/files/node/watcher/watcherMain',
    type: 'fileWatcher'
  },
  reply: {
    windowId: 3,
    channel: 'vscode:createSharedProcessWorkerMessageChannelResult',
    nonce: '27260e07-f4b8-43e3-b870-db7cb89696c7'
  }
}
[main 2022-02-19T16:40:53.844Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:53.844Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:53.844Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:53.845Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:40:53.845Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:40:53.845Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:40:53.845Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:40:53.845Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:40:53.846Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114053/tasks.log)
[main 2022-02-19T16:40:53.846Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114053/tasks.log)
[main 2022-02-19T16:40:53.846Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114053/extensions.log)
[main 2022-02-19T16:40:53.846Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114053/extensions.log)
[main 2022-02-19T16:40:53.866Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114053/tasks.log)
[main 2022-02-19T16:40:53.902Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:53.902Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:53.902Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114053/extensions.log)
[main 2022-02-19T16:40:53.920Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:54.232Z] menubarService#updateMenubar 3
[main 2022-02-19T16:40:54.339Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:54.339Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:54.358Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:54.575Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:54.575Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:40:54.594Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:19.379Z] menubarService#updateMenubar 3
[main 2022-02-19T16:41:19.871Z] menubarService#updateMenubar 3
[main 2022-02-19T16:41:20.150Z] RequestService#request https://update.code.visualstudio.com/api/update/darwin-arm64/stable/f80445acd5a3dadef24aa209168452a3d97cc326
[main 2022-02-19T16:41:20.150Z] resolveShellEnv(): running (macOS/Linux)
[main 2022-02-19T16:41:20.177Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:41:20.177Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:41:20.197Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:41:20.215Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:41:20.215Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:41:20.217Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:41:20.369Z] menubarService#updateMenubar 3
[main 2022-02-19T16:41:20.447Z] menubarService#updateMenubar 3
[main 2022-02-19T16:41:20.550Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:20.550Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:20.569Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:20.785Z] menubarService#updateMenubar 3
[main 2022-02-19T16:41:20.892Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:20.892Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:20.911Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:29.636Z] windowsManager#open
[main 2022-02-19T16:41:29.637Z] windowsManager#open pathsToOpen [
  {
    workspace: { id: '88d14f0f7b3e474f605aa26cefa39b3d', uri: [d] },
    remoteAuthority: 'ssh-remote+remote.eos.ncsu.edu',
    label: '~/sdadi2/p3 [SSH: remote.eos.ncsu.edu]'
  }
]
[main 2022-02-19T16:41:29.637Z] windowsManager#doOpenFolderOrWorkspace {
  folderOrWorkspace: {
    workspace: { id: '88d14f0f7b3e474f605aa26cefa39b3d', uri: [d] },
    remoteAuthority: 'ssh-remote+remote.eos.ncsu.edu',
    label: '~/sdadi2/p3 [SSH: remote.eos.ncsu.edu]'
  },
  filesToOpen: undefined
}
[main 2022-02-19T16:41:29.638Z] Lifecycle#unload() - window ID 3
[main 2022-02-19T16:41:29.639Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 1, emptyToRestore: 0, emptyToOpen: 0)
[main 2022-02-19T16:41:29.643Z] Lifecycle#unload() - no veto (window ID 3)
[main 2022-02-19T16:41:29.656Z] StorageMainService: closed workspace storage (1645288853360)
[main 2022-02-19T16:41:29.679Z] StorageMainService: creating workspace storage (88d14f0f7b3e474f605aa26cefa39b3d)
[main 2022-02-19T16:41:29.679Z] SharedProcess: disposing worker (reason: 'load') {
  process: {
    moduleId: 'vs/platform/files/node/watcher/watcherMain',
    type: 'fileWatcher'
  },
  reply: {
    windowId: 3,
    channel: 'vscode:createSharedProcessWorkerMessageChannelResult',
    nonce: '27260e07-f4b8-43e3-b870-db7cb89696c7'
  }
}
[main 2022-02-19T16:41:29.685Z] Extension host with pid 3019 exited with code: 0, signal: null.
[main 2022-02-19T16:41:29.748Z] resolveShellEnv(): running (macOS/Linux)
[main 2022-02-19T16:41:29.940Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:41:29.940Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:41:29.940Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:41:29.941Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:41:30.131Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:41:30.131Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:41:30.131Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:41:30.132Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/keybindings.json)
[main 2022-02-19T16:41:30.166Z] menubarService#updateMenubar 3
[main 2022-02-19T16:41:30.175Z] menubarService#updateMenubar 3
[main 2022-02-19T16:41:30.202Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:41:30.202Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:41:30.202Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:41:30.202Z] [Disk FileSystemProvider]: atomic read operation started (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:41:30.202Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:41:30.202Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:41:30.202Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/tasks.json)
[main 2022-02-19T16:41:30.202Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/User/settings.json)
[main 2022-02-19T16:41:30.206Z] Starting extension host with pid 3038 (fork() took 1 ms).
[main 2022-02-19T16:41:30.206Z] ExtensionHostStarterWorker.start() took 1 ms.
[main 2022-02-19T16:41:30.210Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114129/tasks.log)
[main 2022-02-19T16:41:30.210Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114129/tasks.log)
[main 2022-02-19T16:41:30.210Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114129/extensions.log)
[main 2022-02-19T16:41:30.210Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114129/extensions.log)
[main 2022-02-19T16:41:30.228Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114129/tasks.log)
[main 2022-02-19T16:41:30.228Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/logs/20220219T114013/output_3_20220219T114129/extensions.log)
[main 2022-02-19T16:41:30.276Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:30.276Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:30.295Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:30.619Z] menubarService#updateMenubar 3
[main 2022-02-19T16:41:30.725Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:30.725Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:30.746Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:31.003Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:31.003Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:31.022Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:31.926Z] SharedProcess: on vscode:createSharedProcessMessageChannel
[main 2022-02-19T16:41:31.940Z] SharedProcess: onWorkerConnection {
  process: {
    moduleId: 'vs/platform/files/node/watcher/watcherMain',
    type: 'fileWatcher'
  },
  reply: {
    windowId: 3,
    channel: 'vscode:createSharedProcessWorkerMessageChannelResult',
    nonce: 'cf549171-dcd7-4e2c-b656-8db94a7a6c29'
  }
}
[main 2022-02-19T16:41:32.197Z] menubarService#updateMenubar 3
[main 2022-02-19T16:41:32.303Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:32.303Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:32.323Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:32.430Z] menubarService#updateMenubar 3
[main 2022-02-19T16:41:35.750Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:41:35.750Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:41:35.769Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/defaults/configurationDefaultsOverrides/configuration.json)
[main 2022-02-19T16:41:36.072Z] RequestService#request https://update.code.visualstudio.com/api/update/darwin-arm64/stable/f80445acd5a3dadef24aa209168452a3d97cc326
[main 2022-02-19T16:41:36.072Z] resolveShellEnv(): running (macOS/Linux)
[main 2022-02-19T16:41:36.087Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.087Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.106Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.108Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.108Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.129Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.130Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.130Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.148Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.149Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.149Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.168Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.169Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.169Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.192Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.193Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.193Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.211Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.211Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.212Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.230Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.232Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.232Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.251Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.251Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.252Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.271Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.272Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.272Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.291Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.292Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.292Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.311Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.312Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.312Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.330Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.333Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.334Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.352Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.354Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.354Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.372Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.373Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.373Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:36.392Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/CachedConfigurations/folder/-6b9575ae/configuration.json)
[main 2022-02-19T16:41:39.613Z] Lifecycle#window.on('close') - window ID 3
[main 2022-02-19T16:41:39.614Z] Lifecycle#unload() - window ID 3
[main 2022-02-19T16:41:39.620Z] Lifecycle#unload() - no veto (window ID 3)
[main 2022-02-19T16:41:39.634Z] StorageMainService: closed workspace storage (88d14f0f7b3e474f605aa26cefa39b3d)
[main 2022-02-19T16:41:39.636Z] Lifecycle#onBeforeCloseWindow.fire() - window ID 3
[main 2022-02-19T16:41:39.637Z] IPC Object URL: Removed channel vscode:32dbdb55-f271-42c1-857d-083b338ba721.
[main 2022-02-19T16:41:39.638Z] Lifecycle#window.on('closed') - window ID 3
[main 2022-02-19T16:41:39.638Z] SharedProcess: disposing worker (reason: 'closed') {
  process: {
    moduleId: 'vs/platform/files/node/watcher/watcherMain',
    type: 'fileWatcher'
  },
  reply: {
    windowId: 3,
    channel: 'vscode:createSharedProcessWorkerMessageChannelResult',
    nonce: 'cf549171-dcd7-4e2c-b656-8db94a7a6c29'
  }
}
[main 2022-02-19T16:41:39.661Z] Extension host with pid 3038 exited with code: 0, signal: null.
[main 2022-02-19T16:41:39.901Z] menubarService#updateMenubar 1
[main 2022-02-19T16:41:40.008Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:40.008Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:40.029Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:40.818Z] menubarService#updateMenubar 1
[main 2022-02-19T16:41:43.349Z] Lifecycle#quit() - will restart: undefined
[main 2022-02-19T16:41:43.349Z] Lifecycle#quit() - calling app.quit()
[main 2022-02-19T16:41:43.349Z] Lifecycle#app.on(before-quit)
[main 2022-02-19T16:41:43.349Z] Lifecycle#onBeforeShutdown.fire()
[main 2022-02-19T16:41:43.349Z] [WindowsStateHandler] onBeforeShutdown {
  lastActiveWindow: {
    workspaceIdentifier: undefined,
    folder: undefined,
    backupPath: '/Users/dshrihan/Library/Application Support/Code/Backups/1645239490697',
    remoteAuthority: undefined,
    uiState: [Object: null prototype] {
      mode: 1,
      x: 187,
      y: 58,
      width: 1024,
      height: 768
    }
  },
  lastPluginDevelopmentHostWindow: undefined,
  openedWindows: []
}
[main 2022-02-19T16:41:43.350Z] SharedProcess#close prevented
[main 2022-02-19T16:41:43.350Z] Lifecycle#window.on('close') - window ID 1
[main 2022-02-19T16:41:43.350Z] Lifecycle#unload() - window ID 1
[main 2022-02-19T16:41:43.396Z] Lifecycle#unload() - no veto (window ID 1)
[main 2022-02-19T16:41:43.404Z] StorageMainService: closed workspace storage (1645239490697)
[main 2022-02-19T16:41:43.407Z] Lifecycle#onBeforeCloseWindow.fire() - window ID 1
[main 2022-02-19T16:41:43.407Z] IPC Object URL: Removed channel vscode:123d2170-8478-4814-993e-a568b5658b0c.
[main 2022-02-19T16:41:43.407Z] Lifecycle#window.on('closed') - window ID 1
[main 2022-02-19T16:41:43.408Z] Lifecycle#onWillShutdown.fire()
[main 2022-02-19T16:41:43.408Z] IPC Object URL: Removed channel vscode:0a00cf88-cd60-4650-ad8e-51d5e77f8228.
[main 2022-02-19T16:41:43.409Z] SharedProcess: disposing worker (reason: 'closed') {
  process: {
    moduleId: 'vs/platform/files/node/watcher/watcherMain',
    type: 'fileWatcher'
  },
  reply: {
    windowId: 1,
    channel: 'vscode:createSharedProcessWorkerMessageChannelResult',
    nonce: '86a325bd-be6f-4930-8c9e-4423cb8b77d6'
  }
}
[main 2022-02-19T16:41:43.415Z] [File Watcher (node.js)] Request to stop watching: /Users/dshrihan/Library/Application Support/Code/User,/Users/dshrihan/Library/Application Support/Code/User/settings.json
[main 2022-02-19T16:41:43.415Z] [File Watcher (node.js)] stopping file watcher on /Users/dshrihan/Library/Application Support/Code/User
[main 2022-02-19T16:41:43.416Z] [File Watcher (node.js)] stopping file watcher on /Users/dshrihan/Library/Application Support/Code/User/settings.json
[main 2022-02-19T16:41:43.416Z] Lifecycle#app.on(window-all-closed)
[main 2022-02-19T16:41:43.416Z] Lifecycle#app.on(will-quit)
[main 2022-02-19T16:41:43.417Z] Waiting for extension host with pid 2988 to exit.
[main 2022-02-19T16:41:43.425Z] Extension host with pid 2988 exited with code: 0, signal: null.
[main 2022-02-19T16:41:43.430Z] StorageMainService: closed global storage
[main 2022-02-19T16:41:43.432Z] [Disk FileSystemProvider]: request to acquire resource lock (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:43.433Z] [Disk FileSystemProvider]: new resource lock created (/Users/dshrihan/Library/Application Support/Code/storage.json)
[main 2022-02-19T16:41:43.454Z] [Disk FileSystemProvider]: resource lock disposed (/Users/dshrihan/Library/Application Support/Code/storage.json)
Shri333 commented 2 years ago

These are some of the screenshots of the developer console logs:

Screen Shot 2022-02-19 at 11 48 02 AM Screen Shot 2022-02-19 at 11 48 48 AM Screen Shot 2022-02-19 at 11 49 13 AM

It keeps trying to read settings.json, tasks.json, and launch.json in that order.

bpasero commented 2 years ago

There are many suspicious permission denied errors that make me wonder whether the folder you open as workspace is readable at all by the user you use to log in to the remote.

Any chance you could test this setup with a different server? Are we certain that the SSH connection has sufficient rights to read files and folders? I.e. does it work from a SSH terminal to list files of a folder and read them?

Shri333 commented 2 years ago

Yes, I have access to every file in my home directory (/afs/unity.ncsu.edu/users/s/sdadi2) through terminal:

Screen Shot 2022-02-19 at 1 17 45 PM
bpasero commented 2 years ago

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

Shri333 commented 2 years ago

Same bug with insiders: https://youtu.be/HyPw4GKCpvM

Shri333 commented 2 years ago

The weird thing is that it works initially with remote ssh 0.70 (vscode stable): https://youtu.be/dN1_bRgN28Q. If I try to reconnect (after quitting), I get the same error. I used to be able to connect to this server in 2021 (I used the extension for almost all of my university work), but this error seems new.

bpasero commented 2 years ago

@Shri333 if it works with 0.7.0 initially, can you figure out what the first version is where it fails right on startup?

Shri333 commented 2 years ago

It fails right on startup with the release version (0.74) and pre-release

roblourens commented 2 years ago

The version thing is pretty weird. I don't know of anything in the SSH extension that could cause a bug like this. If you got to this point, the frontend is able to talk to the server and extension host.

In the broken state, can you do anything? Can you open a terminal, open an individual file, do a search?

Shri333 commented 2 years ago

Terminal surprisingly works. If I try to create any file, I get a permission denied error.

bpasero commented 2 years ago

If I try to create any file, I get a permission denied error.

That indicates to me an issue with the SSH connection and not with VSCode. I.e. somehow the user account that is associated with the connection does not have sufficient permissions to access files. I am still surprised though that the connection can be established and the file picker shows you a list of files.

Does it reproduce with all folders or just some?

Shri333 commented 2 years ago

Yeah, it reproduces with all folders under my home directory. The ssh connection through terminal works fine: I can access all files, create new files, delete files, and update files.

roblourens commented 2 years ago

Sorry, it sounds like this might be some sort of exotic situation with permissions. If it is really consistently working with 0.70 but not newer versions, you could install the intermediate versions and let me know which was the first one to break it?

Right click the Remote-SSH extension and click "Switch to pre-release". Then, "Install another version"

image
Shri333 commented 2 years ago

Thanks for the response. With the latest version, I just noticed that I can open individual files, but I can't open folders. This is the error message that I am getting with version 0.71.202210715 (I haven't seen this error before):

[18:08:15.022] Terminating local server
[18:08:15.025] Resolver error: Error: The VS Code Server failed to start
    at Function.ServerInstallError (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:431037)
    at d (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:425272)
    at Object.t.handleInstallOutput (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:428349)
    at Object.e [as tryInstallWithLocalServer] (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:469838)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async /Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:487436
    at async Object.t.withShowDetailsEvent (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:491183)
    at async /Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:468281
    at async E (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:464789)
    at async Object.t.resolveWithLocalServer (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:467896)
    at async Object.t.resolve (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:488793)
    at async /Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:565058
[18:08:15.030] ------

[18:08:15.031] Local server exit: 15
roblourens commented 2 years ago

That would be a different issue, can you share the full log? Ideally we would see an error in the server's log file from the server trying to start.

Shri333 commented 2 years ago

@roblourens Here is the full log:

[12:43:42.085] Log Level: 2
[12:43:42.086] remote-ssh@0.71.202210715
[12:43:42.086] darwin arm64
[12:43:42.086] SSH Resolver called for "ssh-remote+remote.eos.ncsu.edu", attempt 1
[12:43:42.086] "remote.SSH.useLocalServer": true
[12:43:42.086] "remote.SSH.path": undefined
[12:43:42.086] "remote.SSH.configFile": undefined
[12:43:42.087] "remote.SSH.useFlock": true
[12:43:42.087] "remote.SSH.lockfilesInTmp": false
[12:43:42.087] "remote.SSH.localServerDownload": auto
[12:43:42.087] "remote.SSH.remoteServerListenOnSocket": false
[12:43:42.087] "remote.SSH.showLoginTerminal": false
[12:43:42.087] "remote.SSH.defaultExtensions": []
[12:43:42.087] "remote.SSH.loglevel": 2
[12:43:42.087] "remote.SSH.enableDynamicForwarding": true
[12:43:42.087] "remote.SSH.enableRemoteCommand": false
[12:43:42.087] "remote.SSH.serverPickPortsFromRange": {}
[12:43:42.087] "remote.SSH.serverInstallPath": {}
[12:43:42.089] SSH Resolver called for host: remote.eos.ncsu.edu
[12:43:42.089] Setting up SSH remote "remote.eos.ncsu.edu"
[12:43:42.090] Acquiring local install lock: /var/folders/gg/7m50tpq575n8b9m6d66x86pr0000gn/T/vscode-remote-ssh-4309a027-install.lock
[12:43:42.095] Looking for existing server data file at /Users/dshrihan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4309a027-c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1-0.71.202210715/data.json
[12:43:42.095] Using commit id "c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1" and quality "stable" for server
[12:43:42.098] Install and start server if needed
[12:43:42.100] PATH: /Users/dshrihan/miniconda3/envs/vv8apis/bin:/Users/dshrihan/miniconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Applications/Postgres.app/Contents/Versions/latest/bin
[12:43:42.100] Checking ssh with "ssh -V"
[12:43:42.104] > OpenSSH_8.6p1, LibreSSL 3.3.5

[12:43:42.105] askpass server listening on /var/folders/gg/7m50tpq575n8b9m6d66x86pr0000gn/T/vscode-ssh-askpass-55299ea3a208ee6ae500b3842429e1435a665729.sock
[12:43:42.105] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/gg/7m50tpq575n8b9m6d66x86pr0000gn/T/vscode-ssh-askpass-9627f479b1bf13e7793c6c90c56cdb6df78cac14.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","53478","-o","ConnectTimeout=15","remote.eos.ncsu.edu"],"dataFilePath":"/Users/dshrihan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4309a027-c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1-0.71.202210715/data.json"}
[12:43:42.105] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/gg/7m50tpq575n8b9m6d66x86pr0000gn/T/vscode-ssh-askpass-55299ea3a208ee6ae500b3842429e1435a665729.sock"}
[12:43:42.106] Spawned 11317
[12:43:42.157] > local-server-1> Spawned ssh, pid=11321
[12:43:42.159] stderr> OpenSSH_8.6p1, LibreSSL 3.3.5
[12:43:42.268] stderr> debug1: Server host key: ssh-ed25519 SHA256:bABqg6ZnghChjiB0+yjaQTj0kzvQ8xytCXqXOW8GG10
[12:43:42.445] Got askpass request: {"request":"(sdadi2@remote.eos.ncsu.edu) Password:"}
[12:43:42.449] Showing password prompt
[12:43:42.449] Listening for interwindow password on /var/folders/gg/7m50tpq575n8b9m6d66x86pr0000gn/T/vscode-ssh-askpass-f68da3469459137f66ebce419ec85949afef4d8a.sock
[12:43:42.449] Writing password prompt to globalState
[12:43:45.416] Got password response
[12:43:45.417] Interactor gave response: ************
[12:43:45.418] Cleaning up other-window auth server
[12:43:46.897] stderr> Authenticated to remote.eos.ncsu.edu ([152.1.0.178]:22).
[12:43:47.983] > ready: c519c117cdaf
[12:43:47.998] > Linux 3.10.0-1160.59.1.el7.x86_64 #1 SMP Wed Feb 16 12:17:35 UTC 2022
[12:43:47.999] Platform: linux
[12:43:48.049] > c519c117cdaf: running
[12:43:48.098] > Acquiring lock on /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/bin/c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1/vscode-remote-lock.sdadi2.c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1
[12:43:48.104] > Installing to /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/bin/c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1...
[12:43:48.110] > c519c117cdaf%%1%%
[12:43:48.112] > Downloading with wget
[12:43:50.983] > Download complete
> c519c117cdaf%%2%%
> tar --version:
> tar (GNU tar) 1.26
> Copyright (C) 2011 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://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.
[12:44:03.272] > Checking /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1.log and /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1.pid for a running server
> Starting server with command... /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/bin/c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1/server.sh --start-server --host=127.0.0.1 --enable-remote-auto-shutdown --port=0    &> "/afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1.log" < /dev/null
> printenv:
>     MANPATH=:/opt/puppetlabs/puppet/share/man
>     XDG_SESSION_ID=6385
>     HOSTNAME=engr-ras-204.eos.ncsu.edu
>     SELINUX_ROLE_REQUESTED=
>     SHELL=/bin/bash
>     HISTSIZE=1000
>     SSH_CLIENT=136.56.24.163 53480 22
>     SELINUX_USE_CURRENT_RANGE=
>     TEC_360_2021=/opt/tecplot360ex-2021r1/360ex_2021r1
>     QTDIR=/usr/lib64/qt-3.3
>     QTINC=/usr/lib64/qt-3.3/include
>     TEC_CHORUS_2021=/opt/tecplot360ex-2021r1/chorus_2021r1
>     QT_GRAPHICSSYSTEM_CHECKED=1
>     USER=sdadi2
>     VSCODE_AGENT_FOLDER=/afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server
>     PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin:/opt/tecplot360ex-2021r1/360ex_2021r1/bin:/opt/tecplot360ex-2021r1/chorus_2021r1/bin:/afs/unity.ncsu.edu/users/s/sdadi2/.local/bin:/afs/unity.ncsu.edu/users/s/sdadi2/bin
>     MAIL=/var/spool/mail/sdadi2
>     PWD=/afs/unity.ncsu.edu/users/s/sdadi2
>     LANG=en_US.UTF-8
>     MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles
>     LOADEDMODULES=
>     SELINUX_LEVEL_REQUESTED=
>     KRB5CCNAME=KEYRING:persistent:330051
>     HISTCONTROL=ignoredups
>     HOME=/afs/unity.ncsu.edu/users/s/sdadi2
>     SHLVL=2
>     LOGNAME=sdadi2
>     QTLIB=/usr/lib64/qt-3.3/lib
>     SSH_CONNECTION=136.56.24.163 53480 152.1.0.178 22
>     MODULESHOME=/usr/share/Modules
>     LESSOPEN=||/usr/bin/lesspipe.sh %s
>     XDG_RUNTIME_DIR=/run/user/330051
>     BASH_FUNC_module()=() {  eval `/usr/bin/modulecmd bash $*`
>     }
>     _=/usr/bin/printenv
>     OLDPWD=/afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/bin/c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1
> Spawned remote server: 82605
> Waiting for server log...
[12:44:03.273] stderr> rm: cannot remove ‘/afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1.token’: No such file or directory
[12:44:03.288] > Waiting for server log...
[12:44:03.328] > Waiting for server log...
[12:44:03.362] > Waiting for server log...
[12:44:03.396] > Waiting for server log...
[12:44:03.431] > Waiting for server log...
[12:44:03.468] > Waiting for server log...
[12:44:03.505] > Waiting for server log...
[12:44:03.540] > Waiting for server log...
[12:44:03.575] > Waiting for server log...
[12:44:03.610] > Waiting for server log...
[12:44:03.646] > Waiting for server log...
[12:44:03.679] > Waiting for server log...
[12:44:03.716] > Waiting for server log...
[12:44:03.750] > Waiting for server log...
[12:44:03.785] > Waiting for server log...
[12:44:03.822] > Waiting for server log...
[12:44:03.857] > Waiting for server log...
[12:44:03.892] > Waiting for server log...
[12:44:03.927] > Waiting for server log...
[12:44:03.962] > Waiting for server log...
[12:44:03.997] > Waiting for server log...
[12:44:04.033] > Waiting for server log...
[12:44:04.068] > Waiting for server log...
[12:44:04.104] > Waiting for server log...
[12:44:04.141] > Waiting for server log...
[12:44:04.177] > Waiting for server log...
[12:44:04.210] > Waiting for server log...
[12:44:04.245] > Waiting for server log...
[12:44:04.280] > Waiting for server log...
[12:44:04.314] > Waiting for server log...
[12:44:04.351] > Waiting for server log...
[12:44:04.387] > Waiting for server log...
[12:44:04.421] > Waiting for server log...
[12:44:04.456] > Waiting for server log...
[12:44:04.491] > Waiting for server log...
[12:44:04.528] > Waiting for server log...
[12:44:04.563] > Waiting for server log...
[12:44:04.599] > Waiting for server log...
[12:44:04.632] > Waiting for server log...
[12:44:04.669] > Waiting for server log...
[12:44:04.703] > Waiting for server log...
[12:44:04.739] > Waiting for server log...
[12:44:04.775] > Waiting for server log...
[12:44:04.807] > Waiting for server log...
[12:44:04.842] > Waiting for server log...
[12:44:04.876] > Waiting for server log...
[12:44:04.909] > Waiting for server log...
[12:44:04.945] > Waiting for server log...
[12:44:04.980] > Waiting for server log...
[12:44:05.013] > Waiting for server log...
[12:44:05.047] > Waiting for server log...
[12:44:05.082] > Waiting for server log...
[12:44:05.119] > Waiting for server log...
[12:44:05.153] > Waiting for server log...
[12:44:05.186] > Waiting for server log...
[12:44:05.221] > Waiting for server log...
[12:44:05.256] > Waiting for server log...
[12:44:05.291] > Waiting for server log...
[12:44:05.326] > Waiting for server log...
[12:44:05.362] > Waiting for server log...
[12:44:05.395] > Waiting for server log...
[12:44:05.429] > Waiting for server log...
[12:44:05.465] > Waiting for server log...
[12:44:05.500] > Waiting for server log...
[12:44:05.534] > Waiting for server log...
[12:44:05.569] > Waiting for server log...
[12:44:05.603] > Waiting for server log...
[12:44:05.638] > Waiting for server log...
[12:44:05.673] > Waiting for server log...
[12:44:05.706] > Waiting for server log...
[12:44:05.742] > Waiting for server log...
[12:44:05.776] > Waiting for server log...
[12:44:05.812] > Waiting for server log...
[12:44:05.847] > Waiting for server log...
[12:44:05.880] > Waiting for server log...
[12:44:05.915] > Waiting for server log...
[12:44:05.951] > Waiting for server log...
[12:44:05.985] > Waiting for server log...
[12:44:06.022] > Waiting for server log...
[12:44:06.056] > Waiting for server log...
[12:44:06.090] > Waiting for server log...
[12:44:06.126] > Waiting for server log...
[12:44:06.160] > Waiting for server log...
[12:44:06.195] > Waiting for server log...
[12:44:06.231] > Waiting for server log...
[12:44:06.265] > Waiting for server log...
[12:44:06.301] > Waiting for server log...
[12:44:06.335] > Waiting for server log...
[12:44:06.369] > Waiting for server log...
[12:44:06.405] > Waiting for server log...
[12:44:06.439] > Waiting for server log...
[12:44:06.474] > Waiting for server log...
[12:44:06.510] > Waiting for server log...
[12:44:06.543] > Waiting for server log...
[12:44:06.578] > Waiting for server log...
[12:44:06.614] > Waiting for server log...
[12:44:06.648] > Waiting for server log...
[12:44:06.683] > Waiting for server log...
[12:44:06.719] > Waiting for server log...
[12:44:06.756] > Waiting for server log...
[12:44:06.790] > Waiting for server log...
[12:44:06.825] > Waiting for server log...
[12:44:06.863] > Waiting for server log...
[12:44:06.896] > Waiting for server log...
[12:44:06.930] > Waiting for server log...
[12:44:06.965] > Waiting for server log...
[12:44:06.999] > Waiting for server log...
[12:44:07.035] > Waiting for server log...
[12:44:07.071] > Waiting for server log...
[12:44:07.104] > Waiting for server log...
[12:44:07.140] > Waiting for server log...
[12:44:07.174] > Waiting for server log...
[12:44:07.211] > Waiting for server log...
[12:44:07.245] > Waiting for server log...
[12:44:07.281] > Waiting for server log...
[12:44:07.315] > Waiting for server log...
[12:44:07.351] > Waiting for server log...
[12:44:07.385] > Waiting for server log...
[12:44:07.419] > Waiting for server log...
[12:44:07.456] > Waiting for server log...
[12:44:07.492] > Waiting for server log...
[12:44:07.526] > Waiting for server log...
[12:44:07.560] > Waiting for server log...
[12:44:07.597] > Waiting for server log...
[12:44:07.632] > Waiting for server log...
[12:44:07.669] > Waiting for server log...
[12:44:07.701] > Waiting for server log...
[12:44:07.735] > Waiting for server log...
[12:44:07.769] > Waiting for server log...
[12:44:07.805] > Waiting for server log...
[12:44:07.840] > Waiting for server log...
[12:44:07.876] > Waiting for server log...
[12:44:07.909] > Waiting for server log...
[12:44:07.943] > Waiting for server log...
[12:44:07.981] > Waiting for server log...
[12:44:08.015] > Waiting for server log...
[12:44:08.051] > Waiting for server log...
[12:44:08.086] > Waiting for server log...
[12:44:08.119] > Waiting for server log...
[12:44:08.159] > Waiting for server log...
[12:44:08.209] > Waiting for server log...
[12:44:08.225] > Waiting for server log...
[12:44:08.258] > Waiting for server log...
[12:44:08.293] > Waiting for server log...
[12:44:08.330] > Waiting for server log...
[12:44:08.363] > Waiting for server log...
[12:44:08.399] > Waiting for server log...
[12:44:08.434] > Waiting for server log...
[12:44:08.471] > Waiting for server log...
[12:44:08.503] > Waiting for server log...
[12:44:08.539] > Waiting for server log...
[12:44:08.574] > Waiting for server log...
[12:44:08.610] > Waiting for server log...
[12:44:08.644] > Waiting for server log...
[12:44:08.680] > Waiting for server log...
[12:44:08.715] > Waiting for server log...
[12:44:08.749] > Waiting for server log...
[12:44:08.784] > Waiting for server log...
[12:44:08.817] > Waiting for server log...
[12:44:08.854] > Waiting for server log...
[12:44:08.888] > Waiting for server log...
[12:44:08.921] > Waiting for server log...
[12:44:08.957] > Waiting for server log...
[12:44:08.991] > Waiting for server log...
[12:44:09.027] > Waiting for server log...
[12:44:09.063] > Waiting for server log...
[12:44:09.097] > Waiting for server log...
[12:44:09.130] > Waiting for server log...
[12:44:09.166] > Waiting for server log...
[12:44:09.201] > Waiting for server log...
[12:44:09.234] > Waiting for server log...
[12:44:09.270] > Waiting for server log...
[12:44:09.303] > Waiting for server log...
[12:44:09.339] > Waiting for server log...
[12:44:09.372] > Waiting for server log...
[12:44:09.410] > Waiting for server log...
[12:44:09.443] > Waiting for server log...
[12:44:09.477] > Waiting for server log...
[12:44:09.512] > Waiting for server log...
[12:44:09.547] > Waiting for server log...
[12:44:09.580] > Waiting for server log...
[12:44:09.615] > Waiting for server log...
[12:44:09.650] > Waiting for server log...
[12:44:09.686] > Waiting for server log...
[12:44:09.719] > Waiting for server log...
[12:44:09.754] > Waiting for server log...
[12:44:09.795] > Waiting for server log...
[12:44:09.833] > Waiting for server log...
[12:44:09.865] > Waiting for server log...
[12:44:09.900] > Waiting for server log...
[12:44:09.935] > Waiting for server log...
[12:44:09.970] > Waiting for server log...
[12:44:10.005] > Waiting for server log...
[12:44:10.038] > Waiting for server log...
[12:44:10.074] > Waiting for server log...
[12:44:10.109] > Waiting for server log...
[12:44:10.145] > Waiting for server log...
[12:44:10.179] > Waiting for server log...
[12:44:10.219] > Waiting for server log...
[12:44:10.254] > Waiting for server log...
[12:44:10.289] > Waiting for server log...
[12:44:10.322] > Waiting for server log...
[12:44:10.358] > Waiting for server log...
[12:44:10.393] > Waiting for server log...
[12:44:10.428] > Waiting for server log...
[12:44:10.464] > Waiting for server log...
[12:44:10.503] > Waiting for server log...
[12:44:10.534] > Waiting for server log...
[12:44:10.569] > Waiting for server log...
[12:44:10.605] > Waiting for server log...
[12:44:10.638] > Waiting for server log...
[12:44:10.675] > Waiting for server log...
[12:44:10.710] > Waiting for server log...
[12:44:10.747] > Waiting for server log...
[12:44:10.800] > Waiting for server log...
[12:44:10.835] > Waiting for server log...
[12:44:10.877] > Waiting for server log...
[12:44:10.907] > Waiting for server log...
[12:44:10.940] > Waiting for server log...
[12:44:10.975] > Waiting for server log...
[12:44:11.011] >  
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
>  
[12:44:11.018] > Server did not start successfully. Full server log at /afs/unity.ncsu.edu/users/s/sdadi2/.vscode-server/.c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1.log >>>
[12:44:11.020] > server.sh is being replaced by 'bin/code-server'. Please migrate to the new command and adopt the following new default behaviors:
> * connection token is mandatory unless --without-connection-token is used
> * host defaults to `localhost`
> *
> * Visual Studio Code Server
> *
> * By using the software, you agree to
> * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
> * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
> *
> To accept the license terms, start the server with --accept-server-license-terms
> <<< End of server log
> c519c117cdaf: start
> exitCode==32==
> listeningOn====
> osReleaseId==rhel==
> arch==x86_64==
> tmpDir==/run/user/330051==
> platform==linux==
> unpackResult==success==
> didLocalDownload==0==
> downloadTime==2865==
> installTime==12134==
> extInstallTime====
> serverStartTime==7774==
> c519c117cdaf: end
[12:44:11.021] Received install output: 
exitCode==32==
listeningOn====
osReleaseId==rhel==
arch==x86_64==
tmpDir==/run/user/330051==
platform==linux==
unpackResult==success==
didLocalDownload==0==
downloadTime==2865==
installTime==12134==
extInstallTime====
serverStartTime==7774==

[12:44:11.023] Terminating local server
[12:44:11.024] Resolver error: Error: The VS Code Server failed to start
    at Function.ServerInstallError (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:431037)
    at d (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:425272)
    at Object.t.handleInstallOutput (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:428349)
    at Object.e [as tryInstallWithLocalServer] (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:469838)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async /Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:487436
    at async Object.t.withShowDetailsEvent (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:491183)
    at async /Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:468281
    at async E (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:464789)
    at async Object.t.resolveWithLocalServer (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:467896)
    at async Object.t.resolve (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:488793)
    at async /Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:565058
[12:44:11.030] ------

[12:44:11.030] Local server exit: 15
roblourens commented 2 years ago

Oh yeah, also older versions of the remote-ssh extension will not work with the latest vscode. You will have to test with a version of vscode from a couple months ago. You can get download links off our release notes.

Shri333 commented 2 years ago

Ok, I installed VSCode version 1.64 (Jan 2022), and I tested the same remote extension version (0.71.202210715). This is the log I got:

[18:36:18.687] Log Level: 2
[18:36:18.688] remote-ssh@0.71.202210715
[18:36:18.688] darwin arm64
[18:36:18.689] SSH Resolver called for "ssh-remote+remote.eos.ncsu.edu", attempt 1
[18:36:18.689] "remote.SSH.useLocalServer": true
[18:36:18.689] "remote.SSH.path": undefined
[18:36:18.689] "remote.SSH.configFile": undefined
[18:36:18.689] "remote.SSH.useFlock": true
[18:36:18.689] "remote.SSH.lockfilesInTmp": false
[18:36:18.689] "remote.SSH.localServerDownload": auto
[18:36:18.689] "remote.SSH.remoteServerListenOnSocket": false
[18:36:18.689] "remote.SSH.showLoginTerminal": false
[18:36:18.689] "remote.SSH.defaultExtensions": []
[18:36:18.690] "remote.SSH.loglevel": 2
[18:36:18.690] "remote.SSH.enableDynamicForwarding": true
[18:36:18.690] "remote.SSH.enableRemoteCommand": false
[18:36:18.690] "remote.SSH.serverPickPortsFromRange": {}
[18:36:18.690] "remote.SSH.serverInstallPath": {}
[18:36:18.690] SSH Resolver called for host: remote.eos.ncsu.edu
[18:36:18.690] Setting up SSH remote "remote.eos.ncsu.edu"
[18:36:18.692] Acquiring local install lock: /var/folders/gg/7m50tpq575n8b9m6d66x86pr0000gn/T/vscode-remote-ssh-4309a027-install.lock
[18:36:18.696] Looking for existing server data file at /Users/dshrihan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4309a027-f80445acd5a3dadef24aa209168452a3d97cc326-0.71.202210715/data.json
[18:36:18.696] Using commit id "f80445acd5a3dadef24aa209168452a3d97cc326" and quality "stable" for server
[18:36:18.698] Install and start server if needed
[18:36:18.700] PATH: /Users/dshrihan/miniconda3/envs/vv8apis/bin:/Users/dshrihan/miniconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Applications/Postgres.app/Contents/Versions/latest/bin
[18:36:18.700] Checking ssh with "ssh -V"
[18:36:18.709] > OpenSSH_8.6p1, LibreSSL 3.3.5

[18:36:18.710] askpass server listening on /var/folders/gg/7m50tpq575n8b9m6d66x86pr0000gn/T/vscode-ssh-askpass-3faef697da851d15e958c731d6e258cb08a840b3.sock
[18:36:18.710] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/gg/7m50tpq575n8b9m6d66x86pr0000gn/T/vscode-ssh-askpass-e9c47b88decef81c151b603c6ac41b73c483413f.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","56141","-o","ConnectTimeout=15","remote.eos.ncsu.edu"],"dataFilePath":"/Users/dshrihan/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-4309a027-f80445acd5a3dadef24aa209168452a3d97cc326-0.71.202210715/data.json"}
[18:36:18.710] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/gg/7m50tpq575n8b9m6d66x86pr0000gn/T/vscode-ssh-askpass-3faef697da851d15e958c731d6e258cb08a840b3.sock"}
[18:36:18.711] Spawned 20713
[18:36:18.761] > local-server-1> Spawned ssh, pid=20717
[18:36:18.763] stderr> OpenSSH_8.6p1, LibreSSL 3.3.5
[18:36:18.867] stderr> debug1: Server host key: ssh-ed25519 SHA256:bABqg6ZnghChjiB0+yjaQTj0kzvQ8xytCXqXOW8GG10
[18:36:20.558] Got askpass request: {"request":"(sdadi2@remote.eos.ncsu.edu) Password:"}
[18:36:20.559] Showing password prompt
[18:36:20.559] Listening for interwindow password on /var/folders/gg/7m50tpq575n8b9m6d66x86pr0000gn/T/vscode-ssh-askpass-90a161fc443fb2303dea254634b4aa44f56925bc.sock
[18:36:20.559] Writing password prompt to globalState
[18:36:25.640] Got password response
[18:36:25.641] Interactor gave response: ************
[18:36:25.642] Cleaning up other-window auth server
[18:36:27.139] stderr> Authenticated to remote.eos.ncsu.edu ([152.1.0.181]:22).
[18:36:42.644] Terminating local server
[18:36:42.646] Resolver error: Error: Connecting with SSH timed out
    at Function.Timeout (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:431229)
    at Timeout._onTimeout (/Users/dshrihan/.vscode/extensions/ms-vscode-remote.remote-ssh-0.71.202210715/out/extension.js:1:475824)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)
[18:36:42.646] Local server exit: 15
[18:36:42.648] ------
Shri333 commented 2 years ago

By the way, whenever any error happens, I am always able to kill the server on the host using the command palette (so I am not sure why I am not able to connect through the extension to view folders/files).

roblourens commented 2 years ago

I don't understand, now it seems like we logged in but our install script never ran. That's an entirely new issue right?

Shri333 commented 2 years ago

Yeah, it is a new issue, but it is appearing with that specific ssh version (remote-ssh@0.71.202210715). The latest ssh version doesn't have this issue (but has the previous issue we were discussing before with the workspace error).

roblourens commented 2 years ago

Right. Maybe there was a bug in that version, if it was working in earlier versions

github-actions[bot] commented 2 years ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!