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.69k stars 296 forks source link

spawn-helper doesn't load macos cli environment correctly for vscode tasks #9835

Closed eplatek-safyr closed 4 weeks ago

eplatek-safyr commented 7 months ago
First run of vscode-server ``` [14:08:52.824] Log Level: 2 [14:08:52.841] VS Code version: 1.88.1 [14:08:52.841] Remote-SSH version: remote-ssh@0.111.2024040515 [14:08:52.841] win32 x64 [14:08:52.854] SSH Resolver called for "ssh-remote+mac-mini", attempt 1 [14:08:52.855] "remote.SSH.useLocalServer": false [14:08:52.855] "remote.SSH.useExecServer": true [14:08:52.857] "remote.SSH.showLoginTerminal": false [14:08:52.857] "remote.SSH.remotePlatform": {"mac-dev":"macOS","mac-mini":"macOS","mac-air":"macOS"} [14:08:52.858] "remote.SSH.path": undefined [14:08:52.858] "remote.SSH.configFile": undefined [14:08:52.858] "remote.SSH.useFlock": true [14:08:52.858] "remote.SSH.lockfilesInTmp": false [14:08:52.858] "remote.SSH.localServerDownload": auto [14:08:52.858] "remote.SSH.remoteServerListenOnSocket": false [14:08:52.858] "remote.SSH.showLoginTerminal": false [14:08:52.859] "remote.SSH.defaultExtensions": [] [14:08:52.859] "remote.SSH.loglevel": 2 [14:08:52.859] "remote.SSH.enableDynamicForwarding": true [14:08:52.859] "remote.SSH.enableRemoteCommand": false [14:08:52.859] "remote.SSH.serverPickPortsFromRange": {} [14:08:52.860] "remote.SSH.serverInstallPath": {} [14:08:52.868] SSH Resolver called for host: mac-mini [14:08:52.868] Setting up SSH remote "mac-mini" [14:08:52.873] Using commit id "e170252f762678dec6ca2cc69aba1570769a5d39" and quality "stable" for server [14:08:52.878] Install and start server if needed [14:08:52.880] Checking ssh with "C:\Python312\Scripts\ssh.exe -V" [14:08:52.882] Got error from ssh: spawn C:\Python312\Scripts\ssh.exe ENOENT [14:08:52.882] Checking ssh with "C:\Python312\ssh.exe -V" [14:08:52.883] Got error from ssh: spawn C:\Python312\ssh.exe ENOENT [14:08:52.883] Checking ssh with "C:\Program Files\Oculus\Support\oculus-runtime\ssh.exe -V" [14:08:52.883] Got error from ssh: spawn C:\Program Files\Oculus\Support\oculus-runtime\ssh.exe ENOENT [14:08:52.884] Checking ssh with "C:\Python311\Scripts\ssh.exe -V" [14:08:52.884] Got error from ssh: spawn C:\Python311\Scripts\ssh.exe ENOENT [14:08:52.884] Checking ssh with "C:\Python311\ssh.exe -V" [14:08:52.885] Got error from ssh: spawn C:\Python311\ssh.exe ENOENT [14:08:52.885] Checking ssh with "C:\Windows\system32\ssh.exe -V" [14:08:52.886] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT [14:08:52.886] Checking ssh with "C:\Windows\ssh.exe -V" [14:08:52.887] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT [14:08:52.887] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V" [14:08:52.888] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT [14:08:52.888] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V" [14:08:52.889] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT [14:08:52.889] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V" [14:08:52.917] > OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3 [14:08:52.924] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 53682 "mac-mini" bash [14:08:52.926] Terminal shell path: C:\Windows\System32\cmd.exe [14:08:53.638] > 1c8c3184072c: running > ]0;C:\Windows\System32\cmd.exe [14:08:53.638] Got some output, clearing connection timeout [14:08:53.645] > Found existing installation at /Users/elias/.vscode-server... > Starting VS Code CLI... "/Users/elias/.vscode-server/code-e170252f762678dec6ca2cc69aba1570769a5d39" command-shell --cli-data-dir "/Users/elias/.vscode-server/cli" --on-port --parent-process-id 450 &> "/Users/elias/.vscode-server/.cli.e170252f762678dec6ca2cc69aba1570769a5d39.log" < /dev/null > printenv: > SHELL=/bin/zsh > TMPDIR=/var/folders/rf/n21trpp57mdd8f6vc56qtq0w0000gn/T/ > SSH_CLIENT=192.168.1.29 53685 22 > USER=elias > VSCODE_AGENT_FOLDER=/Users/elias/.vscode-server > PATH=/usr/bin:/bin:/usr/sbin:/sbin > PWD=/Users/elias > SHLVL=1 > HOME=/Users/elias > LOGNAME=elias > SSH_CONNECTION=192.168.1.29 53685 192.168.1.129 22 > _=/usr/bin/printenv > Removing old logfile at /Users/elias/.vscode-server/.cli.e170252f762678dec6ca2cc69aba1570769a5d39.log > Spawned remote CLI: 477 > Waiting for server log... [14:08:53.692] > Waiting for server log... [14:08:53.740] > Waiting for server log... [14:08:53.769] > 1c8c3184072c: start > SSH_AUTH_SOCK==== > DISPLAY==== > listeningOn==127.0.0.1:49152== > osReleaseId==Darwin== > arch==arm64== > vscodeArch==arm64== > bitness==64== > tmpDir==/tmp== > platform==macOS== > unpackResult==== > didLocalDownload==0== > downloadTime==== > installTime==== > serverStartTime==0== > execServerToken==11111a11-1111-11a1-1a1a-111111a11a11== > 1c8c3184072c: end [14:08:53.769] Received install output: SSH_AUTH_SOCK==== DISPLAY==== listeningOn==127.0.0.1:49152== osReleaseId==Darwin== arch==arm64== vscodeArch==arm64== bitness==64== tmpDir==/tmp== platform==macOS== unpackResult==== didLocalDownload==0== downloadTime==== installTime==== serverStartTime==0== execServerToken==11111a11-1111-11a1-1a1a-111111a11a11== [14:08:53.770] Remote server is listening on port 49152 [14:08:53.770] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":49152},"osReleaseId":"Darwin","arch":"arm64","sshAuthSock":"","display":"","tmpDir":"/tmp","platform":"macOS","execServerToken":"11111a11-1111-11a1-1a1a-111111a11a11"},"serverStartTime":0,"installUnpackCode":""} [14:08:53.770] ** Note: Support for architecture "arm64" is in preview ** [14:08:53.772] Starting forwarding server. local port 53686 -> socksPort 53682 -> remotePort 49152 [14:08:53.773] Forwarding server listening on port 53686 [14:08:53.773] Waiting for ssh tunnel to be ready [14:08:53.775] [Forwarding server port 53686] Got connection 0 [14:08:53.775] Tunneled port 49152 to local port 53686 [14:08:53.776] Resolved "ssh-remote+mac-mini" to "port 53686" [14:08:53.782] Initizing new exec server for ssh-remote+mac-mini [14:08:53.782] Resolving exec server at port 53686 [14:08:53.799] > [14:08:53.800] [Forwarding server port 53686] Got connection 1 [14:08:53.811] Exec server for ssh-remote+mac-mini created and cached [14:08:53.813] ------ [14:08:53.825] [server] Checking /Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/log.txt and /Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/pid.txt for a running server... [14:08:53.825] [server] Installing and setting up Visual Studio Code Server... [14:08:53.826] [server] Server setup complete [14:08:53.826] [server] Starting server... [14:08:53.826] [server] Starting server with command... Command { std: "/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/bin/code-server" "--connection-token=remotessh" "--accept-server-license-terms" "--start-server" "--enable-remote-auto-shutdown" "--socket-path=/var/folders/rf/n21trpp57mdd8f6vc56qtq0w0000gn/T/code-1862be9c-e88b-4237-9210-0406bdc73b5b", kill_on_drop: false } [14:08:53.985] [server] * [14:08:53.985] [server] * Visual Studio Code Server [14:08:53.986] [server] * [14:08:53.986] [server] * By using the software, you agree to [14:08:53.986] [server] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and [14:08:53.986] [server] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement). [14:08:53.986] [server] * [14:08:53.987] [server] Server bound to /var/folders/rf/n21trpp57mdd8f6vc56qtq0w0000gn/T/code-1862be9c-e88b-4237-9210-0406bdc73b5b [14:08:53.987] [server] Extension host agent listening on /var/folders/rf/n21trpp57mdd8f6vc56qtq0w0000gn/T/code-1862be9c-e88b-4237-9210-0406bdc73b5b [14:08:53.987] [server] parsed location: "/var/folders/rf/n21trpp57mdd8f6vc56qtq0w0000gn/T/code-1862be9c-e88b-4237-9210-0406bdc73b5b" [14:08:53.987] [server] [14:08:53.987] [server] Server started [14:08:54.055] [server] [14:08:54] [14:08:54.055] [server] [14:08:54.055] [server] [14:08:54.055] [server] [14:08:54.069] [server] [14:08:54] Extension host agent started. [14:08:54.093] [server] [14:08:54] [][4ecdfb62][ExtensionHostConnection] New connection established. [14:08:54.093] [server] [14:08:54] [][9bfb4b53][ManagementConnection] New connection established. [14:08:54.119] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:54.119] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:54.119] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:54.119] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:08:54.189] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:54.189] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:54.189] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:54.189] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:08:54.195] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:54.196] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:54.196] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:54.196] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:08:54.447] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:54.447] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:54.447] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:54.447] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:08:54.669] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:54.669] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:54.669] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:54.669] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:08:54.871] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:54.871] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:54.872] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:54.872] [server] [14:08:54] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:08:54.985] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:54.985] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:54.985] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:54.985] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:08:55.112] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:55.112] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:55.112] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:55.112] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:08:55.155] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:55.155] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:55.155] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:55.155] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:08:55.228] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:55.228] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:55.228] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:55.228] [server] [14:08:55] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:08:57.173] [server] [14:08:57] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:08:57.173] [server] [14:08:57] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:08:57.173] [server] [14:08:57] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:08:57.173] [server] [14:08:57] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:09:04.097] [server] [14:09:04] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.097] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.097] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.097] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.101] [server] [14:09:04] resolving shell environment failed Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.101] [server] [14:09:04] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.101] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.102] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.102] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.102] [server] [14:09:04] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.102] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.102] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.102] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.102] [server] [14:09:04] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.103] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.103] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.103] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.103] [server] [14:09:04] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.103] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.103] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.104] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.104] [server] [14:09:04] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.104] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.104] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.105] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.105] [server] [14:09:04] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.105] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.105] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.106] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.106] [server] [14:09:04] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.106] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.106] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.106] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.106] [server] [14:09:04] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.107] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.107] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.107] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.107] [server] [14:09:04] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.108] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.109] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.109] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.109] [server] [14:09:04] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.109] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.109] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.109] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.109] [server] [14:09:04] [][4ecdfb62][ExtensionHostConnection] <533> Launched Extension Host Process. [14:09:04.267] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:09:04.268] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:09:04.268] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:09:04.268] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:09:04.281] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:09:04.281] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:09:04.281] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:09:04.281] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:09:04.312] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:09:04.312] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:09:04.313] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:09:04.313] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:09:04.331] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:09:04.332] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:09:04.332] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:09:04.332] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:09:04.356] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:09:04.356] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:09:04.357] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:09:04.357] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:09:04.474] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:04.474] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:04.474] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:04.474] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.475] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.662] [server] [14:09:04] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.663] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.663] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.663] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.691] [server] [14:09:04] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:04.692] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:04.692] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:04.692] [server] at process.processTimers (node:internal/timers:512:7) [14:09:04.745] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:09:04.745] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:09:04.745] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:09:04.745] [server] [14:09:04] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:09:05.318] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.318] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.318] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.319] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.319] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.319] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.319] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.320] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.348] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.348] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.348] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.348] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.382] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.382] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.383] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.383] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.383] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.383] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.383] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.384] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.397] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.397] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.397] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.398] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.420] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.420] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.421] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.421] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.436] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.437] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.437] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.437] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.466] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.466] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.466] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.467] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.486] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.486] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.486] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.486] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.528] [server] [14:09:05] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:05.528] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:05.529] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.529] [server] at process.processTimers (node:internal/timers:512:7) [14:09:05.736] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:05.737] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:05.737] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:05.737] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:05.737] [server] at process.processTimers (node:internal/timers:512:7) [14:09:06.657] [server] [14:09:06] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:06.657] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:06.657] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:06.658] [server] at process.processTimers (node:internal/timers:512:7) [14:09:09.884] [server] [14:09:09] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.addWorkspaceProject. [14:09:09.884] [server] [14:09:09] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.azureSignIn. [14:09:09.884] [server] [14:09:09] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.deployWorkspaceProject. [14:09:09.885] [server] [14:09:09] [vscode-azurecontainerapps]: Couldn't find message for key containerApps.walkthrough.cleanUpResources. [14:09:11.298] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.298] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.299] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.299] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.299] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.299] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.299] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.299] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.300] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.300] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.598] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.598] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.598] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.598] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.599] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.599] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.599] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.599] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.600] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.600] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.600] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.600] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.601] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.601] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.602] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.602] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.602] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.602] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.602] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.602] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.603] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.603] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.603] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.603] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.604] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.604] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.605] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.605] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.605] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.605] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.605] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.605] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.606] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.606] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.606] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.606] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.607] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.607] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.607] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.607] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.608] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.608] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.608] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.608] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.608] [server] [14:09:11] ExtensionHostConnection#buildUserEnvironment resolving shell environment failed Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart. [14:09:11.608] [server] at Timeout. (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/server/node/server.main.js:127:2503) [14:09:11.609] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.609] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.823] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.823] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.824] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.824] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.824] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.824] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.824] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.824] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.824] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.825] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.825] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.825] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.825] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.825] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.826] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.826] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.827] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.827] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.827] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.827] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.827] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.827] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.827] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.827] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.827] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.828] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.828] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.828] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.828] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.828] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.828] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.828] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.830] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.831] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.831] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.831] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.831] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.833] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.833] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.833] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.833] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.833] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.835] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.835] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.835] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.836] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.836] [server] at process.processTimers (node:internal/timers:512:7) [14:09:11.840] [server] [IPC Library: Pty Host] Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'replace') [14:09:11.840] [server] at i.ab (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18984) [14:09:11.840] [server] at Timeout._onTimeout (/Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/server/out/vs/platform/terminal/node/ptyHostMain.js:47:18210) [14:09:11.840] [server] at listOnTimeout (node:internal/timers:569:17) [14:09:11.840] [server] at process.processTimers (node:internal/timers:512:7) ```

Steps to Reproduce:

  1. restart remote mac m1 machine
  2. start vscode in local windows machine, connect to remote machine
  3. vscode tasks fail to run (env: node: No such file or directory)

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

Workaround:

OR

[14:16:14.177] Log Level: 2 [14:16:14.191] SSH Resolver called for "ssh-remote+mac-mini", attempt 1 [14:16:14.192] "remote.SSH.useLocalServer": false [14:16:14.192] "remote.SSH.useExecServer": true [14:16:14.192] "remote.SSH.showLoginTerminal": false [14:16:14.192] "remote.SSH.remotePlatform": {"mac-dev":"macOS","mac-mini":"macOS","mac-air":"macOS"} [14:16:14.192] "remote.SSH.path": undefined [14:16:14.192] "remote.SSH.configFile": undefined [14:16:14.192] "remote.SSH.useFlock": true [14:16:14.192] "remote.SSH.lockfilesInTmp": false [14:16:14.192] "remote.SSH.localServerDownload": auto [14:16:14.192] "remote.SSH.remoteServerListenOnSocket": false [14:16:14.192] "remote.SSH.showLoginTerminal": false [14:16:14.192] "remote.SSH.defaultExtensions": [] [14:16:14.192] "remote.SSH.loglevel": 2 [14:16:14.193] "remote.SSH.enableDynamicForwarding": true [14:16:14.193] "remote.SSH.enableRemoteCommand": false [14:16:14.193] "remote.SSH.serverPickPortsFromRange": {} [14:16:14.193] "remote.SSH.serverInstallPath": {} [14:16:14.194] VS Code version: 1.88.1 [14:16:14.194] Remote-SSH version: remote-ssh@0.111.2024040515 [14:16:14.194] win32 x64 [14:16:14.197] SSH Resolver called for host: mac-mini [14:16:14.197] Setting up SSH remote "mac-mini" [14:16:14.200] Using commit id "e170252f762678dec6ca2cc69aba1570769a5d39" and quality "stable" for server [14:16:14.203] Install and start server if needed [14:16:14.207] Checking ssh with "C:\Python312\Scripts\ssh.exe -V" [14:16:14.209] Got error from ssh: spawn C:\Python312\Scripts\ssh.exe ENOENT [14:16:14.209] Checking ssh with "C:\Python312\ssh.exe -V" [14:16:14.209] Got error from ssh: spawn C:\Python312\ssh.exe ENOENT [14:16:14.209] Checking ssh with "C:\Program Files\Oculus\Support\oculus-runtime\ssh.exe -V" [14:16:14.210] Got error from ssh: spawn C:\Program Files\Oculus\Support\oculus-runtime\ssh.exe ENOENT [14:16:14.211] Checking ssh with "C:\Python311\Scripts\ssh.exe -V" [14:16:14.211] Got error from ssh: spawn C:\Python311\Scripts\ssh.exe ENOENT [14:16:14.211] Checking ssh with "C:\Python311\ssh.exe -V" [14:16:14.212] Got error from ssh: spawn C:\Python311\ssh.exe ENOENT [14:16:14.212] Checking ssh with "C:\Windows\system32\ssh.exe -V" [14:16:14.213] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT [14:16:14.213] Checking ssh with "C:\Windows\ssh.exe -V" [14:16:14.214] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT [14:16:14.214] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V" [14:16:14.215] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT [14:16:14.215] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V" [14:16:14.215] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT [14:16:14.216] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V" [14:16:14.234] > OpenSSH_for_Windows_8.6p1, LibreSSL 3.4. [14:16:14.235] > 3

[14:16:14.237] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 53751 "mac-mini" bash [14:16:14.239] Terminal shell path: C:\Windows\System32\cmd.exe [14:16:14.639] > 2f25f81c3c42: running

]0;C:\Windows\System32\cmd.exe [14:16:14.639] Got some output, clearing connection timeout [14:16:14.654] > Found existing installation at /Users/elias/.vscode-server... Starting VS Code CLI... "/Users/elias/.vscode-server/code-e170252f762678dec6ca2cc69aba1570769a5d39" command-shell --cli-data-dir "/Users/elias/.vscode-server/cli" --on-port --parent-process-id 1045 &> "/Users/elias/.vscode-server/.cli.e170252f762678dec6ca2cc69aba1570769a5d39.log" < /dev/null printenv: SHELL=/bin/zsh TMPDIR=/var/folders/rf/n21trpp57mdd8f6vc56qtq0w0000gn/T/ SSH_CLIENT=192.168.1.29 53752 22 USER=elias VSCODE_AGENT_FOLDER=/Users/elias/.vscode-server PATH=/usr/bin:/bin:/usr/sbin:/sbin PWD=/Users/elias SHLVL=1 HOME=/Users/elias LOGNAME=elias SSHCONNECTION=192.168.1.29 53752 192.168.1.129 22 =/usr/bin/printenv Removing old logfile at /Users/elias/.vscode-server/.cli.e170252f762678dec6ca2cc69aba1570769a5d39.log Spawned remote CLI: 1072 [14:16:14.670] > Waiting for server log... [14:16:14.701] > 2f25f81c3c42: start SSH_AUTH_SOCK==== DISPLAY==== listeningOn==127.0.0.1:49170== osReleaseId==Darwin== arch==arm64== vscodeArch==arm64== bitness==64== tmpDir==/tmp== platform==macOS== unpackResult==== didLocalDownload==0== downloadTime==== installTime==== serverStartTime==0== execServerToken==1a1111aa-111a-1111-1a11-11a1aa11a111== 2f25f81c3c42: end [14:16:14.701] Received install output: SSH_AUTH_SOCK==== DISPLAY==== listeningOn==127.0.0.1:49170== osReleaseId==Darwin== arch==arm64== vscodeArch==arm64== bitness==64== tmpDir==/tmp== platform==macOS== unpackResult==== didLocalDownload==0== downloadTime==== installTime==== serverStartTime==0== execServerToken==1a1111aa-111a-1111-1a11-11a1aa11a111==

[14:16:14.702] Remote server is listening on port 49170 [14:16:14.702] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":49170},"osReleaseId":"Darwin","arch":"arm64","sshAuthSock":"","display":"","tmpDir":"/tmp","platform":"macOS","execServerToken":"1a1111aa-111a-1111-1a11-11a1aa11a111"},"serverStartTime":0,"installUnpackCode":""} [14:16:14.702] Note: Support for architecture "arm64" is in preview [14:16:14.704] Starting forwarding server. local port 53753 -> socksPort 53751 -> remotePort 49170 [14:16:14.705] Forwarding server listening on port 53753 [14:16:14.705] Waiting for ssh tunnel to be ready [14:16:14.706] [Forwarding server port 53753] Got connection 0 [14:16:14.707] Tunneled port 49170 to local port 53753 [14:16:14.707] Resolved "ssh-remote+mac-mini" to "port 53753" [14:16:14.712] Initizing new exec server for ssh-remote+mac-mini [14:16:14.713] Resolving exec server at port 53753 [14:16:14.729] > [14:16:14.730] [Forwarding server port 53753] Got connection 1 [14:16:14.738] Exec server for ssh-remote+mac-mini created and cached [14:16:14.740] ------

[14:16:14.747] [server] Checking /Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/log.txt and /Users/elias/.vscode-server/cli/servers/Stable-e170252f762678dec6ca2cc69aba1570769a5d39/pid.txt for a running server... [14:16:14.747] [server] Found running server (pid=1007)

roblourens commented 5 months ago

You're saying that it works if you start normal desktop VS Code on the remote before you ssh into it? That won't affect VS Code Remote at all, but is it possible that there is some initialization that happens in one your scripts, like .bashrc, when you open vscode? And that isn't happening when you connect with VS Code Remote?

eplatek-safyr commented 5 months ago

Yes, no problem when starting vscode locally on the mac, the tasks start without any trouble right away.

My default shell is zsh, here is the .zshrc:

.zshrc ```bash # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. export ZSH=$HOME/.oh-my-zsh # Set name of the theme to load --- if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes ZSH_THEME="robbyrussell" # ZSH_THEME="half-life" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load # a theme from this variable instead of looking in $ZSH/themes/ # If set to an empty array, this variable will have no effect. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) # Uncomment the following line to use case-sensitive completion. # CASE_SENSITIVE="true" # Uncomment the following line to use hyphen-insensitive completion. # Case-sensitive completion must be off. _ and - will be interchangeable. # HYPHEN_INSENSITIVE="true" # Uncomment one of the following lines to change the auto-update behavior # zstyle ':omz:update' mode disabled # disable automatic updates # zstyle ':omz:update' mode auto # update automatically without asking # zstyle ':omz:update' mode reminder # just remind me to update when it's time # Uncomment the following line to change how often to auto-update (in days). # zstyle ':omz:update' frequency 13 # Uncomment the following line if pasting URLs and other text is messed up. # DISABLE_MAGIC_FUNCTIONS="true" # Uncomment the following line to disable colors in ls. # DISABLE_LS_COLORS="true" # Uncomment the following line to disable auto-setting terminal title. # DISABLE_AUTO_TITLE="true" # Uncomment the following line to enable command auto-correction. # ENABLE_CORRECTION="true" # Uncomment the following line to display red dots whilst waiting for completion. # You can also set it to another string to have that shown instead of the default red dots. # e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" # Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) # COMPLETION_WAITING_DOTS="true" # Uncomment the following line if you want to disable marking untracked files # under VCS as dirty. This makes repository status check for large repositories # much, much faster. # DISABLE_UNTRACKED_FILES_DIRTY="true" # Uncomment the following line if you want to change the command execution time # stamp shown in the history command output. # You can set one of the optional three formats: # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" # or set a custom format using the strftime function format specifications, # see 'man strftime' for details. # HIST_STAMPS="mm/dd/yyyy" # Would you like to use another custom folder than $ZSH/custom? # ZSH_CUSTOM=/path/to/new-custom-folder # Which plugins would you like to load? # Standard plugins can be found in $ZSH/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. plugins=(git zsh-autosuggestions) source $ZSH/oh-my-zsh.sh # User configuration # export MANPATH="/usr/local/man:$MANPATH" # You may need to manually set your language environment # export LANG=en_US.UTF-8 # Preferred editor for local and remote sessions # if [[ -n $SSH_CONNECTION ]]; then # export EDITOR='vim' # else # export EDITOR='mvim' # fi # Compilation flags # export ARCHFLAGS="-arch x86_64" # Set personal aliases, overriding those provided by oh-my-zsh libs, # plugins, and themes. Aliases can be placed here, though oh-my-zsh # users are encouraged to define aliases within the ZSH_CUSTOM folder. # For a full list of active aliases, run `alias`. # # Example aliases source $HOME/.bash_profile export PATH="/opt/homebrew/opt/node@20/bin:$PATH" export PATH=$PATH:~/.docker/bin ```
.bash_profile ```bash alias zshconfig="code ~/.zshrc" alias gitconfig="code ~/.gitconfig" alias ohmyzsh="code ~/.oh-my-zsh" ```

I don't have a bashrc file in home

As you can see there's nothing fancy, it seems that the first run completely ignores the shell profile when starting from remote vscode

eplatek-safyr commented 5 months ago

I just tried with a macbook and:

I also tried to

It's hard for me to understand what's going on, but the causes seems to lie on the remote process setup, which cannot resolve the shell profile on the first run. The machine setup is pretty straightforward, default setup with xcode, docker and nodejs

roblourens commented 5 months ago

Sorry, I don't think I can understand what's going on from here. The before and after remote-ssh logs look like it starts with the same PATH in the log.

eplatek-safyr commented 5 months ago

I know this is a weird behavior... I'll try to reset my machine to see if it solves the issue, but if it happens again I'll detail how I did the setup so it can be reproducible

vs-code-engineering[bot] commented 1 month ago

Hey @roblourens, this issue might need further attention.

@eplatek-safyr, you can help us out by closing this issue if the problem no longer exists, or adding more information.

eplatek-safyr commented 4 weeks ago

Hi, I do not reproduce this issue since a few weeks, I close the issue