Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attached Containers: First window closes when second connects #10646

Open
chrmarti opened this issue Jan 20, 2025 · 12 comments
Open

Attached Containers: First window closes when second connects #10646

chrmarti opened this issue Jan 20, 2025 · 12 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers info-needed Issue requires more information from poster

Comments

@chrmarti
Copy link
Contributor

I still don't quite understand what exactly DOCKER_HOST refers to. For convenience in accessing the container, I used a code command, which is as follows:

$path={"containerName":"worksapce_container","settings":{"host":"ssh://172.21.16.213"}}
local hash="$(echo -n "${path}" | xxd -pu - | tr -d '[:space:]')";
code --folder-uri vscode-remote://attached-container+${hash}/workspace/android

I have also tried the method you mentioned: first connecting to the server using Remote-SSH and then accessing the container through the UI, but the behavior is the same.
Regarding the file watch in the logs, it is caused by my workspace being too large, and VSCode warns that it will no longer monitor all file changes. I believe this warning is unrelated to my issue.
I have also tried Ubuntu 18 and Ubuntu 20, but the same problem persists.

My VSCode can connect to the same SSH server using two windows simultaneously, so I am more inclined to believe that the issue lies with the Dev Containers extension rather than the Remote-SSH extension. The logs I suspect are as follows:

[573830 ms] Start: Run in container: /bin/sh
[573834 ms] Start: Run: docker inspect --type container 72e9eaae4c04cd8e720661c6c7d5aefb2ca6009661a5ba4f3a6e1a026cbe620d
[573878 ms] Port forwarding connection from 58206 > 36875 > 36875 in the container.
[573879 ms] Start: Run in container: /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba-legacy/node -e 
[574090 ms] Port forwarding 58206 > 36875 > 36875 stderr: Error: connect ECONNREFUSED 127.0.0.1:36875
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16)
[574134 ms] Port forwarding 58206 > 36875 > 36875 stderr: Remote close with error
[574135 ms] Port forwarding 58206 > 36875 > 36875 terminated with code 1 and signal null.
[574135 ms] Port forwarding 58206 > 36875 > 36875: Local close
[574148 ms] Port forwarding connection from 58207 > 36875 > 36875 in the container.
2025-01-20 23:11:20.883 [info] [resolveAuthority(attached-container,14)][1ms] activating resolver for attached-container+7b22636f6e7461696e65724e616d65223a222f4d544b393637395f4754565f4d54393636305f4754565f7867696d695f646576656c6f705f31373337333637323030363934227d...
2025-01-20 23:11:20.883 [info] [resolveAuthority(attached-container,14)][1ms] invoking resolveExecServer() for ssh-remote+172.21.16.215
2025-01-20 23:11:20.886 [info] [resolveAuthority(attached-container,14)][4ms] invoking final resolve()...
2025-01-20 23:11:20.990 [info] [resolveAuthority(attached-container,14)][107ms] setting tunnel factory...
2025-01-20 23:11:20.990 [info] [resolveAuthority(attached-container,14)][107ms] returned 127.0.0.1:36875

2025-01-20 23:09:07.150 [info] [remote-connection][ExtensionHost][fb8b2…][reconnect] received socket timeout event (unacknowledgedMsgCount: 373, timeSinceOldestUnacknowledgedMsg: 80024, timeSinceLastReceivedSomeData: 80951).
2025-01-20 23:09:19.470 [info] [remote-connection][Management   ][8719c…][reconnect] resolving connection...
2025-01-20 23:09:19.489 [info] Invoking resolveAuthority(attached-container)...
2025-01-20 23:09:19.490 [info] [LocalProcess0][resolveAuthority(attached-container,10)][0ms] obtaining proxy...
2025-01-20 23:09:19.490 [info] [LocalProcess0][resolveAuthority(attached-container,10)][0ms] invoking...
2025-01-20 23:09:19.661 [info] [LocalProcess0][resolveAuthority(attached-container,10)][171ms] returned WebSocket(127.0.0.1:36875)
2025-01-20 23:09:19.661 [info] resolveAuthority(attached-container) returned 'WebSocket(127.0.0.1:36875)' after 172 ms
2025-01-20 23:09:19.662 [info] [remote-connection][Management   ][8719c…][reconnect] connecting to WebSocket(127.0.0.1:36875)...
2025-01-20 23:09:19.662 [info] Creating a socket (renderer-Management-8719c1bd-d870-47b8-91b7-681adeeb8638)...
2025-01-20 23:09:19.698 [info] [remote-connection][ExtensionHost][fb8b2…][reconnect] resolving connection...
2025-01-20 23:09:19.699 [info] [remote-connection][ExtensionHost][fb8b2…][reconnect] connecting to WebSocket(127.0.0.1:36875)...
2025-01-20 23:09:19.699 [info] Creating a socket (renderer-ExtensionHost-fb8b2d9f-2e45-441a-8352-ca0b6740138f)...
2025-01-20 23:09:19.886 [info] Creating a socket (renderer-Management-8719c1bd-d870-47b8-91b7-681adeeb8638) returned an error after 225 ms.
2025-01-20 23:09:19.886 [error] CodeExpectedError: WebSocket close with status code 1006
    at WebSocket.<anonymous> (vscode-file://vscode-app/d:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:89902)
2025-01-20 23:09:19.886 [error] [remote-connection][Management   ][8719c…][reconnect][WebSocket(127.0.0.1:36875)] sock

I am unable to fully understand the logs here, but I feel that when attaching the container in a new window, a certain port is being mapped for some operations. However, this port is already occupied by another window, causing the old window to lose connection.

Originally posted by @XhosaS in #10028

@chrmarti chrmarti self-assigned this Jan 20, 2025
@chrmarti chrmarti added bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers labels Jan 20, 2025
@chrmarti
Copy link
Contributor Author

"settings":{"host":"ssh://172.21.16.213"} is another way of setting the Docker host similar to DOCKER_HOST.

Are you seeing this issue also with a smaller workspace that does not see the file watcher limit reached?

@XhosaS
Copy link

XhosaS commented Jan 21, 2025

"settings":{"host":"ssh://172.21.16.213"} is another way of setting the Docker host similar to DOCKER_HOST.

Are you seeing this issue also with a smaller workspace that does not see the file watcher limit reached?

Here are the container logs from Ubuntu 20 with a smaller workspace. I didn’t see any messages about the file watcher reaching its limit, but there were still prints similar to the previous port conflict issue.

[14:00:51] Installing extension: ms-vscode.copilot-mermaid-diagram {
  installPreReleaseVersion: true,
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' },
  pinned: false,
  operation: 3,
  isApplicationScoped: false,
  donotVerifySignature: false,
  context: { clientTargetPlatform: 'win32-x64' },
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  }
}
[11500 ms] [14:00:51] Installing extension: github.copilot {
  installPreReleaseVersion: true,
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' },
  pinned: false,
  operation: 3,
  isApplicationScoped: false,
  donotVerifySignature: false,
  context: { clientTargetPlatform: 'win32-x64' },
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  }
}
[12608 ms] [14:00:52] Getting Manifest... github.copilot-chat
[12992 ms] Start: Run in container: cat /proc/5169/environ
[16287 ms] Extensions cache, remote removals: github.copilot-1.251.0, ms-vscode.copilot-mermaid-diagram-0.0.2024121201
[19684 ms] Port forwarding 52690 > 45711 > 45711 stderr: Remote close
[19695 ms] Port forwarding 52690 > 45711 > 45711 terminated with code 0 and signal null.
[33722 ms] Port forwarding 52686 > 45711 > 45711 stderr: Remote close
[33724 ms] Port forwarding 52711 > 45711 > 45711: Local close
[33726 ms] Port forwarding 52711 > 45711 > 45711 terminated by extension (closed) with code 1 and signal null.

@chrmarti
Copy link
Contributor Author

The log entries about port forwarding do not necessarily indicate any issues:

[19684 ms] Port forwarding 52690 > 45711 > 45711 stderr: Remote close
[19695 ms] Port forwarding 52690 > 45711 > 45711 terminated with code 0 and signal null.
[33722 ms] Port forwarding 52686 > 45711 > 45711 stderr: Remote close
[33724 ms] Port forwarding 52711 > 45711 > 45711: Local close
[33726 ms] Port forwarding 52711 > 45711 > 45711 terminated by extension (closed) with code 1 and signal null.

In this case the server port inside the container is 45711 (the last of the three port numbers), the port forwarding is listening locally on the same port number (second number) and VS Code is connecting from several local port numbers (the first number). This does not indicate a port conflict.

Are you seeing the window disconnect in this setup with the smaller workspace too? (Since you didn't explicitly mention it.)

@chrmarti chrmarti added the info-needed Issue requires more information from poster label Jan 21, 2025
@XhosaS
Copy link

XhosaS commented Jan 21, 2025

When I use a smaller workspace, I still encounter file watcher-related messages, as shown below:

[3895 ms] [16:27:00] [File Watcher (node.js)] Failed to watch /docker-use/.vscode-server/data/Machine for changes using fs.watch() (Error: ENOSPC: System limit for number of file watchers reached, watch '/docker-use/.vscode-server/data/Machine')
[3897 ms] [16:27:00] [File Watcher (node.js)] Failed to watch /docker-use/.vscode-server/data/Machine/settings.json for changes using fs.watch() (Error: ENOSPC: System limit for number of file watchers reached, watch '/docker-use/.vscode-server/data/Machine/settings.json')
[3901 ms] [16:27:00] [File Watcher (node.js)] Failed to watch /docker-use/.vscode-server/extensions for changes using fs.watch() (Error: ENOSPC: System limit for number of file watchers reached, watch '/docker-use/.vscode-server/extensions')
[3919 ms] [16:27:00] [File Watcher (node.js)] Failed to watch /docker-use/.vscode-server/extensions/extensions.json for changes using fs.watch() (Error: ENOSPC: System limit for number of file watchers reached, watch '/docker-use/.vscode-server/extensions/extensions.json')
[4023 ms] [16:27:01] ComputeTargetPlatform: linux-x64

I think I have identified the issue. Since multiple users share the same container, to ensure that each user can use their own plugin configurations and make the container compatible with their specific version of VS Code (avoiding re-downloading every time the container is created), I mounted the ./vscode-server directory as a data volume and used symbolic links, as shown in the diagram below:

Image

When I removed this symbolic link, the connection of multiple windows returned to normal. Do you have any better suggestions for addressing this issue?

@chrmarti
Copy link
Contributor Author

The Dev Containers extension by default mounts a volume at /vscode in the container to share server installs between containers and users. Make sure you keep that enabled in your user settings:

Image This also works with Docker Compose, I'll update the settings description to reflect that.

@XhosaS
Copy link

XhosaS commented Jan 21, 2025

Could you please let me know which version introduced this feature and how does it work? When I removed the symbolic link and created a container on the same server using VS Code to attach, it still re-downloaded all the extensions and the VS Code server. I checked my server, and the ~/.vscode-remote-containers directory exists. Here are my container logs:

[49 ms] Dev Containers 0.394.0 in VS Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba).
[48 ms] Start: 正在解析远程
[51 ms] Setting up container: /MTK9270_MT9270_develop_1737453741038
[51 ms] Host: ssh://[email protected]
[77 ms] Start: Run: ssh [email protected] /bin/sh
[247 ms] Start: Run in host: id -un
[1366 ms] xhosa.liu
[1366 ms] 
[1366 ms] Start: Run in host:  (command -v getent >/dev/null 2>&1 && getent passwd 'xhosa.liu' || grep -E '^xhosa\.liu|^[^:]*:[^:]*:xhosa\.liu:' /etc/passwd || true)
[1369 ms] Start: Run in host: echo ~
[1370 ms] /home/xhosa.liu
[1370 ms] 
[1371 ms] Start: Run in host: test -f '/home/xhosa.liu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server/node'
[1373 ms] 
[1373 ms] 
[1374 ms] Start: Run in host: test -f '/home/xhosa.liu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server/node_modules/node-pty/package.json'
[1375 ms] 
[1375 ms] 
[1375 ms] Start: Run in host: test -f '/home/xhosa.liu/.vscode-remote-containers/dist/vscode-remote-containers-server-0.394.0.js'
[1376 ms] 
[1376 ms] 
[1379 ms] userEnvProbe: loginInteractiveShell (default)
[1379 ms] userEnvProbe: not found in cache
[1379 ms] userEnvProbe shell: /bin/bash
[1608 ms] userEnvProbe PATHs:
Probe:     '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
Container: None
[1610 ms] Start: Run in Host: docker inspect --type container /MTK9270_MT9270_develop_1737453741038
[1656 ms] Start: Run: wsl -l -v
[1952 ms] Could not connect to WSL.
[1952 ms] Command failed: wsl -l -v
[1952 ms] 
HrCg@b  g (c) Microsoft Corporation0�OYu@b      gCg)R0

(u�l�wsl.exe [�Spe]

�Spe�

    --install < �y�>
        �[ň�(u�N Linux �v Windows P[�|�~�R��0�Y�g*gc�[�NUO      �y�
                                                                   �
        R\�[ň�cP��R���N�S؞��R�S0

        傁��g
             w؞��R�S�N�SvQ�N    gHeR�S�vRh�
                                           �
        ��O(u wsl --list --online 0

                �y�:
            --distribution, -d [�Spe]
T�yc�[��        �Ǐ
        N}��T�[ň�vR�S0

                �Spe:
N:SR'Y\�Q)0             gHe�vR�S
                    
                :y�O:
                    wsl --install -d Ubuntu
                    wsl --install --distribution Debian

    --list, -l [        �y�]
        R�QR�S0

                �y�:
            --online, -o
                O(u wsl --install R�Q�S�O�[ň�vR�SRh�0

    --help
        >f:yO(u�`�Q�Oo`0

[1952 ms] 
[1964 ms] Start: Check Docker is running
[1964 ms] Start: Run in Host: docker version
[1999 ms] Client: Docker Engine - Community
[1999 ms]  Version:           24.0.7
 API version:       1.43
 Go version:        go1.20.10
 Git commit:        afdd53b
 Built:             Thu Oct 26 09:08:01 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.10
  Git commit:       311b9ff
  Built:            Thu Oct 26 09:08:01 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
[1999 ms]   Version:          1.6.25
  GitCommit:        d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f
 runc:
  Version:          1.1.10
  GitCommit:        v1.1.10-0-g18a0cb0
 docker-init:
  Version:        
[2000 ms]   0.19.0
  GitCommit:        de40ad0
[2011 ms] Running Dev Containers CLI:   set-up --container-id 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b --container-session-data-folder /tmp/devcontainers-3e9f1165-e4c8-4d2d-a0d9-208a5a071d681737453745106 --log-level debug --log-format json --config /tmp/devcontainer-config-061f27f8-a6e3-407b-9683-331c00ee06ea.json --default-user-env-probe loginInteractiveShell --skip-post-create --include-configuration --include-merged-configuration
[2011 ms] Start: Checking for Dev Containers CLI
[2020 ms] Start: Run in Host: /home/xhosa.liu/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server/node /home/xhosa.liu/.vscode-remote-containers/dist/dev-containers-cli-0.394.0/dist/spec-node/devContainersSpecCLI.js set-up --container-id 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b --container-session-data-folder /tmp/devcontainers-3e9f1165-e4c8-4d2d-a0d9-208a5a071d681737453745106 --log-level debug --log-format json --config /tmp/devcontainer-config-061f27f8-a6e3-407b-9683-331c00ee06ea.json --default-user-env-probe loginInteractiveShell --skip-post-create --include-configuration --include-merged-configuration
[183511 ms] @devcontainers/cli 0.72.0. Node.js v20.18.1. linux 5.4.0-169-generic x64.
[183511 ms] Start: Run: docker buildx version
[183601 ms] github.com/docker/buildx v0.11.2 9872040
[183601 ms] 
[183601 ms] Start: Run: docker -v
[183627 ms] Start: Run: docker inspect --type container 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b
[183658 ms] Start: Inspecting container
[183658 ms] Start: Run: docker inspect --type container 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b
[183684 ms] Start: Run in container: /bin/sh
[183688 ms] Start: Run in container: uname -m
[183833 ms] x86_64
[183834 ms] 
[183834 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[183837 ms] NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[183838 ms] 
[183838 ms] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'xgimi' || grep -E '^xgimi|^[^:]*:[^:]*:xgimi:' /etc/passwd || true)
[183844 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[183845 ms] 
[183846 ms] 
[183846 ms] Exit code 1
[183846 ms] Start: Run in container: /bin/sh
[183849 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[184016 ms] 
[184016 ms] 
[184016 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[184021 ms] 
[184021 ms] 
[184021 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[184023 ms] 
[184023 ms] 
[184023 ms] Exit code 1
[184023 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[184028 ms] 
[184028 ms] 
[184028 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[184033 ms] 
[184033 ms] 
[2769 ms] Start: Inspecting container
[2769 ms] Start: Run in Host: docker inspect --type container 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b
[2813 ms] Start: Run in Host: docker exec -i -u xgimi -e VSCODE_REMOTE_CONTAINERS_SESSION=3e9f1165-e4c8-4d2d-a0d9-208a5a071d681737453745106 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh
[2817 ms] Start: Run in container: uname -m
[3024 ms] x86_64
[3024 ms] 
[3024 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[3028 ms] NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[3028 ms] 
[3028 ms] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'xgimi' || grep -E '^xgimi|^[^:]*:[^:]*:xgimi:' /etc/passwd || true)
[3033 ms] Start: Run in container: test -d '/home/xgimi/.vscode-server'
[3035 ms] 
[3035 ms] 
[3035 ms] Exit code 1
[3035 ms] Start: Run in container: test -d '/home/xgimi/.vscode-remote'
[3037 ms] 
[3038 ms] 
[3038 ms] Exit code 1
[3038 ms] Start: Run in container: test ! -f '/home/xgimi/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/xgimi/.vscode-server/data/Machine' && { > '/home/xgimi/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[3043 ms] 
[3043 ms] 
[3043 ms] Start: Run in container: cat /home/xgimi/.vscode-server/data/Machine/settings.json
[3047 ms] 
[3047 ms] cat: /home/xgimi/.vscode-server/data/Machine/settings.json: No such file or directory
[3047 ms] Exit code 1
[3047 ms] Start: Run in container: test -d '/home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba'
[3052 ms] 
[3052 ms] 
[3052 ms] Exit code 1
[3053 ms] Installing VS Code Server for commit cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba
[3053 ms] Start: Installing VS Code Server
[3053 ms] Start: Run in container: mkdir -p /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba_1737453750944
[3060 ms] 
[3060 ms] 
[3097 ms] Start: Run in container: (dd iflag=fullblock bs=8192 count=7391; dd iflag=fullblock bs=5010 count=1) | tar --no-same-owner -xz -C /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba_1737453750944
[8050 ms] 7391+0 records in
7391+0 records out
60547072 bytes (61 MB, 58 MiB) copied, 4.94616 s, 12.2 MB/s
[8052 ms] 1+0 records in
1+0 records out
5010 bytes (5.0 kB, 4.9 KiB) copied, 7.0939e-05 s, 70.6 MB/s
[8063 ms] 
[8063 ms] 
[8064 ms] Start: Run in container: mv -n /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba_1737453750944/* /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba && rmdir /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba_1737453750944
[8074 ms] 
[8074 ms] 
[8075 ms] Start: Run in container: test -x '/home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/bin/helpers/check-requirements.sh'
[8079 ms] 
[8079 ms] 
[8079 ms] Start: Run in container: '/home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/bin/helpers/check-requirements.sh'
[8257 ms] 
[8257 ms] 
[8257 ms] Start: Launching Dev Containers helper.
[8258 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-56c73aa3-6a79-459e-882d-16fb6cb4711a.sock) forwarded to remote host (/tmp/ssh-gpjO4mmyeQj3/agent.437458).
[8258 ms] X11 forwarding: DISPLAY not set on remote host.
[8258 ms] X11 forwarding: DISPLAY not set on local host.
[8258 ms] Start: Run in container: gpgconf --list-dirs
[8263 ms] sysconfdir:/etc/gnupg
bindir:/usr/bin
libexecdir:/usr/lib/gnupg
libdir:/usr/lib/x86_64-linux-gnu/gnupg
datadir:/usr/share/gnupg
localedir:/usr/share/locale
socketdir:/home/xgimi/.gnupg
dirmngr-socket:/home/xgimi/.gnupg/S.dirmngr
agent-ssh-socket:/home/xgimi/.gnupg/S.gpg-agent.ssh
agent-extra-socket:/home/xgimi/.gnupg/S.gpg-agent.extra
agent-browser-socket:/home/xgimi/.gnupg/S.gpg-agent.browser
agent-socket:/home/xgimi/.gnupg/S.gpg-agent
homedir:/home/xgimi/.gnupg
[8263 ms] 
[8263 ms] Start: Run in container: ls '/home/xgimi/.gnupg/private-keys-v1.d' 2>/dev/null
[8267 ms] 
[8267 ms] 
[8267 ms] Exit code 2
[8267 ms] Start: Run in Host: gpgconf --list-dirs
[8281 ms] sysconfdir:/etc/gnupg
bindir:/usr/bin
libexecdir:/usr/lib/gnupg
libdir:/usr/lib/x86_64-linux-gnu/gnupg
datadir:/usr/share/gnupg
localedir:/usr/share/locale
socketdir:/run/user/1004/gnupg
dirmngr-socket:/run/user/1004/gnupg/S.dirmngr
agent-ssh-socket:/run/user/1004/gnupg/S.gpg-agent.ssh
agent-extra-socket:/run/user/1004/gnupg/S.gpg-agent.extra
agent-browser-socket:/run/user/1004/gnupg/S.gpg-agent.browser
agent-socket:/run/user/1004/gnupg/S.gpg-agent
homedir:/home/xhosa.liu/.gnupg
[8281 ms] 
[8281 ms] Start: Run in container: test -f '/home/xgimi/.gnupg/pubring.kbx'
[8283 ms] 
[8283 ms] 
[8283 ms] Exit code 1
[8284 ms] Start: Run in container: test -f '/home/xgimi/.gnupg/pubring.gpg'
[8286 ms] 
[8286 ms] 
[8286 ms] Exit code 1
[8287 ms] Start: Run in container: test -f '/home/xgimi/.gnupg/trustdb.gpg'
[8290 ms] 
[8290 ms] 
[8290 ms] Exit code 1
[8291 ms] Start: Run in container: mkdir -p -m 700 '/home/xgimi/.gnupg'
[8291 ms] gpg-agent: Socket in container (/home/xgimi/.gnupg/S.gpg-agent) forwarded to remote host (/run/user/1004/gnupg/S.gpg-agent.extra).
[8296 ms] 
[8296 ms] 
[8296 ms] Start: Run in container: (command -v 'docker' || command -v 'oras' || command -v 'skopeo') >/dev/null 2>&1
[8305 ms] 
[8305 ms] 
[8305 ms] Exit code 1
[8305 ms] Start: Run in Host: docker exec -i -u xgimi 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh
[8306 ms] userEnvProbe: loginInteractiveShell (default)
[8307 ms] Start: Run in container: test -f '/tmp/devcontainers-3e9f1165-e4c8-4d2d-a0d9-208a5a071d681737453745106/env-loginInteractiveShell.json'
[8321 ms] Start: Run in container: echo ~
[8327 ms] 
[8327 ms] 
[8328 ms] Exit code 1
[8328 ms] userEnvProbe: not found in cache
[8328 ms] userEnvProbe shell: /bin/bash
[8330 ms] Start: Run in container: # Test for /home/xgimi/.ssh/known_hosts and ssh
[8341 ms] 
[8341 ms] 
[8341 ms] Start: Run in container: # Copy C:\Users\xhosa.liu\.ssh\known_hosts to /home/xgimi/.ssh/known_hosts
[8343 ms] Start: Run in Host: gpg-connect-agent updatestartuptty /bye
[8349 ms] 
[8349 ms] 
[8349 ms] Start: Run in Host: docker exec -i -u root 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh
[8357 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/node /tmp/vscode-remote-containers-56c73aa3-6a79-459e-882d-16fb6cb4711a.js git-credential-helper $*; }; f' || true
[8981 ms] /home/xgimi
[8981 ms] 
[8981 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-56c73aa3-6a79-459e-882d-16fb6cb4711a.js' >/tmp/vscode-remote-containers-56c73aa3-6a79-459e-882d-16fb6cb4711a.js
[8987 ms] 
[8987 ms] 
[8988 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-56c73aa3-6a79-459e-882d-16fb6cb4711a.js' >/tmp/vscode-remote-containers-server-56c73aa3-6a79-459e-882d-16fb6cb4711a.js_1737453756879
[9020 ms] 
[9021 ms] 
[9092 ms] 
[9092 ms] 
[9093 ms] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd || echo ; readlink /proc/$pid/ns/mnt || echo ; cat /proc/$pid/stat | tr "
[9140 ms] userEnvProbe PATHs:
Probe:     '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Container: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Merged:    '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[9190 ms] Start: Run in container: mkdir -p '/tmp/devcontainers-3e9f1165-e4c8-4d2d-a0d9-208a5a071d681737453745106' && cat > '/tmp/devcontainers-3e9f1165-e4c8-4d2d-a0d9-208a5a071d681737453745106/env-loginInteractiveShell.json' << 'envJSON'
[9199 ms] 
[9199 ms] 
[9199 ms] Start: Run in container: cat '/home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/product.json'
[9207 ms] Start: Run in container: cat '/home/xgimi/.vscode-server/data/Machine/.connection-token-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba' 2>/dev/null || (umask 377 && echo '3fdb03d9-408e-4be8-ae4a-1b1b11252f6f' >'/home/xgimi/.vscode-server/data/Machine/.connection-token-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba-8bfd0ec9-ca60-4d09-9c06-7022c1d2dc75' && mv -n '/home/xgimi/.vscode-server/data/Machine/.connection-token-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba-8bfd0ec9-ca60-4d09-9c06-7022c1d2dc75' '/home/xgimi/.vscode-server/data/Machine/.connection-token-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba' && rm -f '/home/xgimi/.vscode-server/data/Machine/.connection-token-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba-8bfd0ec9-ca60-4d09-9c06-7022c1d2dc75' && cat '/home/xgimi/.vscode-server/data/Machine/.connection-token-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba')
[9221 ms] 3fdb03d9-408e-4be8-ae4a-1b1b11252f6f
[9221 ms] 
[9222 ms] Start: Starting VS Code Server
[9222 ms] Start: Preparing Extensions
[9223 ms] Start: Run in container: test ! -f '/home/xgimi/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/home/xgimi/.vscode-server/data/Machine' && { > '/home/xgimi/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[9230 ms] 
[9230 ms] 
[9232 ms] Extensions cache, install extensions: alibaba-cloud.tongyi-lingma, bierner.markdown-mermaid, cschlosser.doxdocgen, dgileadi.java-decompiler, eamodio.gitlens, github.copilot, github.copilot-chat, llvm-vs-code-extensions.vscode-clangd, marp-team.marp-vscode, mhutchie.git-graph, ms-ceintl.vscode-language-pack-zh-hans, ms-vscode.copilot-mermaid-diagram, ms-vscode.vscode-commander, redhat.java, rsbondi.highlight-words, vscjava.vscode-java-debug, GitHub.copilot, GitHub.copilot-chat
[9232 ms] Start: Run in container: test -d /home/xgimi/.vscode-server/extensionsCache && ls /home/xgimi/.vscode-server/extensionsCache || true
[9235 ms] 
[9235 ms] 
[9237 ms] Extensions cache, copy to remote: alibaba-cloud.tongyi-lingma-2.0.7, bierner.markdown-mermaid-1.27.0, cschlosser.doxdocgen-1.4.0, dgileadi.java-decompiler-0.0.4, eamodio.gitlens-16.2.0, github.copilot-1.257.0, github.copilot-1.257.1322, github.copilot-chat-0.23.2, llvm-vs-code-extensions.vscode-clangd-0.1.33, marp-team.marp-vscode-3.0.0, mhutchie.git-graph-1.30.0, ms-ceintl.vscode-language-pack-zh-hans-1.96.2024121109, ms-vscode.copilot-mermaid-diagram-0.0.2, ms-vscode.copilot-mermaid-diagram-0.0.2025012001, ms-vscode.vscode-commander-0.2.0, redhat.java-1.38.0-linux-x64, rsbondi.highlight-words-0.1.4, vscjava.vscode-java-debug-0.58.1
[9666 ms] Start: Run in container: # Copy extensions to remote
[35507 ms] 
[35507 ms] 
[35508 ms] Optimizing extensions for quality: stable
[35508 ms] Start: Run in Host: docker exec -i -u xgimi -e SHELL=/bin/bash -w /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/bin/code-server --log debug --force-disable-user-env --server-data-dir /home/xgimi/.vscode-server --telemetry-level all --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /home/xgimi/.vscode-server/data/Machine/.connection-token-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba --extensions-download-dir /home/xgimi/.vscode-server/extensionsCache --install-extension alibaba-cloud.tongyi-lingma --install-extension bierner.markdown-mermaid --install-extension cschlosser.doxdocgen --install-extension dgileadi.java-decompiler --install-extension eamodio.gitlens --install-extension github.copilot --install-extension github.copilot-chat --install-extension llvm-vs-code-extensions.vscode-clangd --install-extension marp-team.marp-vscode --install-extension mhutchie.git-graph --install-extension ms-ceintl.vscode-language-pack-zh-hans --install-extension ms-vscode.copilot-mermaid-diagram --install-extension ms-vscode.vscode-commander --install-extension redhat.java --install-extension rsbondi.highlight-words --install-extension vscjava.vscode-java-debug --install-extension GitHub.copilot --install-extension GitHub.copilot-chat --start-server  --skip-requirements-check
[35817 ms] *
* 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).
*
[35820 ms] Server bound to 127.0.0.1:32865 (IPv4)
Extension host agent listening on 32865

[35820 ms] Start: Run in container: echo 32865 >'/home/xgimi/.vscode-server/data/Machine/.devport-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba'
[35824 ms] 
[35825 ms] 
[35825 ms] Port forwarding for container port 32865 starts listening on local port.
[35828 ms] Port forwarding local port 32865 to container port 32865
[35829 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/extensions 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh -c # Watch installed extensions
[35829 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/data/Machine 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh -c # Watch machine settings
[35834 ms] Initializing configuration support...
[35834 ms] Internal initialization of dev container support package...
[35844 ms] Port forwarding connection from 60126 > 32865 > 32865 in the container.
[35844 ms] Start: Run in Host: docker exec -i -u xgimi -e VSCODE_REMOTE_CONTAINERS_SESSION=3e9f1165-e4c8-4d2d-a0d9-208a5a071d681737453745106 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/node -e 
[36151 ms] Ignoring option 'skip-requirements-check': not supported for server.
[36151 ms] [18:06:05] 




[18:06:05] Installing extensions...
[18:06:05] Extension host agent started.
[18:06:05] Error while reading the extension cache file: /home/xgimi/.vscode-server/data/CachedProfilesData/__default__profile__/extensions.builtin.cache Unable to read file '/home/xgimi/.vscode-server/data/CachedProfilesData/__default__profile__/extensions.builtin.cache' (Error: Unable to resolve nonexistent file '/home/xgimi/.vscode-server/data/CachedProfilesData/__default__profile__/extensions.builtin.cache')
[18:06:05] Started initializing default profile extensions in extensions installation folder. file:///home/xgimi/.vscode-server/extensions
[18:06:05] ComputeTargetPlatform: linux-x64
[18:06:05] Completed initializing default profile extensions in extensions installation folder. file:///home/xgimi/.vscode-server/extensions
[18:06:05] ComputeTargetPlatform: linux-x64
[36220 ms] Start: Run in container: # Test for /home/xgimi/.gitconfig and git
[36225 ms] 
[36225 ms] 
[36225 ms] Start: Run in container: # Copy /home/xhosa.liu/.gitconfig to /home/xgimi/.gitconfig
[36230 ms] 
[36230 ms] 
[36287 ms] Port forwarding 60126 > 32865 > 32865 stderr: Connection established
[36303 ms] Port forwarding connection from 60128 > 32865 > 32865 in the container.
[36303 ms] Start: Run in Host: docker exec -i -u xgimi -e VSCODE_REMOTE_CONTAINERS_SESSION=3e9f1165-e4c8-4d2d-a0d9-208a5a071d681737453745106 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/node -e 
[36381 ms] Start: Run in container: # Cleaning up git config
[36383 ms] [18:06:05] [127.0.0.1][f0b79214][ManagementConnection] New connection established.
[36399 ms] 
[36399 ms] 
[36399 ms] Start: Run in Host: git config --global --get gpg.ssh.allowedSignersFile
[36400 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/node /tmp/vscode-remote-containers-56c73aa3-6a79-459e-882d-16fb6cb4711a.js git-credential-helper $*; }; f' || true
[36458 ms] [18:06:05] Log level changed to info
[18:06:05] Installing extensions...
[36459 ms] 
[36459 ms] 
[36492 ms] Port forwarding 60128 > 32865 > 32865 stderr: Connection established
[36565 ms] [18:06:05] [127.0.0.1][7b1a5c51][ExtensionHostConnection] New connection established.
[36576 ms] [18:06:05] [127.0.0.1][7b1a5c51][ExtensionHostConnection] <423> Launched Extension Host Process.
[36932 ms] Start: Run in container: cat /proc/434/environ
[36962 ms] Start: Run in container: cat /proc/439/environ
[37055 ms] [18:06:06] Installing extension 'ms-ceintl.vscode-language-pack-zh-hans'...
[37441 ms] [18:06:06] Getting Manifest... ms-ceintl.vscode-language-pack-zh-hans
[37449 ms] [18:06:06] Installing extension: ms-ceintl.vscode-language-pack-zh-hans {
  isMachineScoped: true,
  isBuiltin: false,
  installPreReleaseVersion: undefined,
  installGivenVersion: false,
  isApplicationScoped: true,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[37757 ms] [18:06:06] Installing extension 'ms-ceintl.vscode-language-pack-zh-hans'...
[37787 ms] [18:06:06] Installing extension 'marp-team.marp-vscode'...
[37787 ms] [18:06:06] Installing extension 'llvm-vs-code-extensions.vscode-clangd'...
[37788 ms] [18:06:06] Installing extension 'bierner.markdown-mermaid'...
[37788 ms] [18:06:06] Installing extension 'alibaba-cloud.tongyi-lingma'...
[37791 ms] [18:06:06] Installing extension 'github.copilot'...
[37791 ms] [18:06:06] Installing extension 'dgileadi.java-decompiler'...
[37791 ms] [18:06:06] Installing extension 'mhutchie.git-graph'...
[37792 ms] [18:06:06] Installing extension 'ms-vscode.vscode-commander'...
[37798 ms] [18:06:06] Installing extension 'github.copilot-chat'...
[37804 ms] [18:06:06] Installing extension 'ms-vscode.copilot-mermaid-diagram'...
[37805 ms] [18:06:06] Installing extension 'rsbondi.highlight-words'...
[37806 ms] [18:06:06] Installing extension 'vscjava.vscode-java-debug'...
[37808 ms] [18:06:06] Installing extension 'redhat.java'...
[37809 ms] [18:06:06] Installing extension 'github.copilot-chat'...
[37809 ms] [18:06:06] Installing extension 'github.copilot'...
[37810 ms] [18:06:06] Installing extension 'cschlosser.doxdocgen'...
[37821 ms] [18:06:06] Installing extension 'eamodio.gitlens'...
[37823 ms] [18:06:06] Getting Manifest... marp-team.marp-vscode
[18:06:06] Getting Manifest... llvm-vs-code-extensions.vscode-clangd
[18:06:06] Getting Manifest... bierner.markdown-mermaid
[18:06:06] Getting Manifest... alibaba-cloud.tongyi-lingma
[18:06:06] Getting Manifest... github.copilot
[18:06:06] Getting Manifest... dgileadi.java-decompiler
[18:06:06] Getting Manifest... mhutchie.git-graph
[37824 ms] [18:06:06] Getting Manifest... ms-vscode.vscode-commander
[18:06:06] Getting Manifest... github.copilot-chat
[18:06:06] Getting Manifest... ms-vscode.copilot-mermaid-diagram
[18:06:06] Getting Manifest... rsbondi.highlight-words
[18:06:06] Getting Manifest... vscjava.vscode-java-debug
[37824 ms] [18:06:06] Getting Manifest... redhat.java
[18:06:06] Getting Manifest... github.copilot-chat
[18:06:06] Getting Manifest... github.copilot
[18:06:06] Getting Manifest... cschlosser.doxdocgen
[37825 ms] [18:06:06] Getting Manifest... eamodio.gitlens
[38083 ms] [18:06:07] Getting Manifest... ms-ceintl.vscode-language-pack-zh-hans
[38090 ms] [18:06:07] Installing extension: marp-team.marp-vscode {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[18:06:07] Installing extension: rsbondi.highlight-words {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38090 ms] [18:06:07] Installing extension: bierner.markdown-mermaid {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38090 ms] [18:06:07] Installing extension: github.copilot {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38091 ms] [18:06:07] Installing extension: cschlosser.doxdocgen {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38091 ms] [18:06:07] Installing extension: ms-vscode.copilot-mermaid-diagram {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38091 ms] [18:06:07] Installing extension: llvm-vs-code-extensions.vscode-clangd {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38091 ms] [18:06:07] Installing extension: ms-vscode.vscode-commander {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38091 ms] [18:06:07] Installing extension: alibaba-cloud.tongyi-lingma {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38092 ms] [18:06:07] Extension is already requested to install github.copilot file:///home/xgimi/.vscode-server/extensions/extensions.json
[38092 ms] [18:06:07] Installing extension: github.copilot-chat {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38092 ms] [18:06:07] Installing extension: vscjava.vscode-java-debug {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38092 ms] [18:06:07] Installing extension: dgileadi.java-decompiler {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38092 ms] [18:06:07] Extension is already requested to install github.copilot-chat file:///home/xgimi/.vscode-server/extensions/extensions.json
[38093 ms] [18:06:07] Installing extension: redhat.java {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38093 ms] [18:06:07] Installing extension: mhutchie.git-graph {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38093 ms] [18:06:07] Installing extension: eamodio.gitlens {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  installOnlyNewlyAddedFromExtensionPack: true,
  profileLocation: br {
    scheme: 'file',
    authority: '',
    path: '/home/xgimi/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///home/xgimi/.vscode-server/extensions/extensions.json',
    _fsPath: '/home/xgimi/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.96.4', date: '2025-01-16T00:16:19.038Z' }
}
[38093 ms] [18:06:07] Extension is already requested to install ms-ceintl.vscode-language-pack-zh-hans file:///home/xgimi/.vscode-server/extensions/extensions.json
[38636 ms] [18:06:07] Getting Manifest... github.copilot-chat
[38719 ms] [18:06:07] Getting Manifest... github.copilot-chat
[39074 ms] [18:06:08] Getting Manifest... github.copilot-chat
[39357 ms] [18:06:08] Getting Manifest... github.copilot
[39457 ms] [18:06:08] Getting Manifest... redhat.java
[39595 ms] [18:06:08] Getting Manifest... github.copilot
[39639 ms] [18:06:08] Getting Manifest... github.copilot
[45513 ms] Extensions cache, remote removals: None
[45513 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b tar c extensionsCache/alibaba-cloud.tongyi-lingma-2.0.7.sigzip extensionsCache/bierner.markdown-mermaid-1.27.0.sigzip extensionsCache/cschlosser.doxdocgen-1.4.0.sigzip extensionsCache/dgileadi.java-decompiler-0.0.4.sigzip extensionsCache/eamodio.gitlens-16.2.0.sigzip extensionsCache/github.copilot-1.257.0.sigzip extensionsCache/github.copilot-chat-0.23.2.sigzip extensionsCache/llvm-vs-code-extensions.vscode-clangd-0.1.33.sigzip extensionsCache/marp-team.marp-vscode-3.0.0.sigzip extensionsCache/mhutchie.git-graph-1.30.0.sigzip extensionsCache/ms-ceintl.vscode-language-pack-zh-hans-1.96.2024121109.sigzip extensionsCache/ms-vscode.copilot-mermaid-diagram-0.0.2.sigzip extensionsCache/ms-vscode.vscode-commander-0.2.0.sigzip extensionsCache/redhat.java-1.38.0-linux-x64.sigzip extensionsCache/rsbondi.highlight-words-0.1.4.sigzip extensionsCache/vscjava.vscode-java-debug-0.58.1.sigzip
[96607 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/extensions 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh -c # Watch installed extensions
[96608 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/data/Machine 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh -c # Watch machine settings
[105811 ms] Extensions cache, remote removals: None
[130541 ms] [18:07:39] Extension signature verification result for rsbondi.highlight-words: Success. Executed: true. Duration: 90837ms.
[130567 ms] [18:07:39] Extension signature verification result for llvm-vs-code-extensions.vscode-clangd: Success. Executed: true. Duration: 90845ms.
[130590 ms] [18:07:39] Extracted extension to file:///home/xgimi/.vscode-server/extensions/rsbondi.highlight-words-0.1.4: rsbondi.highlight-words
[130591 ms] [18:07:39] Renamed to /home/xgimi/.vscode-server/extensions/rsbondi.highlight-words-0.1.4
[130592 ms] [18:07:39] Extracted extension to file:///home/xgimi/.vscode-server/extensions/llvm-vs-code-extensions.vscode-clangd-0.1.33: llvm-vs-code-extensions.vscode-clangd
[130599 ms] [18:07:39] Renamed to /home/xgimi/.vscode-server/extensions/llvm-vs-code-extensions.vscode-clangd-0.1.33
[130607 ms] [18:07:39] Extension signature verification result for dgileadi.java-decompiler: Success. Executed: true. Duration: 90893ms.
[130619 ms] [18:07:39] Extension signature verification result for cschlosser.doxdocgen: Success. Executed: true. Duration: 90851ms.
[130646 ms] [18:07:39] Extension signature verification result for eamodio.gitlens: Success. Executed: true. Duration: 90886ms.
[130646 ms] [18:07:39] Extension signature verification result for mhutchie.git-graph: Success. Executed: true. Duration: 90875ms.
[130690 ms] [18:07:39] Extracted extension to file:///home/xgimi/.vscode-server/extensions/dgileadi.java-decompiler-0.0.4: dgileadi.java-decompiler
[130706 ms] [18:07:39] Renamed to /home/xgimi/.vscode-server/extensions/dgileadi.java-decompiler-0.0.4
[130724 ms] [18:07:39] Extension signature verification result for marp-team.marp-vscode: Success. Executed: true. Duration: 91036ms.
[130771 ms] [18:07:39] Extracted extension to file:///home/xgimi/.vscode-server/extensions/mhutchie.git-graph-1.30.0: mhutchie.git-graph
[130786 ms] [18:07:39] Renamed to /home/xgimi/.vscode-server/extensions/mhutchie.git-graph-1.30.0
[130878 ms] [18:07:40] Extension signature verification result for bierner.markdown-mermaid: Success. Executed: true. Duration: 91156ms.
[131060 ms] [18:07:40] Extension signature verification result for redhat.java: Success. Executed: true. Duration: 91243ms.
[131134 ms] [18:07:40] Extension signature verification result for alibaba-cloud.tongyi-lingma: Success. Executed: true. Duration: 91378ms.
[131191 ms] Start: Run in container: cat '/home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/product.json'
[131196 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/bin/code-server --server-data-dir /home/xgimi/.vscode-server --telemetry-level all --list-extensions
[131198 ms] [18:07:40] Extracted extension to file:///home/xgimi/.vscode-server/extensions/eamodio.gitlens-16.2.0: eamodio.gitlens
[131227 ms] [18:07:40] Renamed to /home/xgimi/.vscode-server/extensions/eamodio.gitlens-16.2.0
[131601 ms] dgileadi.java-decompiler
eamodio.gitlens
llvm-vs-code-extensions.vscode-clangd
mhutchie.git-graph
rsbondi.highlight-words
[131601 ms] 
[131606 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/extensions 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh -c # Watch installed extensions
[131719 ms] [18:07:40] Extracted extension to file:///home/xgimi/.vscode-server/extensions/cschlosser.doxdocgen-1.4.0: cschlosser.doxdocgen
[131806 ms] [18:07:40] Renamed to /home/xgimi/.vscode-server/extensions/cschlosser.doxdocgen-1.4.0
[132789 ms] Start: Run in container: cat '/home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/product.json'
[132794 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/bin/code-server --server-data-dir /home/xgimi/.vscode-server --telemetry-level all --list-extensions
[133235 ms] cschlosser.doxdocgen
dgileadi.java-decompiler
eamodio.gitlens
llvm-vs-code-extensions.vscode-clangd
mhutchie.git-graph
rsbondi.highlight-words
[133235 ms] 
[133238 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/extensions 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh -c # Watch installed extensions
[133909 ms] [18:07:43] Extracted extension to file:///home/xgimi/.vscode-server/extensions/redhat.java-1.38.0-linux-x64: redhat.java
[133934 ms] [18:07:43] Renamed to /home/xgimi/.vscode-server/extensions/redhat.java-1.38.0-linux-x64
[133960 ms] [18:07:43] Extracted extension to file:///home/xgimi/.vscode-server/extensions/alibaba-cloud.tongyi-lingma-2.0.7: alibaba-cloud.tongyi-lingma
[133965 ms] [18:07:43] Renamed to /home/xgimi/.vscode-server/extensions/alibaba-cloud.tongyi-lingma-2.0.7
[134013 ms] [18:07:43] Extension signature verification result for github.copilot: Success. Executed: true. Duration: 90767ms.
[134430 ms] Start: Run in container: cat '/home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/product.json'
[134436 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/bin/code-server --server-data-dir /home/xgimi/.vscode-server --telemetry-level all --list-extensions
[134482 ms] [18:07:43] Extracted extension to file:///home/xgimi/.vscode-server/extensions/github.copilot-1.257.0: github.copilot
[134489 ms] [18:07:43] Renamed to /home/xgimi/.vscode-server/extensions/github.copilot-1.257.0
[134868 ms] alibaba-cloud.tongyi-lingma
cschlosser.doxdocgen
dgileadi.java-decompiler
eamodio.gitlens
github.copilot
llvm-vs-code-extensions.vscode-clangd
mhutchie.git-graph
redhat.java
rsbondi.highlight-words
[134868 ms] 
[134872 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/extensions 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh -c # Watch installed extensions
[136506 ms] [18:07:45] Extracted extension to file:///home/xgimi/.vscode-server/extensions/marp-team.marp-vscode-3.0.0: marp-team.marp-vscode
[136820 ms] [18:07:45] Renamed to /home/xgimi/.vscode-server/extensions/marp-team.marp-vscode-3.0.0
[137096 ms] Start: Run in container: cat '/home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/product.json'
[137107 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/bin/code-server --server-data-dir /home/xgimi/.vscode-server --telemetry-level all --list-extensions
[137535 ms] alibaba-cloud.tongyi-lingma
cschlosser.doxdocgen
dgileadi.java-decompiler
eamodio.gitlens
github.copilot
llvm-vs-code-extensions.vscode-clangd
marp-team.marp-vscode
mhutchie.git-graph
redhat.java
rsbondi.highlight-words
[137535 ms] 
[137539 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/extensions 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh -c # Watch installed extensions
[137772 ms] [18:07:46] Extracted extension to file:///home/xgimi/.vscode-server/extensions/bierner.markdown-mermaid-1.27.0: bierner.markdown-mermaid
[138075 ms] [18:07:47] Renamed to /home/xgimi/.vscode-server/extensions/bierner.markdown-mermaid-1.27.0
[138731 ms] Start: Run in container: cat '/home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/product.json'
[138736 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /home/xgimi/.vscode-server/bin/cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/bin/code-server --server-data-dir /home/xgimi/.vscode-server --telemetry-level all --list-extensions
[141450 ms] alibaba-cloud.tongyi-lingma
bierner.markdown-mermaid
cschlosser.doxdocgen
dgileadi.java-decompiler
eamodio.gitlens
github.copilot
llvm-vs-code-extensions.vscode-clangd
marp-team.marp-vscode
mhutchie.git-graph
redhat.java
rsbondi.highlight-words
[141450 ms] 
[141453 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/extensions 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh -c # Watch installed extensions
[157415 ms] Start: Run in Host: docker exec -i -u xgimi -w /home/xgimi/.vscode-server/data/Machine 4e08c9e3a894a195830cef1ca2ae007a43f72b909c2c0d2991ad2ce45520626b /bin/sh -c # Watch machine settings
[165817 ms] Extensions cache, remote removals: alibaba-cloud.tongyi-lingma-2.0.7.sigzip, bierner.markdown-mermaid-1.27.0.sigzip, cschlosser.doxdocgen-1.4.0.sigzip, dgileadi.java-decompiler-0.0.4.sigzip, eamodio.gitlens-16.2.0.sigzip, github.copilot-1.257.0.sigzip, llvm-vs-code-extensions.vscode-clangd-0.1.33.sigzip, marp-team.marp-vscode-3.0.0.sigzip, mhutchie.git-graph-1.30.0.sigzip, redhat.java-1.38.0-linux-x64.sigzip, rsbondi.highlight-words-0.1.4.sigzip
[167146 ms] [18:08:16] [network] #45: https://mobile.events.data.microsoft.com/OneCollector/1.0?cors=true&content-type=application/x-json-stream - error POST connect ETIMEDOUT 20.189.173.13:443

@XhosaS
Copy link

XhosaS commented Jan 21, 2025

I believe the possible reason might be: although my SSH server distinguishes between usernames, all users in the container use a unified username to ensure proper access to my data volumes. Could it be that this configuration is looking up ~/.vscode-remote-containers on the server based on the username inside the container? If so, I feel this setup is not suitable for my scenario. After setting "dev.containers.cacheVolume": false, file watch errors still occur in the directory with the symbolic link. Do you have any other suggestions for handling this kind of scenario?

@chrmarti
Copy link
Contributor Author

~/.vscode-remote-containers is per user on the ssh server.

"dev.containers.cacheVolume" needs to be true to enable the caching.

I realize you are attaching to the container and not building it from a devcontainer.json. In that case the extension cannot mount the cache volume, Docker doesn't allow for adding mount points to an existing container.

@XhosaS
Copy link

XhosaS commented Jan 22, 2025

~/.vscode-remote-containers is per user on the ssh server.

"dev.containers.cacheVolume" needs to be true to enable the caching.

I realize you are attaching to the container and not building it from a devcontainer.json. In that case the extension cannot mount the cache volume, Docker doesn't allow for adding mount points to an existing container.

So, does this feature work by directly mounting ~/.vscode-remote-containers on the remote server to the container's ~/.vscode-server directory? If I use this approach to build the container, instead of mounting it to another directory and then symlinking it to ~/.vscode-server, would that solve the file watch issue?

@chrmarti
Copy link
Contributor Author

chrmarti commented Jan 23, 2025

~/.vscode-remote-containers is for the Dev Containers extension on the host and ~/.vscode-server is for the VS Code server in the container. Don't mix them.

To make it work with your own container, you can run the container with --mount type=volume,source=vscode,target=/vscode.

@XhosaS
Copy link

XhosaS commented Jan 23, 2025

~/.vscode-remote-containers is for the Dev Containers extension on the host and ~/.vscode-server is for the VS Code server in the container. Don't mix them.

To make it work with your own container, you can run the container with --mount type=volume,source=vscode,target=/vscode.

Thank you for your help. I have successfully identified the issue, and I will try to resolve it.

@XhosaS
Copy link

XhosaS commented Jan 24, 2025

I tried mounting the server's ~/.vscode directory directly to the container's ~/.vscode directory, instead of mounting it to another directory and then creating a symlink. This resolved the issue. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants