microsoft / vscode-remote-release

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

Error "Remote Extension host terminated unexpectedly 3 times within the last 5 minutes" #8967

Open jpbianchi opened 1 year ago

jpbianchi commented 1 year ago

Type: Performance Issue

I'm using Dev containers to try the new language Mojo.

Everything seems to be fine, installation is great, the container is created and running on Docker, VSCode connects to it BUT I'm getting the error message 'Remote Extension host terminated unexpectedly 3 times within the last 5 minutes'. I can press 'Restart Remote Extension Host', but then it happens again and again.

The container is running at all times, and seems fine since I can see the files in the linked volume from inside VSCode.

I've created a new dev container, rebooted, reset, etc, but I end up always with the same issue.

VS Code version: Code 1.82.0 (Universal) (8b617bd08fd9e3fc94d14adb8d358b56e3f72314, 2023-09-06T22:09:41.364Z) OS version: Darwin x64 22.6.0 Modes: Remote OS version: Linux x64 5.15.49-linuxkit-pr

System Info |Item|Value| |---|---| |CPUs|13th Gen Intel(R) Core(TM) i9-13900K (32 x 3000)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|3, 4, 5| |Memory (System)|64.00GB (6.78GB free)| |Process Argv|--crash-reporter-id 0d463354-7922-412c-85c3-b751b2ede26e| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|Dev Container: Ubuntu @ desktop-linux| |OS|Linux x64 5.15.49-linuxkit-pr| |CPUs|13th Gen Intel(R) Core(TM) i9-13900K (10 x 2995)| |Memory (System)|7.67GB (6.04GB free)| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 1 131 598 code main 2 66 1203 gpu-process 0 0 1204 utility-network-service 0 197 1209 window [1] (tf_metal_test.ipynb — FUSION-BLOCKCHAIN-AI (Workspace)) 1 197 1210 window [2] (models_prompts_parsers.ipynb — Langchain-Full-Course (Workspace)) 0 197 1211 window [3] (Simple Browser — RECOMMENDERS (Workspace)) 0 197 1212 window [4] (EDA_basic.ipynb — PORTFOLIO (Workspace)) 0 131 1213 window [5] (tf_metal_test.ipynb — TENSORFLOW-METAL) 0 197 1214 window [6] (Welcome — langchain-tutorials) 1 197 1215 window [7] (.eslintrc.js — SUSHISWAP) 0 262 1240 extensionHost [2] 0 0 1275 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/mtxr.sqltools-0.28.0/dist/languageserver.js --node-ipc --clientProcessId=1240) 0 0 1541 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.3/node_modules/vscode-webhint/dist/src/server.js /Users/jpb2/Library/Application Support/Code/User/globalStorage/ms-edgedevtools.vscode-edge-devtools Microsoft Edge Tools --node-ipc --clientProcessId=1240) 0 0 1566 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/server/server.js --node-ipc --clientProcessId=1240) 0 0 1574 /usr/local/Cellar/python@3.10/3.10.13/Frameworks/Python.framework/Versions/3.10/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_server.py 0 0 1668 electron-nodejs (bn.js ) 0 66 33740 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-python.vscode-pylance-2023.9.10/dist/server.bundle.js --cancellationReceive=file:eaebd1612b5670e7333c7bbdaff2701ef6b8e59aaa --node-ipc --clientProcessId=1240) 0 262 1241 extensionHost [5] 0 0 1257 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/mtxr.sqltools-0.28.0/dist/languageserver.js --node-ipc --clientProcessId=1241) 0 0 1454 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/server/server.js --node-ipc --clientProcessId=1241) 0 0 1456 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.3/node_modules/vscode-webhint/dist/src/server.js /Users/jpb2/Library/Application Support/Code/User/globalStorage/ms-edgedevtools.vscode-edge-devtools Microsoft Edge Tools --node-ipc --clientProcessId=1241) 0 0 1545 /usr/local/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_server.py 0 0 1675 /usr/local/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_runner.py 0 66 33739 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-python.vscode-pylance-2023.9.10/dist/server.bundle.js --cancellationReceive=file:09c7de2b9d89058abc4453e8d53f3586e3adeb4915 --node-ipc --clientProcessId=1241) 0 197 1242 extensionHost [4] 0 0 1505 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/mtxr.sqltools-0.28.0/dist/languageserver.js --node-ipc --clientProcessId=1242) 0 0 1673 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.3/node_modules/vscode-webhint/dist/src/server.js /Users/jpb2/Library/Application Support/Code/User/globalStorage/ms-edgedevtools.vscode-edge-devtools Microsoft Edge Tools --node-ipc --clientProcessId=1242) 0 0 22279 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Applications/Utilities Development/Visual Studio Code.app/Contents/Resources/app/extensions/markdown-language-features/server/dist/node/workerMain --node-ipc --clientProcessId=1242) 0 0 22296 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Applications/Utilities Development/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=1242) 0 0 22325 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/server/server.js --node-ipc --clientProcessId=1242) 0 0 22326 /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_server.py 0 0 22363 /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_runner.py 0 131 33741 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-python.vscode-pylance-2023.9.10/dist/server.bundle.js --cancellationReceive=file:06c9c16e17b64842cd3676176e99d7ceee20391232 --node-ipc --clientProcessId=1242) 0 328 1243 extensionHost [1] 0 0 1281 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/mtxr.sqltools-0.28.0/dist/languageserver.js --node-ipc --clientProcessId=1243) 0 0 1452 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.3/node_modules/vscode-webhint/dist/src/server.js /Users/jpb2/Library/Application Support/Code/User/globalStorage/ms-edgedevtools.vscode-edge-devtools Microsoft Edge Tools --node-ipc --clientProcessId=1243) 0 0 1531 /usr/local/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_server.py 0 0 1677 /usr/local/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_runner.py 0 0 1532 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/server/server.js --node-ipc --clientProcessId=1243) 0 66 33738 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-python.vscode-pylance-2023.9.10/dist/server.bundle.js --cancellationReceive=file:74e0e0694fa3ff3e247c7ea64f48052e04ff33f993 --node-ipc --clientProcessId=1243) 0 262 1244 extensionHost [3] 0 0 1290 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/mtxr.sqltools-0.28.0/dist/languageserver.js --node-ipc --clientProcessId=1244) 0 0 1513 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.3/node_modules/vscode-webhint/dist/src/server.js /Users/jpb2/Library/Application Support/Code/User/globalStorage/ms-edgedevtools.vscode-edge-devtools Microsoft Edge Tools --node-ipc --clientProcessId=1244) 0 0 1520 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/server/server.js --node-ipc --clientProcessId=1244) 0 0 1692 /usr/local/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_server.py 0 0 1745 /usr/local/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_runner.py 0 131 33737 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-python.vscode-pylance-2023.9.10/dist/server.bundle.js --cancellationReceive=file:f5f7ecbd7d2f6a2bd6c5ffdfc880dc6672298f1be4 --node-ipc --clientProcessId=1244) 1 66 1246 shared-process 0 0 34221 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 1247 fileWatcher [4] 0 66 1249 extensionHost [7] 0 0 1316 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node --max-old-space-size=3072 /Applications/Utilities Development/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /var/folders/3m/13nq658x1mq0ss5658vysz2r0000gn/T/vscode-typescript501/b8e238155b8463c623fc/tscancellation-f170cfe6f61c949c83a5.tmp* --globalPlugins @vsintellicode/typescript-intellicode-plugin,ms-vsintellicode-typescript --pluginProbeLocations /Users/jpb2/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.30,/Users/jpb2/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.30 --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc) 0 0 1317 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node --max-old-space-size=3072 /Applications/Utilities Development/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /var/folders/3m/13nq658x1mq0ss5658vysz2r0000gn/T/vscode-typescript501/b8e238155b8463c623fc/tscancellation-6b525437dab4626feb98.tmp* --globalPlugins @vsintellicode/typescript-intellicode-plugin,ms-vsintellicode-typescript --pluginProbeLocations /Users/jpb2/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.30,/Users/jpb2/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.30 --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc) 0 0 1360 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Applications/Utilities Development/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/jpb2/Library/Caches/typescript/5.2 --enableTelemetry --typesMapLocation /Applications/Utilities Development/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation) 0 0 1318 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.3/node_modules/vscode-webhint/dist/src/server.js /Users/jpb2/Library/Application Support/Code/User/globalStorage/ms-edgedevtools.vscode-edge-devtools Microsoft Edge Tools --node-ipc --clientProcessId=1249) 0 0 1319 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/server/server.js --node-ipc --clientProcessId=1249) 0 0 1347 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/mtxr.sqltools-0.28.0/dist/languageserver.js --node-ipc --clientProcessId=1249) 0 131 1251 extensionHost [6] 0 0 1308 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/mtxr.sqltools-0.28.0/dist/languageserver.js --node-ipc --clientProcessId=1251) 0 0 1625 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.3/node_modules/vscode-webhint/dist/src/server.js /Users/jpb2/Library/Application Support/Code/User/globalStorage/ms-edgedevtools.vscode-edge-devtools Microsoft Edge Tools --node-ipc --clientProcessId=1251) 0 0 1676 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/server/server.js --node-ipc --clientProcessId=1251) 0 0 1681 /usr/local/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_server.py 0 0 1743 /usr/local/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python /Users/jpb2/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_runner.py 0 66 33736 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-python.vscode-pylance-2023.9.10/dist/server.bundle.js --cancellationReceive=file:b89c8c5fb27124602bd27817292acfa1c76ee9f816 --node-ipc --clientProcessId=1251) 0 0 1252 fileWatcher [7] 0 197 1266 window 0 66 1287 window 0 0 1292 fileWatcher [2] 0 0 1293 fileWatcher [5] 0 0 1298 fileWatcher [1] 0 0 1299 fileWatcher [3] 0 0 1305 fileWatcher [6] 0 0 1311 window 0 0 1355 ptyHost 0 0 1383 /bin/zsh -il 0 262 32484 window [11] (devcontainer.json — ubuntu-2 [Dev Container: Ubuntu @ desktop-linux]) 0 0 33956 fileWatcher [11] 0 66 33957 extensionHost [11] 0 0 34010 docker exec -i -u root 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /bin/sh -c echo "New container started. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=c301afb4-2e68-46bf-be87-1028e7ebaae31694382077515 ; /bin/sh 0 0 34012 /Applications/Docker.app/Contents/Resources/bin/com.docker.cli exec -i -u root 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /bin/sh -c echo "New container started. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=c301afb4-2e68-46bf-be87-1028e7ebaae31694382077515 ; /bin/sh 0 0 34016 docker exec -i -u vscode -e VSCODE_REMOTE_CONTAINERS_SESSION=c301afb4-2e68-46bf-be87-1028e7ebaae31694382077515 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /bin/sh 0 0 34017 /Applications/Docker.app/Contents/Resources/bin/com.docker.cli exec -i -u vscode -e VSCODE_REMOTE_CONTAINERS_SESSION=c301afb4-2e68-46bf-be87-1028e7ebaae31694382077515 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /bin/sh 0 0 34018 docker exec -i -u root 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /bin/sh 0 0 34019 /Applications/Docker.app/Contents/Resources/bin/com.docker.cli exec -i -u root 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /bin/sh 0 0 34020 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-vscode-remote.remote-containers-0.309.0/dist/shutdown/shutdownMonitorProcess /var/folders/3m/13nq658x1mq0ss5658vysz2r0000gn/T/vscode-remote-containers-b50cea4b-ceef-405e-b14f-c1cb6a2b95ad.sock singleContainer Debug /Users/jpb2/Library/Application Support/Code/logs/20230910T132613/window11/exthost/ms-vscode-remote.remote-containers 1694382077924) 0 0 34033 docker exec -i -u vscode 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /bin/sh 0 0 34034 /Applications/Docker.app/Contents/Resources/bin/com.docker.cli exec -i -u vscode 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /bin/sh 0 0 34035 docker exec -i -u vscode -e SHELL=/bin/bash -e VSCODE_AGENT_FOLDER=/home/vscode/.vscode-server -w /home/vscode/.vscode-server/bin/8b617bd08fd9e3fc94d14adb8d358b56e3f72314 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /home/vscode/.vscode-server/bin/8b617bd08fd9e3fc94d14adb8d358b56e3f72314/bin/code-server --log debug --force-disable-user-env --server-data-dir /home/vscode/.vscode-server --telemetry-level all --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /home/vscode/.vscode-server/data/Machine/.connection-token-8b617bd08fd9e3fc94d14adb8d358b56e3f72314 --extensions-download-dir /home/vscode/.vscode-server/extensionsCache --start-server 0 0 34036 /Applications/Docker.app/Contents/Resources/bin/com.docker.cli exec -i -u vscode -e SHELL=/bin/bash -e VSCODE_AGENT_FOLDER=/home/vscode/.vscode-server -w /home/vscode/.vscode-server/bin/8b617bd08fd9e3fc94d14adb8d358b56e3f72314 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /home/vscode/.vscode-server/bin/8b617bd08fd9e3fc94d14adb8d358b56e3f72314/bin/code-server --log debug --force-disable-user-env --server-data-dir /home/vscode/.vscode-server --telemetry-level all --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /home/vscode/.vscode-server/data/Machine/.connection-token-8b617bd08fd9e3fc94d14adb8d358b56e3f72314 --extensions-download-dir /home/vscode/.vscode-server/extensionsCache --start-server 0 0 34038 docker exec -i -u vscode -e VSCODE_REMOTE_CONTAINERS_SESSION=c301afb4-2e68-46bf-be87-1028e7ebaae31694382077515 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /home/vscode/.vscode-server/bin/8b617bd08fd9e3fc94d14adb8d358b56e3f72314/node -e \012\011\011\011\011const net = require('net');\012\011\011\011\011const fs = require('fs');\012\011\011\011\011process.stdin.pause();\012\011\011\011\011const client = net.createConnection({ host: '127.0.0.1', port: 45073 }, () => {\012\011\011\011\011\011console.error('Connection established');\012\011\011\011\011\011client.pipe(process.stdout);\012\011\011\011\011\011process.stdin.pipe(client);\012\011\011\011\011});\012\011\011\011\011client.on('close', function (hadError) {\012\011\011\011\011\011console.error(hadError ? 'Remote close with error' : 'Remote close');\012\011\011\011\011\011process.exit(hadError ? 1 : 0);\012\011\011\011\011});\012\011\011\011\011client.on('error', function (err) {\012\011\011\011\011\011process.stderr.write(err && (err.stack || err.message) || String(err));\012\011\011\011\011});\012\011\011\011\011process.stdin.on('close', function (hadError) {\012\011\011\011\011\011console.error(hadError ? 'Remote stdin close with error' : 'Remote stdin close');\012\011\011\011\011\011process.exit(hadError ? 1 : 0);\012\011\011\011\011});\012\011\011\011\011process.on('uncaughtException', function (err) {\012\011\011\011\011\011fs.writeSync(process.stderr.fd, `Uncaught Exception: ${String(err && (err.stack || err.message) || err)}\n`);\012\011\011\011\011});\012\011\011\011 0 0 34040 /Applications/Docker.app/Contents/Resources/bin/com.docker.cli exec -i -u vscode -e VSCODE_REMOTE_CONTAINERS_SESSION=c301afb4-2e68-46bf-be87-1028e7ebaae31694382077515 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /home/vscode/.vscode-server/bin/8b617bd08fd9e3fc94d14adb8d358b56e3f72314/node -e \012\011\011\011\011const net = require('net');\012\011\011\011\011const fs = require('fs');\012\011\011\011\011process.stdin.pause();\012\011\011\011\011const client = net.createConnection({ host: '127.0.0.1', port: 45073 }, () => {\012\011\011\011\011\011console.error('Connection established');\012\011\011\011\011\011client.pipe(process.stdout);\012\011\011\011\011\011process.stdin.pipe(client);\012\011\011\011\011});\012\011\011\011\011client.on('close', function (hadError) {\012\011\011\011\011\011console.error(hadError ? 'Remote close with error' : 'Remote close');\012\011\011\011\011\011process.exit(hadError ? 1 : 0);\012\011\011\011\011});\012\011\011\011\011client.on('error', function (err) {\012\011\011\011\011\011process.stderr.write(err && (err.stack || err.message) || String(err));\012\011\011\011\011});\012\011\011\011\011process.stdin.on('close', function (hadError) {\012\011\011\011\011\011console.error(hadError ? 'Remote stdin close with error' : 'Remote stdin close');\012\011\011\011\011\011process.exit(hadError ? 1 : 0);\012\011\011\011\011});\012\011\011\011\011process.on('uncaughtException', function (err) {\012\011\011\011\011\011fs.writeSync(process.stderr.fd, `Uncaught Exception: ${String(err && (err.stack || err.message) || err)}\n`);\012\011\011\011\011});\012\011\011\011 0 0 34056 electron-nodejs (/Applications/Utilities Development/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/jpb2/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-2.1.3/node_modules/vscode-webhint/dist/src/server.js /Users/jpb2/Library/Application Support/Code/User/globalStorage/ms-edgedevtools.vscode-edge-devtools Microsoft Edge Tools --node-ipc --clientProcessId=33957) 0 66 34216 window [13] (Issue Reporter) Remote: Dev Container: Ubuntu @ desktop-linux CPU % Mem MB PID Process 0 786 181 remote agent 0 393 278 fileWatcher 0 459 337 ptyHost 0 0 349 /bin/bash --init-file /vscode/vscode-server/bin/linux-x64/8b617bd08fd9e3fc94d14adb8d358b56e3f72314/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh 0 0 1572 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 1573 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= ```
Workspace Info ``` | Window (.eslintrc.js — SUSHISWAP) | Window (Welcome — langchain-tutorials) | Window (tf_metal_test.ipynb — TENSORFLOW-METAL) | Window (EDA_basic.ipynb — PORTFOLIO (Workspace)) | Window (Simple Browser — RECOMMENDERS (Workspace)) | Window (models_prompts_parsers.ipynb — Langchain-Full-Course (Workspace)) | Window (tf_metal_test.ipynb — FUSION-BLOCKCHAIN-AI (Workspace)) | Folder (SUSHISWAP): 3784 files | File types: ts(1053) tsx(818) json(534) sol(122) js(97) md(91) | chainId(88) cjs(32) png(31) graphql(21) | Conf files: package.json(62) tsconfig.json(55) settings.json(2) | dockerfile(2) | Folder (langchain-tutorials): 333 files | File types: txt(250) ipynb(21) py(11) DS_Store(6) pyi(5) csv(4) | gitignore(2) pdf(2) yml(2) rst(2) | Conf files: | Folder (TENSORFLOW-METAL): more than 21834 files | File types: py(5081) pyc(5075) pyi(2040) json(1339) dat(829) gz(389) | js(220) txt(152) so(134) csv(108) | Conf files: package.json(15) webpack.config.js(1) makefile(1) | Folder (PORTFOLIO): more than 21048 files | File types: py(5867) pyc(5720) pyi(2020) js(1128) sol(366) txt(162) | json(150) css(98) so(95) afm(60) | Conf files: package.json(6) makefile(4) launch.json(2) settings.json(1) | dockerfile(1) | Folder (RECOMMENDERS): more than 23556 files | File types: py(7958) pyc(7912) pyi(229) so(117) txt(67) c(64) afm(60) | pyx(44) h(43) f90(39) | Conf files: package.json(2) | Folder (Langchain-Full-Course): 19112 files | File types: py(5704) pyc(5702) pyi(1987) dat(827) js(719) json(245) | txt(217) so(86) orig(78) woff(75) | Conf files: package.json(18) dockerfile(2) settings.json(1) | webpack.config.js(1) makefile(1) | Folder (FUSION-BLOCKCHAIN-AI): 18119 files | File types: py(5322) pyc(4216) pyi(2023) dat(827) js(719) json(244) | txt(181) so(84) orig(78) woff(75) | Conf files: package.json(18) webpack.config.js(1) makefile(1) | Remote: Dev Container: Ubuntu @ desktop-linux| Folder (ubuntu-2): 52 files| File types: ipynb(10) mojo(8) md(8) yaml(5) py(4) json(1) mojosdk(1) | 🔥(1) gitattributes(1) png(1) | Conf files: devcontainer.json(1); ```
Extensions (23) Extension|Author (truncated)|Version ---|---|--- snippets-plotly|ana|2.0.1 foundry-snippets|Cri|1.0.4 mojo|Cri|0.0.2 vscode-jekyll-snippets|gin|0.9.3 remotehub|Git|0.60.0 gitpod-desktop|git|0.0.157 intellij-idea-keybindings|k--|1.5.10 vscode-extension-jekyll-kw|kar|0.0.15 mojo-vscode|Kar|1.0.3 vsc-python-indent|Kev|1.18.0 mojo-lang|moj|0.1.0 vscode-edge-devtools|ms-|2.1.3 jupyter-keymap|ms-|1.1.2 remote-containers|ms-|0.309.0 remote-ssh|ms-|0.106.2 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.81.2 vscode-remote-extensionpack|ms-|0.24.0 azure-repos|ms-|0.36.0 remote-repositories|ms-|0.38.1 scala|sca|0.5.7 pdf|tom|1.2.2 jinja|who|0.0.8 (2 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263:30792226 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 vscccc:30803845 282f8724:30602487 f6dab269:30613381 showlangstatbar:30737416 03d35959:30757346 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30805730 pythonnoceb:30805159 asynctok:30821568 dsvsc013:30795093 dsvsc014:30804076 diffeditorv2:30821572 dsvsc015cf:30829746 ```
gjsjohnmurray commented 1 year ago

I suggest you create a new Profile in which you disable all non-essential extensions, then see if the problem remains.

ChitturiSaiSuman commented 1 year ago

You can switch to the pre-release version and continue with your work. There is an issue with the new release. It keeps asking for a password despite having already connected to the host.

jpbianchi commented 1 year ago

@ChitturiSaiSuman I just tried, and I get the same error... I reinstalled everything last night and it worked, for hours, so, imo, it's not the extensions or the dev containers version. Then today, I restart VS Code and the problem appears again.

skyleaworlder commented 1 year ago

@gjsjohnmurray I have the same issue. I use bisect to disable all extensions but it still occurs.

I try to reinstall code and remove .vscode-server on my server, and it doesn't work.

jpbianchi commented 1 year ago

@gjsjohnmurray Does it work when you install everything and run it for the first time like me? Then next time around, the error appears. I don't think it's Docker, but more probably a VS Code issue.

chrmarti commented 1 year ago

Please append the Dev Containers log from when this happens. (F1 > Dev Containers: Show Container Log)

jpbianchi commented 1 year ago

@chrmarti Here's the log. Every time I hit 'Restart Remote Extension host', it connects properly, the Mojo kernel appears automatically but very briefly (1s) in the notebook on the top right, and then it disappears again.
If there is a bug, why could I work for hours the first time when I started from scratch? I've tried release/pre-release versions of dev containers, jupyter extensions, I even tried VSCode 1.79 with always the same error.

Dev Containers log [12 ms] Dev Containers 0.309.0 in VS Code 1.82.1 (6509174151d557a81c9d0b5f8a5a1e9274db5585). [12 ms] Start: Resolving Remote [17 ms] Start: Check Docker is running [17 ms] Start: Run: docker version --format {{.Server.APIVersion}} [58 ms] Server API version: 1.43 [63 ms] Start: Run: tar --no-same-owner -x -f - [68 ms] Start: Run: docker build -f /var/folders/3m/13nq658x1mq0ss5658vysz2r0000gn/T/vsch/bootstrap-image/0.309.0/bootstrap.Dockerfile -t vsc-volume-bootstrap /var/folders/3m/13nq658x1mq0ss5658vysz2r0000gn/T/vsch/bootstrap-image/0.309.0 [+] Building 0.4s (10/10) FINISHED docker:desktop-linux => [internal] load build definition from bootstrap.Dockerfile 0.0s => => transferring dockerfile: 570B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for mcr.microsoft.com/devcontainers/base:0-a 0.4s => [1/5] FROM mcr.microsoft.com/devcontainers/base:0-alpine-3.16@sha256: 0.0s => [internal] load build context 0.0s => => transferring context: 1.78MB 0.0s => CACHED [2/5] RUN echo "@old https://dl-cdn.alpinelinux.org/alpine/v3. 0.0s => CACHED [3/5] RUN apk add --no-cache git-lfs nodejs python3 npm m 0.0s => CACHED [4/5] RUN cd && npm i node-pty 0.0s => CACHED [5/5] COPY .vscode-remote-containers /root/.vscode-remote-cont 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:0d9f543684098e8a85f12fcdc1c7e71c71afd8c248a77 0.0s => => naming to docker.io/library/vsc-volume-bootstrap 0.0s What's Next? View summary of image vulnerabilities and recommendations → docker scout quickview [1252 ms] Start: Run: docker run -d --mount type=volume,src=ubuntu-2,dst=/workspaces -v /var/run/docker.sock:/var/run/docker.sock vsc-volume-bootstrap sleep infinity [1425 ms] Start: Run in container: /bin/sh [1582 ms] Start: Run in container: node /root/.vscode-remote-containers/dist/dev-containers-cli-0.309.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /workspaces/ubuntu-2 --id-label vsc.devcontainer.volume.name=ubuntu-2 --id-label vsc.devcontainer.volume.folder=ubuntu-2 --log-level debug --log-format json --mount-workspace-git-root true [1918 ms] @devcontainers/cli 0.51.1. Node.js v16.20.1. linux 5.15.49-linuxkit-pr x64. [1918 ms] Start: Run: git rev-parse --show-cdup [1930 ms] Start: Run: docker ps -q -a --filter label=vsc.devcontainer.volume.name=ubuntu-2 --filter label=vsc.devcontainer.volume.folder=ubuntu-2 [2002 ms] Start: Run: docker inspect --type container 86e567a58dd9 [2029 ms] Start: Run in container: test -e "/Users/jpb2" || (mkdir -p "$(dirname "/Users/jpb2")" && ln -s ~ "/Users/jpb2") [2032 ms] [2032 ms] [2032 ms] Start: Run in container: cat <<'EOF-/tmp/devcontainer-ba01f94b-ac35-43c0-afc0-a1e61ed34d57.json' >/tmp/devcontainer-ba01f94b-ac35-43c0-afc0-a1e61ed34d57.json_1694602878202 [2037 ms] [2037 ms] [2037 ms] Start: Run in container: docker volume ls -q [2261 ms] Start: Run in container: docker ps -q -a --filter label=vsc.devcontainer.volume.name=ubuntu-2 --filter label=vsc.devcontainer.volume.folder=ubuntu-2 [2343 ms] Start: Run in container: docker inspect --type container 86e567a58dd9 [2422 ms] Start: Run: docker exec -i -u root 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 /bin/sh -c echo "Container already running. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=17d8f305-6934-48ca-a3a3-b27a9f2325b11694602875827 ; /bin/sh [2492 ms] Container already running. Keep-alive process started. [2558 ms] Start: Run in container: node /root/.vscode-remote-containers/dist/dev-containers-cli-0.309.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /workspaces/ubuntu-2 --id-label vsc.devcontainer.volume.name=ubuntu-2 --id-label vsc.devcontainer.volume.folder=ubuntu-2 --log-level debug --log-format json --config /workspaces/ubuntu-2/.devcontainer/devcontainer.json --override-config /tmp/devcontainer-ba01f94b-ac35-43c0-afc0-a1e61ed34d57.json --mount-workspace-git-root true [2745 ms] @devcontainers/cli 0.51.1. Node.js v16.20.1. linux 5.15.49-linuxkit-pr x64. [2745 ms] Start: Run: git rev-parse --show-cdup [2751 ms] Start: Run: docker ps -q -a --filter label=vsc.devcontainer.volume.name=ubuntu-2 --filter label=vsc.devcontainer.volume.folder=ubuntu-2 [2767 ms] Start: Run: docker inspect --type container 86e567a58dd9 [2974 ms] Start: Run in container: node /root/.vscode-remote-containers/dist/dev-containers-cli-0.309.0/dist/spec-node/devContainersSpecCLI.js up --container-session-data-folder /tmp/devcontainers-17d8f305-6934-48ca-a3a3-b27a9f2325b11694602875827 --container-data-folder .vscode-server/data/Machine --container-system-data-folder /var/vscode-server --workspace-folder /workspaces/ubuntu-2 --workspace-mount-consistency cached --id-label vsc.devcontainer.volume.name=ubuntu-2 --id-label vsc.devcontainer.volume.folder=ubuntu-2 --log-level debug --log-format json --config /workspaces/ubuntu-2/.devcontainer/devcontainer.json --override-config /tmp/devcontainer-ba01f94b-ac35-43c0-afc0-a1e61ed34d57.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=ubuntu-2,target=/workspaces,external=true --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default off --mount-workspace-git-root true [3168 ms] @devcontainers/cli 0.51.1. Node.js v16.20.1. linux 5.15.49-linuxkit-pr x64. [3168 ms] Start: Run: docker buildx version [3268 ms] github.com/docker/buildx v0.8.2 6224def4dd2c3d347eee19db595348c50d7cb491 [3268 ms] [3268 ms] Start: Resolving Remote [3270 ms] Start: Run: git rev-parse --show-cdup [3381 ms] Start: Run: docker ps -q -a --filter label=vsc.devcontainer.volume.name=ubuntu-2 --filter label=vsc.devcontainer.volume.folder=ubuntu-2 [3398 ms] Start: Run: docker inspect --type container 86e567a58dd9 [3416 ms] Start: Inspecting container [3416 ms] Start: Run: docker inspect --type container 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 [3434 ms] Start: Run in container: /bin/sh [3436 ms] Start: Run in container: uname -m [3480 ms] x86_64 [3480 ms] [3480 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [3483 ms] PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian 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" UBUNTU_CODENAME=jammy [3483 ms] [3484 ms] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true) [3487 ms] Start: Run in container: test -f '/var/vscode-server/.patchEtcEnvironmentMarker' [3488 ms] [3489 ms] [3489 ms] Start: Run in container: test -f '/var/vscode-server/.patchEtcProfileMarker' [3490 ms] [3490 ms] [3499 ms] Start: Run: docker inspect --type container 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 [3535 ms] Start: Run in container: node /root/.vscode-remote-containers/dist/dev-containers-cli-0.309.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /workspaces/ubuntu-2 --id-label vsc.devcontainer.volume.name=ubuntu-2 --id-label vsc.devcontainer.volume.folder=ubuntu-2 --container-id 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 --log-level debug --log-format json --config /workspaces/ubuntu-2/.devcontainer/devcontainer.json --override-config /tmp/devcontainer-ba01f94b-ac35-43c0-afc0-a1e61ed34d57.json --include-merged-configuration --mount-workspace-git-root true [3727 ms] @devcontainers/cli 0.51.1. Node.js v16.20.1. linux 5.15.49-linuxkit-pr x64. [3727 ms] Start: Run: git rev-parse --show-cdup [3732 ms] Start: Run: docker inspect --type container 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 [3757 ms] Start: Inspecting container [3757 ms] Start: Run: docker inspect --type container 86e567a58dd991e1fba573734f4f9145f998b1bc869eed3189fbfd5eb2783889 [3794 ms] Start: Run in container: /bin/sh [3795 ms] Start: Run in container: uname -m [3857 ms] x86_64 [3857 ms] [3857 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [3859 ms] PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian 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" UBUNTU_CODENAME=jammy [3859 ms] [3859 ms] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true) [3861 ms] Start: Setup shutdown monitor [3862 ms] Forking shutdown monitor: /Users/jpb2/.vscode/extensions/ms-vscode-remote.remote-containers-0.309.0/dist/shutdown/shutdownMonitorProcess /var/folders/3m/13nq658x1mq0ss5658vysz2r0000gn/T/vscode-remote-containers-89514e1e-9f1d-4bfb-aa73-df419f11a8be.sock singleContainer Debug /Users/jpb2/Library/Application Support/Code/logs/20230913T125833/window4/exthost/ms-vscode-remote.remote-containers 1694602876170 [3863 ms] Start: Run in container: test -d /home/vscode/.vscode-server [3865 ms] [3865 ms] [3865 ms] Start: Run in container: test ! -f '/home/vscode/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/vscode/.vscode-server/data/Machine' && { > '/home/vscode/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null [3866 ms] [3866 ms] [3866 ms] Exit code 1 [3867 ms] Start: Run in container: cat /home/vscode/.vscode-server/data/Machine/settings.json [3868 ms] [3868 ms] cat: /home/vscode/.vscode-server/data/Machine/settings.json: No such file or directory [3868 ms] Exit code 1 [3868 ms] Start: Run in container: test -d /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585 [3869 ms] [3869 ms] [3869 ms] Exit code 1 [3870 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/6509174151d557a81c9d0b5f8a5a1e9274db5585 [3870 ms] [3870 ms] [3871 ms] Exit code 1 [3871 ms] Installing VS Code Server for commit 6509174151d557a81c9d0b5f8a5a1e9274db5585 [3871 ms] Start: Run in container: /bin/sh [3871 ms] Start: Downloading VS Code Server [3872 ms] 6509174151d557a81c9d0b5f8a5a1e9274db5585 linux-x64 stable [10714 ms] Start: Installing VS Code Server [10714 ms] Start: Run in container: mkdir -p /vscode/vscode-server/bin/linux-x64/6509174151d557a81c9d0b5f8a5a1e9274db5585_1694602886884 [10719 ms] [10719 ms] [10740 ms] Start: Run in container: (dd iflag=fullblock bs=8192 count=6269 2>/dev/null; dd iflag=fullblock bs=3646 count=1 2>/dev/null) | tar --no-same-owner -xz -C /vscode/vscode-server/bin/linux-x64/6509174151d557a81c9d0b5f8a5a1e9274db5585_1694602886884 [11571 ms] [11571 ms] [11571 ms] Start: Run in container: mv -n /vscode/vscode-server/bin/linux-x64/6509174151d557a81c9d0b5f8a5a1e9274db5585_1694602886884/* /vscode/vscode-server/bin/linux-x64/6509174151d557a81c9d0b5f8a5a1e9274db5585 && rmdir /vscode/vscode-server/bin/linux-x64/6509174151d557a81c9d0b5f8a5a1e9274db5585_1694602886884 [11574 ms] [11575 ms] [11575 ms] Start: Run in container: mkdir -p '/home/vscode/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/6509174151d557a81c9d0b5f8a5a1e9274db5585' '/home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585' [11577 ms] [11577 ms] [11577 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/6509174151d557a81c9d0b5f8a5a1e9274db5585' && cd '/vscode/vscode-server/bin/linux-x64' && ls -td *[^_]????????????? | tail -n +10 | xargs rm -rf [11577 ms] Start: Launching Dev Containers helper. [11577 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-6dd01a4b-e6de-464a-9db6-0058d28fb1e5.sock) forwarded to local host (/private/tmp/com.apple.launchd.Ove8O7Wlnx/Listeners). [11577 ms] X11 forwarding: DISPLAY not set on local host. [11578 ms] Start: Run in container: gpgconf --list-dir agent-socket [11581 ms] [11581 ms] [11582 ms] /home/vscode/.gnupg/S.gpg-agent [11582 ms] [11582 ms] Start: Run in container: gpgconf --list-dir homedir [11583 ms] /home/vscode/.gnupg [11583 ms] [11584 ms] Start: Run in container: ls '/home/vscode/.gnupg/private-keys-v1.d' 2>/dev/null [11585 ms] [11585 ms] [11585 ms] Exit code 2 [11585 ms] Start: Run: gpgconf --list-dir agent-extra-socket [11587 ms] gpg-agent: No agent-extra-socket found on local host. [11587 ms] Start: Run in container: command -v docker >/dev/null 2>&1 [11588 ms] [11588 ms] [11588 ms] Exit code 127 [11588 ms] Start: Run in container: /bin/sh [11589 ms] userEnvProbe: loginInteractiveShell (default) [11589 ms] Start: Run in container: test -f '/tmp/devcontainers-17d8f305-6934-48ca-a3a3-b27a9f2325b11694602875827/env-loginInteractiveShell.json' [11589 ms] Start: Run in container: echo ~ [11589 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node /tmp/vscode-remote-containers-6dd01a4b-e6de-464a-9db6-0058d28fb1e5.js git-credential-helper $*; }; f' || true [11591 ms] [11591 ms] [11591 ms] Exit code 1 [11591 ms] userEnvProbe: not found in cache [11591 ms] userEnvProbe shell: /bin/bash [11598 ms] [11599 ms] [11599 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 " [11625 ms] Start: Run in container: cat '/home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/product.json' [11628 ms] Start: Run in container: cat '/home/vscode/.vscode-server/data/Machine/.connection-token-6509174151d557a81c9d0b5f8a5a1e9274db5585' 2>/dev/null || (umask 377 && echo '20c97061-6532-4845-9f19-2e56940f64ed' >'/home/vscode/.vscode-server/data/Machine/.connection-token-6509174151d557a81c9d0b5f8a5a1e9274db5585-67eaaf21-04b3-4531-a39d-22b0f75846a9' && mv -n '/home/vscode/.vscode-server/data/Machine/.connection-token-6509174151d557a81c9d0b5f8a5a1e9274db5585-67eaaf21-04b3-4531-a39d-22b0f75846a9' '/home/vscode/.vscode-server/data/Machine/.connection-token-6509174151d557a81c9d0b5f8a5a1e9274db5585' && rm -f '/home/vscode/.vscode-server/data/Machine/.connection-token-6509174151d557a81c9d0b5f8a5a1e9274db5585-67eaaf21-04b3-4531-a39d-22b0f75846a9' && cat '/home/vscode/.vscode-server/data/Machine/.connection-token-6509174151d557a81c9d0b5f8a5a1e9274db5585') [11632 ms] 20c97061-6532-4845-9f19-2e56940f64ed [11632 ms] [11632 ms] Start: Starting VS Code Server [11633 ms] Start: Preparing Extensions [11633 ms] Start: Run in container: test ! -f '/home/vscode/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/home/vscode/.vscode-server/data/Machine' && { > '/home/vscode/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null [11634 ms] [11634 ms] [11634 ms] Exit code 1 [11635 ms] Extensions cache, install extensions: None [11635 ms] Start: Run in container: test -d /home/vscode/.vscode-server/extensionsCache && ls /home/vscode/.vscode-server/extensionsCache || true [11637 ms] formulahendry.docker-explorer-0.1.7 modular-mojotools.vscode-mojo-0.2.1 ms-azuretools.vscode-docker-1.26.0 ms-toolsai.jupyter-2023.8.1002501831-linux-x64 ms-toolsai.jupyter-keymap-1.1.2 ms-toolsai.jupyter-renderers-1.0.17 ms-toolsai.vscode-jupyter-cell-tags-0.1.8 ms-toolsai.vscode-jupyter-powertoys-0.0.8 ms-toolsai.vscode-jupyter-slideshow-0.1.5 [11637 ms] [11637 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true [11638 ms] formulahendry.docker-explorer-0.1.7 haskell.haskell-2.2.2 haskell.haskell-2.2.2.sigzip justusadam.language-haskell-3.6.0 justusadam.language-haskell-3.6.0.sigzip modular-mojotools.vscode-mojo-0.2.1 ms-azuretools.vscode-docker-1.24.0 ms-azuretools.vscode-docker-1.26.0 ms-python.python-2023.16.0 ms-python.python-2023.4.0 ms-python.python-2023.4.1 ms-python.python-2023.4.1.sigzip ms-python.vscode-pylance-2023.3.20 ms-python.vscode-pylance-2023.3.30 ms-python.vscode-pylance-2023.3.40 ms-python.vscode-pylance-2023.9.10 ms-toolsai.jupyter-2023.2.1200692131 ms-toolsai.jupyter-2023.8.1002501831-linux-x64 ms-toolsai.jupyter-keymap-1.1.0 ms-toolsai.jupyter-keymap-1.1.0.sigzip ms-toolsai.jupyter-keymap-1.1.2 ms-toolsai.jupyter-renderers-1.0.15 ms-toolsai.jupyter-renderers-1.0.15.sigzip ms-toolsai.jupyter-renderers-1.0.17 ms-toolsai.vscode-jupyter-cell-tags-0.1.6 ms-toolsai.vscode-jupyter-cell-tags-0.1.6.sigzip ms-toolsai.vscode-jupyter-cell-tags-0.1.8 ms-toolsai.vscode-jupyter-powertoys-0.0.8 ms-toolsai.vscode-jupyter-slideshow-0.1.5 ms-toolsai.vscode-jupyter-slideshow-0.1.5.sigzip samghelms.jupyter-notebook-vscode-0.0.2 vigoo.stylish-haskell-0.0.10 vigoo.stylish-haskell-0.0.10.sigzip [11638 ms] [11639 ms] Extensions cache, link in container: None [11639 ms] Optimizing extensions for quality: stable [11639 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/bin/code-server --log debug --force-disable-user-env --server-data-dir /home/vscode/.vscode-server --telemetry-level all --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /home/vscode/.vscode-server/data/Machine/.connection-token-6509174151d557a81c9d0b5f8a5a1e9274db5585 --extensions-download-dir /home/vscode/.vscode-server/extensionsCache --start-server [11657 ms] /home/vscode [11657 ms] [11657 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-6dd01a4b-e6de-464a-9db6-0058d28fb1e5.js' >/tmp/vscode-remote-containers-6dd01a4b-e6de-464a-9db6-0058d28fb1e5.js [11658 ms] [11659 ms] [11659 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-6dd01a4b-e6de-464a-9db6-0058d28fb1e5.js' >/tmp/vscode-remote-containers-server-6dd01a4b-e6de-464a-9db6-0058d28fb1e5.js_1694602887829 [11669 ms] [11669 ms] [11738 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). * [11741 ms] Server bound to 127.0.0.1:36175 (IPv4) Extension host agent listening on 36175 [11741 ms] Start: Run in container: echo 36175 >'/home/vscode/.vscode-server/data/Machine/.devport-6509174151d557a81c9d0b5f8a5a1e9274db5585' [11742 ms] [11742 ms] [11743 ms] Port forwarding for container port 36175 starts listening on local port. [11743 ms] Port forwarding local port 36175 to container port 36175 [11744 ms] Start: Run in container: # Test for /home/vscode/.gitconfig and git [11745 ms] /home/vscode/.gitconfig exists [11745 ms] [11745 ms] Exit code 1 [11746 ms] Start: Run in container: # Cleaning up git config [11746 ms] userEnvProbe PATHs: Probe: '/home/vscode/.local/bin:/home/vscode/.modular/pkg/packages.modular.com_mojo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin' Container: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' [11750 ms] [11750 ms] [11750 ms] Start: Run in container: mkdir -p '/tmp/devcontainers-17d8f305-6934-48ca-a3a3-b27a9f2325b11694602875827' && cat > '/tmp/devcontainers-17d8f305-6934-48ca-a3a3-b27a9f2325b11694602875827/env-loginInteractiveShell.json' << 'envJSON' [11752 ms] [11752 ms] [11752 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node /tmp/vscode-remote-containers-6dd01a4b-e6de-464a-9db6-0058d28fb1e5.js git-credential-helper $*; }; f' || true [11755 ms] [11755 ms] [11756 ms] Start: Run: docker rm -f 3456f3874735797d101716ea0b789085b2197053ff50c104ce57e38eb9a0d3c3 [11758 ms] Port forwarding connection from 50086 > 36175 > 36175 in the container. [11758 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [11827 ms] [11:01:27] [11857 ms] Port forwarding 50086 > 36175 > 36175 stderr: Connection established [11859 ms] [11:01:28] Extension host agent started. [11904 ms] [11:01:28] No uninstalled extensions found. [11906 ms] Port forwarding connection from 50090 > 36175 > 36175 in the container. [11906 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [12004 ms] Port forwarding 50090 > 36175 > 36175 stderr: Connection established [12055 ms] [11:01:28] [127.0.0.1][618ee1c3][ManagementConnection] New connection established. [12079 ms] [11:01:28] [127.0.0.1][23afe920][ExtensionHostConnection] New connection established. [12082 ms] [11:01:28] [127.0.0.1][23afe920][ExtensionHostConnection] <282> Launched Extension Host Process. [12086 ms] [11:01:28] Log level changed to info [12699 ms] Port forwarding connection from 50094 > 36175 > 36175 in the container. [12701 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [12835 ms] Port forwarding 50094 > 36175 > 36175 stderr: Connection established [13640 ms] Start: Run in container: cat /proc/359/environ [14196 ms] [11:01:30] [127.0.0.1][23afe920][ExtensionHostConnection] <282> Extension Host Process exited with code: null, signal: SIGSEGV. [14196 ms] Port forwarding 50090 > 36175 > 36175 stderr: Remote close [14203 ms] Port forwarding 50090 > 36175 > 36175 terminated with code 0 and signal null. [14204 ms] Port forwarding 50090 > 36175 > 36175: Local close [14205 ms] Port forwarding connection from 50103 > 36175 > 36175 in the container. [14205 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [14294 ms] Port forwarding 50103 > 36175 > 36175 stderr: Connection established [14302 ms] Port forwarding 50103 > 36175 > 36175 stderr: Remote close [14309 ms] Port forwarding 50103 > 36175 > 36175 terminated with code 0 and signal null. [14309 ms] Port forwarding 50103 > 36175 > 36175: Local close [14312 ms] Port forwarding connection from 50105 > 36175 > 36175 in the container. [14312 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [14402 ms] Port forwarding 50105 > 36175 > 36175 stderr: Connection established [14411 ms] [11:01:30] [127.0.0.1][c339abb3][ExtensionHostConnection] New connection established. [14414 ms] [11:01:30] [127.0.0.1][c339abb3][ExtensionHostConnection] <425> Launched Extension Host Process. [15757 ms] [11:01:31] [127.0.0.1][c339abb3][ExtensionHostConnection] <425> Extension Host Process exited with code: null, signal: SIGSEGV. [15757 ms] Port forwarding 50105 > 36175 > 36175 stderr: Remote close [15764 ms] Port forwarding 50105 > 36175 > 36175 terminated with code 0 and signal null. [15764 ms] Port forwarding 50105 > 36175 > 36175: Local close [15765 ms] Port forwarding connection from 50110 > 36175 > 36175 in the container. [15765 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [15843 ms] Port forwarding 50110 > 36175 > 36175 stderr: Connection established [15852 ms] Port forwarding 50110 > 36175 > 36175 stderr: Remote close [15860 ms] Port forwarding 50110 > 36175 > 36175 terminated with code 0 and signal null. [15861 ms] Port forwarding 50110 > 36175 > 36175: Local close [15887 ms] Port forwarding connection from 50112 > 36175 > 36175 in the container. [15888 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [15973 ms] Port forwarding 50112 > 36175 > 36175 stderr: Connection established [15980 ms] [11:01:32] [127.0.0.1][4969f142][ExtensionHostConnection] New connection established. [15983 ms] [11:01:32] [127.0.0.1][4969f142][ExtensionHostConnection] <537> Launched Extension Host Process. [17208 ms] [11:01:33] [127.0.0.1][4969f142][ExtensionHostConnection] <537> Starting WebSocket: RAW/api/kernels/b0294e2b-14b2-495d-8503-af0599f1649d [17269 ms] [11:01:33] [127.0.0.1][4969f142][ExtensionHostConnection] <537> Extension Host Process exited with code: null, signal: SIGSEGV. [17269 ms] Port forwarding 50112 > 36175 > 36175 stderr: Remote close [17277 ms] Port forwarding 50112 > 36175 > 36175 terminated with code 0 and signal null. [17277 ms] Port forwarding 50112 > 36175 > 36175: Local close [17278 ms] Port forwarding connection from 50117 > 36175 > 36175 in the container. [17278 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [17370 ms] Port forwarding 50117 > 36175 > 36175 stderr: Connection established [17378 ms] Port forwarding 50117 > 36175 > 36175 stderr: Remote close [17386 ms] Port forwarding 50117 > 36175 > 36175 terminated with code 0 and signal null. [17386 ms] Port forwarding 50117 > 36175 > 36175: Local close [17840 ms] Port forwarding 50094 > 36175 > 36175 stderr: Remote close [17847 ms] Port forwarding 50094 > 36175 > 36175 terminated with code 0 and signal null. [1346879 ms] Port forwarding 50094 > 36175 > 36175: Local close [23799572 ms] Port forwarding connection from 51322 > 36175 > 36175 in the container. [23799573 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [23799658 ms] Port forwarding 51322 > 36175 > 36175 stderr: Connection established [23799666 ms] [17:37:55] [127.0.0.1][92d090cc][ExtensionHostConnection] New connection established. [23799669 ms] [17:37:55] [127.0.0.1][92d090cc][ExtensionHostConnection] <25202> Launched Extension Host Process. [23800944 ms] [17:37:57] [127.0.0.1][92d090cc][ExtensionHostConnection] <25202> Starting WebSocket: RAW/api/kernels/b79d6675-4404-4c60-b5d0-a32a19862ef4 [23801080 ms] [17:37:57] [127.0.0.1][92d090cc][ExtensionHostConnection] <25202> Extension Host Process exited with code: null, signal: SIGSEGV. [23801080 ms] Port forwarding 51322 > 36175 > 36175 stderr: Remote close [23801087 ms] Port forwarding 51322 > 36175 > 36175 terminated with code 0 and signal null. [23801088 ms] Port forwarding 51322 > 36175 > 36175: Local close [23801089 ms] Port forwarding connection from 51337 > 36175 > 36175 in the container. [23801089 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [23801171 ms] Port forwarding 51337 > 36175 > 36175 stderr: Connection established [23801179 ms] Port forwarding 51337 > 36175 > 36175 stderr: Remote close [23801187 ms] Port forwarding 51337 > 36175 > 36175 terminated with code 0 and signal null. [23801187 ms] Port forwarding 51337 > 36175 > 36175: Local close [23801197 ms] Port forwarding connection from 51345 > 36175 > 36175 in the container. [23801198 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [23801272 ms] Port forwarding 51345 > 36175 > 36175 stderr: Connection established [23801279 ms] [17:37:57] [127.0.0.1][62702a74][ExtensionHostConnection] New connection established. [23801282 ms] [17:37:57] [127.0.0.1][62702a74][ExtensionHostConnection] <25305> Launched Extension Host Process. [23802508 ms] [17:37:58] [127.0.0.1][62702a74][ExtensionHostConnection] <25305> Starting WebSocket: RAW/api/kernels/522feb53-3295-4ec1-87e8-3d39f32efdd0 [23802568 ms] [17:37:58] [127.0.0.1][62702a74][ExtensionHostConnection] <25305> Extension Host Process exited with code: null, signal: SIGSEGV. [23802569 ms] Port forwarding 51345 > 36175 > 36175 stderr: Remote close [23802576 ms] Port forwarding 51345 > 36175 > 36175 terminated with code 0 and signal null. [23802576 ms] Port forwarding 51345 > 36175 > 36175: Local close [23802577 ms] Port forwarding connection from 51353 > 36175 > 36175 in the container. [23802577 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [23802663 ms] Port forwarding 51353 > 36175 > 36175 stderr: Connection established [23802670 ms] Port forwarding 51353 > 36175 > 36175 stderr: Remote close [23802678 ms] Port forwarding 51353 > 36175 > 36175 terminated with code 0 and signal null. [23802679 ms] Port forwarding 51353 > 36175 > 36175: Local close [23802690 ms] Port forwarding connection from 51354 > 36175 > 36175 in the container. [23802690 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [23802771 ms] Port forwarding 51354 > 36175 > 36175 stderr: Connection established [23802783 ms] [17:37:58] [127.0.0.1][5dd62be2][ExtensionHostConnection] New connection established. [23802786 ms] [17:37:58] [127.0.0.1][5dd62be2][ExtensionHostConnection] <25408> Launched Extension Host Process. [23803993 ms] [17:38:00] [127.0.0.1][5dd62be2][ExtensionHostConnection] <25408> Starting WebSocket: RAW/api/kernels/cfc0fa5f-0d14-492e-be96-aaa71e10b480 [23804101 ms] [17:38:00] [127.0.0.1][5dd62be2][ExtensionHostConnection] <25408> Extension Host Process exited with code: null, signal: SIGSEGV. [23804101 ms] Port forwarding 51354 > 36175 > 36175 stderr: Remote close [23804108 ms] Port forwarding 51354 > 36175 > 36175 terminated with code 0 and signal null. [23804108 ms] Port forwarding 51354 > 36175 > 36175: Local close [23804110 ms] Port forwarding connection from 51366 > 36175 > 36175 in the container. [23804110 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [23804190 ms] Port forwarding 51366 > 36175 > 36175 stderr: Connection established [23804198 ms] Port forwarding 51366 > 36175 > 36175 stderr: Remote close [23804205 ms] Port forwarding 51366 > 36175 > 36175 terminated with code 0 and signal null. [23804205 ms] Port forwarding 51366 > 36175 > 36175: Local close [23927956 ms] Port forwarding connection from 52144 > 36175 > 36175 in the container. [23927957 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [23928035 ms] Port forwarding 52144 > 36175 > 36175 stderr: Connection established [23928042 ms] [17:40:04] [127.0.0.1][799a0c95][ExtensionHostConnection] New connection established. [23928045 ms] [17:40:04] [127.0.0.1][799a0c95][ExtensionHostConnection] <25664> Launched Extension Host Process. [23928774 ms] [17:40:04] [127.0.0.1][799a0c95][ExtensionHostConnection] <25664> Extension Host Process exited with code: null, signal: SIGSEGV. [23928774 ms] Port forwarding 52144 > 36175 > 36175 stderr: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20)Remote close with error [23928784 ms] Port forwarding 52144 > 36175 > 36175 terminated with code 1 and signal null. [23928785 ms] Port forwarding 52144 > 36175 > 36175: Local close [23928785 ms] Port forwarding connection from 52156 > 36175 > 36175 in the container. [23928786 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [23928870 ms] Port forwarding 52156 > 36175 > 36175 stderr: Connection established [23928878 ms] Port forwarding 52156 > 36175 > 36175 stderr: Remote close [23928885 ms] Port forwarding 52156 > 36175 > 36175 terminated with code 0 and signal null. [23928885 ms] Port forwarding 52156 > 36175 > 36175: Local close [23964592 ms] Port forwarding connection from 52521 > 36175 > 36175 in the container. [23964592 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [23964670 ms] Port forwarding 52521 > 36175 > 36175 stderr: Connection established [23964677 ms] [17:40:40] [127.0.0.1][1df7e827][ExtensionHostConnection] New connection established. [23964680 ms] [17:40:40] [127.0.0.1][1df7e827][ExtensionHostConnection] <25743> Launched Extension Host Process. [23965898 ms] [17:40:42] [127.0.0.1][1df7e827][ExtensionHostConnection] <25743> Starting WebSocket: RAW/api/kernels/6a9a623e-d6e9-4259-ab2c-844ce652cee8 [23966014 ms] [17:40:42] [127.0.0.1][1df7e827][ExtensionHostConnection] <25743> Extension Host Process exited with code: null, signal: SIGSEGV. [23966014 ms] Port forwarding 52521 > 36175 > 36175 stderr: Remote close [23966021 ms] Port forwarding 52521 > 36175 > 36175 terminated with code 0 and signal null. [23966021 ms] Port forwarding 52521 > 36175 > 36175: Local close [23966022 ms] Port forwarding connection from 52529 > 36175 > 36175 in the container. [23966023 ms] Start: Run in container: /home/vscode/.vscode-server/bin/6509174151d557a81c9d0b5f8a5a1e9274db5585/node -e [23966100 ms] Port forwarding 52529 > 36175 > 36175 stderr: Connection established [23966111 ms] Port forwarding 52529 > 36175 > 36175 stderr: Remote close [23966119 ms] Port forwarding 52529 > 36175 > 36175 terminated with code 0 and signal null. [23966119 ms] Port forwarding 52529 > 36175 > 36175: Local close
yukihiko-shinoda commented 1 year ago

In my case, it happened if meets following all conditions:

It didn't happen even if either of condition is not met. It can't avoid even if I Reload With Extensions Disabled.

Dev Containers log ```console [34 ms] Dev Containers 0.309.0 in VS Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d). [34 ms] Start: Resolving Remote [54 ms] Setting up container for folder or workspace: /Users/c16e-shinoda/workspace/docker-compose-terraform [54 ms] Context: desktop-linux [56 ms] Start: Check Docker is running [56 ms] Start: Run: docker version --format {{.Server.APIVersion}} [157 ms] Server API version: 1.43 [157 ms] Start: Run: docker volume ls -q [241 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/Users/c16e-shinoda/workspace/docker-compose-terraform --filter label=vsch.quality=stable [348 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/c16e-shinoda/workspace/docker-compose-terraform --filter label=devcontainer.config_file=/Users/c16e-shinoda/workspace/docker-compose-terraform/.devcontainer/devcontainer.json [437 ms] Start: Run: docker inspect --type container 5fc67241eb2c [502 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/c16e-shinoda/workspace/docker-compose-terraform [567 ms] Start: Run: docker inspect --type container 5fc67241eb2c [633 ms] Start: Run: docker exec -i -u root 5fc67241eb2c9783861f083b980f91dd7dcbd590eb4018e63972cb24982d070d /bin/sh -c echo "Container already running. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=26cd5e98-d97a-4a12-b11c-49c843a951d21694783822481 ; /bin/sh [634 ms] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/c16e-shinoda/.vscode/extensions/ms-vscode-remote.remote-containers-0.309.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /Users/c16e-shinoda/workspace/docker-compose-terraform --id-label devcontainer.local_folder=/Users/c16e-shinoda/workspace/docker-compose-terraform --id-label devcontainer.config_file=/Users/c16e-shinoda/workspace/docker-compose-terraform/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/c16e-shinoda/workspace/docker-compose-terraform/.devcontainer/devcontainer.json --mount-workspace-git-root true [788 ms] Container already running. Keep-alive process started. [961 ms] @devcontainers/cli 0.51.1. Node.js v18.15.0. darwin 21.6.0 x64. [961 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/c16e-shinoda/workspace/docker-compose-terraform --filter label=devcontainer.config_file=/Users/c16e-shinoda/workspace/docker-compose-terraform/.devcontainer/devcontainer.json [1330 ms] Start: Run: docker inspect --type container 5fc67241eb2c [1843 ms] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/c16e-shinoda/.vscode/extensions/ms-vscode-remote.remote-containers-0.309.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/c16e-shinoda/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-26cd5e98-d97a-4a12-b11c-49c843a951d21694783822481 --workspace-folder /Users/c16e-shinoda/workspace/docker-compose-terraform --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/c16e-shinoda/workspace/docker-compose-terraform --id-label devcontainer.config_file=/Users/c16e-shinoda/workspace/docker-compose-terraform/.devcontainer/devcontainer.json --log-level debug --log-format json --config /Users/c16e-shinoda/workspace/docker-compose-terraform/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true [2275 ms] @devcontainers/cli 0.51.1. Node.js v18.15.0. darwin 21.6.0 x64. [2275 ms] Start: Run: docker buildx version [2812 ms] github.com/docker/buildx v0.11.2-desktop.4 b9955a86a20bf0112ebb4f14424bf59fc46ee179 [2812 ms] [2812 ms] Start: Resolving Remote [2898 ms] Start: Run: docker-compose version --short [3510 ms] Docker Compose version: 2.21.0-desktop.1 [3510 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=docker-compose-terraform --filter label=com.docker.compose.service=tfenv [3584 ms] Start: Run: docker inspect --type container 5fc67241eb2c [3660 ms] Start: Inspecting container [3660 ms] Start: Run: docker inspect --type container 5fc67241eb2c9783861f083b980f91dd7dcbd590eb4018e63972cb24982d070d [3734 ms] Start: Run in container: /bin/sh [3735 ms] Start: Run in container: uname -m [3863 ms] x86_64 [3863 ms] [3863 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [3868 ms] PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" [3868 ms] [3869 ms] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) [3873 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker' [3876 ms] [3876 ms] [3877 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker' [3880 ms] [3880 ms] [3893 ms] Start: Run: docker inspect --type container 5fc67241eb2c9783861f083b980f91dd7dcbd590eb4018e63972cb24982d070d [4001 ms] Start: Run: docker-compose version --short [4264 ms] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/c16e-shinoda/.vscode/extensions/ms-vscode-remote.remote-containers-0.309.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /Users/c16e-shinoda/workspace/docker-compose-terraform --id-label devcontainer.local_folder=/Users/c16e-shinoda/workspace/docker-compose-terraform --id-label devcontainer.config_file=/Users/c16e-shinoda/workspace/docker-compose-terraform/.devcontainer/devcontainer.json --container-id 5fc67241eb2c9783861f083b980f91dd7dcbd590eb4018e63972cb24982d070d --log-level debug --log-format json --config /Users/c16e-shinoda/workspace/docker-compose-terraform/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root true [4605 ms] @devcontainers/cli 0.51.1. Node.js v18.15.0. darwin 21.6.0 x64. [4605 ms] Start: Run: docker inspect --type container 5fc67241eb2c9783861f083b980f91dd7dcbd590eb4018e63972cb24982d070d [4694 ms] Start: Inspecting container [4695 ms] Start: Run: docker inspect --type container 5fc67241eb2c9783861f083b980f91dd7dcbd590eb4018e63972cb24982d070d [4769 ms] Start: Run in container: /bin/sh [4770 ms] Start: Run in container: uname -m [4903 ms] x86_64 [4903 ms] [4903 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [4908 ms] PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" [4908 ms] [4909 ms] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) [4914 ms] Start: Setup shutdown monitor [4915 ms] Forking shutdown monitor: /Users/c16e-shinoda/.vscode/extensions/ms-vscode-remote.remote-containers-0.309.0/dist/shutdown/shutdownMonitorProcess /var/folders/66/lydlbpk57yj8g2xcywxzvqj00000gn/T/vscode-remote-containers-311ec254-6f47-4bd7-8a26-26b390a8c486.sock dockerCompose Debug /Users/c16e-shinoda/Library/Application Support/Code/logs/20230915T174250/window14/exthost/ms-vscode-remote.remote-containers 1694783823306 [4918 ms] Start: Run in container: test -d /root/.vscode-server [4923 ms] [4923 ms] [4924 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null [4927 ms] [4927 ms] [4927 ms] Exit code 1 [4927 ms] Start: Run in container: cat /root/.vscode-server/data/Machine/settings.json [4933 ms] { "editor.formatOnSave": true, "terraform.experimentalFeatures.validateOnSave": true, "[terraform]": { "editor.defaultFormatter": "hashicorp.terraform", "editor.formatOnSave": false, "editor.codeActionsOnSave": { "source.formatAll.terraform": true } }, "[terraform-vars]": { "editor.defaultFormatter": "hashicorp.terraform", "editor.formatOnSave": false, "editor.codeActionsOnSave": { "source.formatAll.terraform": true } } } [4933 ms] [4934 ms] Start: Run in container: test -d /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d [4938 ms] [4938 ms] [4939 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d [4942 ms] [4942 ms] [4942 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d' [4943 ms] Start: Launching Dev Containers helper. [4943 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-143ab551-c473-49bd-9fac-0429960ac1af.sock) forwarded to local host (/private/tmp/com.apple.launchd.HOehnWW4Xx/Listeners). [4943 ms] X11 forwarding: DISPLAY not set on local host. [4947 ms] [4948 ms] [4949 ms] Start: Run in container: gpgconf --list-dir agent-socket [4959 ms] /root/.gnupg/S.gpg-agent [4959 ms] [4960 ms] Start: Run in container: gpgconf --list-dir homedir [4967 ms] /root/.gnupg [4967 ms] [4967 ms] Start: Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null [4974 ms] [4974 ms] [4974 ms] Exit code 2 [4975 ms] Start: Run: gpgconf --list-dir agent-extra-socket [4976 ms] gpg-agent: No agent-extra-socket found on local host. [4977 ms] Start: Run in container: command -v docker >/dev/null 2>&1 [4981 ms] [4981 ms] [4981 ms] Exit code 127 [4982 ms] Start: Run in container: /bin/sh [4984 ms] userEnvProbe: loginInteractiveShell (default) [4985 ms] Start: Run in container: test -f '/tmp/devcontainers-26cd5e98-d97a-4a12-b11c-49c843a951d21694783822481/env-loginInteractiveShell.json' [4986 ms] Start: Run in container: echo ~ [5000 ms] [5000 ms] [5000 ms] Exit code 1 [5000 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh [5001 ms] userEnvProbe: not found in cache [5001 ms] userEnvProbe shell: /bin/bash [5008 ms] /root/.ssh/known_hosts exists [5008 ms] [5008 ms] Exit code 1 [5009 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node /tmp/vscode-remote-containers-143ab551-c473-49bd-9fac-0429960ac1af.js git-credential-helper $*; }; f' || true [5034 ms] [5034 ms] [5035 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 " [5178 ms] /root [5178 ms] [5178 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-143ab551-c473-49bd-9fac-0429960ac1af.js' >/tmp/vscode-remote-containers-143ab551-c473-49bd-9fac-0429960ac1af.js [5187 ms] [5187 ms] [5187 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-143ab551-c473-49bd-9fac-0429960ac1af.js' >/tmp/vscode-remote-containers-server-143ab551-c473-49bd-9fac-0429960ac1af.js_1694783828493 [5197 ms] [5197 ms] [5288 ms] Start: Run in container: cat '/root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/product.json' [5296 ms] Extension host agent is already running. [5296 ms] Start: Run in container: cat '/root/.vscode-server/data/Machine/.devport-abd2f3db4bdb28f9e95536dfa84d8479f1eb312d' 2>/dev/null [5305 ms] 41327 [5306 ms] [5307 ms] Start: Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-abd2f3db4bdb28f9e95536dfa84d8479f1eb312d' [5320 ms] 8d4d980d-70d8-49e5-aace-79da9b46362a [5320 ms] [5321 ms] Port forwarding for container port 41327 starts listening on local port. [5323 ms] Port forwarding local port 41327 to container port 41327 [5326 ms] Start: Run in container: # Test for /root/.gitconfig and git [5329 ms] /root/.gitconfig exists [5329 ms] [5329 ms] Exit code 1 [5330 ms] Start: Run in container: # Cleaning up git config [5369 ms] [5369 ms] [5369 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node /tmp/vscode-remote-containers-143ab551-c473-49bd-9fac-0429960ac1af.js git-credential-helper $*; }; f' || true [5375 ms] userEnvProbe PATHs: Probe: '/root/.tfenv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/.guard/bin/' Container: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/.guard/bin/' [5384 ms] [5385 ms] [5385 ms] Start: Run in container: mkdir -p '/tmp/devcontainers-26cd5e98-d97a-4a12-b11c-49c843a951d21694783822481' && cat > '/tmp/devcontainers-26cd5e98-d97a-4a12-b11c-49c843a951d21694783822481/env-loginInteractiveShell.json' << 'envJSON' [5396 ms] [5397 ms] [5426 ms] Port forwarding connection from 50791 > 41327 > 41327 in the container. [5427 ms] Start: Run in container: /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node -e [5650 ms] Port forwarding 50791 > 41327 > 41327 stderr: Connection established [5665 ms] Port forwarding connection from 50795 > 41327 > 41327 in the container. [5666 ms] Start: Run in container: /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node -e [5906 ms] Port forwarding 50795 > 41327 > 41327 stderr: Connection established [9807 ms] Start: Run in container: cat /proc/1078/environ [9822 ms] Start: Run in container: rm '/tmp/vscode-remote-containers-ipc-792456c8-d78a-462b-b060-3bb5ea32cec1.sock' && ln -s '/tmp/vscode-remote-containers-ipc-143ab551-c473-49bd-9fac-0429960ac1af.sock' '/tmp/vscode-remote-containers-ipc-792456c8-d78a-462b-b060-3bb5ea32cec1.sock' [9847 ms] [9847 ms] [9848 ms] Start: Run in container: rm '/tmp/vscode-ssh-auth-792456c8-d78a-462b-b060-3bb5ea32cec1.sock' && ln -s '/tmp/vscode-ssh-auth-143ab551-c473-49bd-9fac-0429960ac1af.sock' '/tmp/vscode-ssh-auth-792456c8-d78a-462b-b060-3bb5ea32cec1.sock' [9881 ms] [9882 ms] [10433 ms] Port forwarding 50795 > 41327 > 41327 stderr: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) [10433 ms] Port forwarding 50795 > 41327 > 41327 stderr: Remote close with error [10458 ms] Port forwarding 50795 > 41327 > 41327 terminated with code 1 and signal null. [10459 ms] Port forwarding 50795 > 41327 > 41327: Local close [10462 ms] Port forwarding connection from 50812 > 41327 > 41327 in the container. [10462 ms] Start: Run in container: /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node -e [10620 ms] Port forwarding 50812 > 41327 > 41327 stderr: Connection established [10640 ms] Port forwarding 50812 > 41327 > 41327 stderr: Remote close [10668 ms] Port forwarding 50812 > 41327 > 41327 terminated with code 0 and signal null. [10668 ms] Port forwarding 50812 > 41327 > 41327: Local close [10669 ms] Port forwarding connection from 50813 > 41327 > 41327 in the container. [10670 ms] Start: Run in container: /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node -e [10837 ms] Port forwarding 50813 > 41327 > 41327 stderr: Connection established [13083 ms] Port forwarding 50813 > 41327 > 41327 stderr: Remote close [13103 ms] Port forwarding 50813 > 41327 > 41327 terminated with code 0 and signal null. [13104 ms] Port forwarding 50813 > 41327 > 41327: Local close [13140 ms] Port forwarding connection from 50820 > 41327 > 41327 in the container. [13141 ms] Start: Run in container: /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node -e [13332 ms] Port forwarding 50820 > 41327 > 41327 stderr: Connection established [13353 ms] Port forwarding 50820 > 41327 > 41327 stderr: Remote close [13374 ms] Port forwarding 50820 > 41327 > 41327 terminated with code 0 and signal null. [13375 ms] Port forwarding 50820 > 41327 > 41327: Local close [13382 ms] Port forwarding connection from 50821 > 41327 > 41327 in the container. [13382 ms] Start: Run in container: /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node -e [13551 ms] Port forwarding 50821 > 41327 > 41327 stderr: Connection established [15777 ms] Port forwarding 50821 > 41327 > 41327 stderr: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20) [15778 ms] Port forwarding 50821 > 41327 > 41327 stderr: Remote close with error [15800 ms] Port forwarding 50821 > 41327 > 41327 terminated with code 1 and signal null. [15801 ms] Port forwarding 50821 > 41327 > 41327: Local close [15824 ms] Port forwarding connection from 50829 > 41327 > 41327 in the container. [15824 ms] Start: Run in container: /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node -e [16006 ms] Port forwarding 50829 > 41327 > 41327 stderr: Connection established [16031 ms] Port forwarding 50829 > 41327 > 41327 stderr: Remote close [16066 ms] Port forwarding 50829 > 41327 > 41327 terminated with code 0 and signal null. [16067 ms] Port forwarding 50829 > 41327 > 41327: Local close ```
jpbianchi commented 1 year ago

@yukihiko-shinoda Wow, it worked! I removed the .git folder in some repo that I had cloned, and I restarted the Remote Extension Host, and the error message didn't come back, and now the notebook automatically finds the Mojo kernel as it should.
Thx a lot, I would have never thought about that.
How did you even found out about that?? I can live with that for the moment!

amirbtb commented 1 year ago

I am also working in a devcontainer and I faced the same issue. I followed @yukihiko-shinoda instructions here and avoid mounting the .git in the devcontainer and now it works great.

Here are the values of the workspaceMount & workspaceFolder in my.devcontainer.json when I was facing the issue :

...
"workspaceMount": "source=${localWorkspaceFolder}/,target=/project_root,type=bind",
"workspaceFolder": "/project_root/lab",
...

I changed to the following to solve the issue :

...
"workspaceMount": "source=${localWorkspaceFolder}/lab/,target=/project_root/lab,type=bind",
"workspaceFolder": "/project_root/lab",
...

Even though it solves the issue, I still hope that we will find another solution because it is really important in my project to be able to see git diffs from within the devcontainer and the only way to achieve that is to mount the .git folder into the devcontainer.

Thanks @yukihiko-shinoda for the quick fix ! 🙏🏽

webjetcms commented 1 year ago

I have a same problem, I must downgrade to version 1.81 from https://code.visualstudio.com/updates/v1_81. I'm on MacOS and can confirm that if the git is not available it's working. I try to reinstall new version, and until I confirm that the parent git folder is safe (in devcontainer it is owned by root) everything works. But after confirm remote extension crashed.

Downgrade VS Code fixed the problem, but that is not a good solution.

gloomylumi commented 1 year ago

Also experiencing this issue, even after 1.83.0 upgrade.

moatorres commented 11 months ago

Similar issue here. Is there any workaround so we can use .git inside the Dev Container?

MartinPELCAT commented 11 months ago

We faced the same problem in our dev container. Here is our extensions list. We found that our problem came from the Nx extension nrwl.angular-console. Rolled back the version of this extension and it worked. We disabled all extensions of the .devcontainer and installed them one by one to find the problem

dbaeumer.vscode-eslint
dsznajder.es7-react-js-snippets
eamodio.gitlens
esbenp.prettier-vscode
GitLab.gitlab-workflow
GraphQL.vscode-graphql
GraphQL.vscode-graphql-syntax
mikestead.dotenv
ms-vsliveshare.vsliveshare
mtxr.sqltools
mtxr.sqltools-driver-pg
mutantdino.resourcemonitor
naumovs.color-highlight
nrwl.angular-console
PKief.material-icon-theme
redhat.vscode-yaml
styled-components.vscode-styled-components
wix.vscode-import-cost
jpbianchi commented 11 months ago

@MartinPELCAT So, now, it works even with a .git folder in your container?

MartinPELCAT commented 11 months ago

@jpbianchi Yes, my container was created with "Clone Repository in Container Volume" so I have the .git

borjamunozf commented 10 months ago

I'm seeing the same error, but it's not linked to DevContainers. It's a C++ project in WSL2 Ubuntu 22.04.

Should I create another issue I guess?

gjsjohnmurray commented 10 months ago

@borjamunozf this probably needs raising on the C++ extension.

chrmarti commented 10 months ago

Those seeing this when there is a .git folder: Could you try disabling the built-in Git and Git-Base extensions and see if the problem still occurs?

Image

Note that there will be a notification in the lower right of the window asking if you want to also disable dependent extensions, please confirm that. You can reenable all after this testing.

gloomylumi commented 10 months ago

@chrmarti The problem still occurs with those extensions disabled in v1.84.2.

The last version where the problem did not occur is v1.81.1.

chrmarti commented 10 months ago

Similar: https://github.com/microsoft/vscode/issues/194458#issuecomment-1844091967

github-actions[bot] commented 9 months ago

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

Happy Coding!

edegp commented 9 months ago

I have same issue, I hope to solve this problem.

windragon0910 commented 9 months ago

Start VSCode with extensions disabled In most situation, the error is caused by misbehaved extensions. The best way to debug and fix it is to launch VSCode in a fresh state, meaning no extensions enabled. In order to do that, follow the instructions:

Close all running instances of VSCode (to be sure, check via Task Manager for any leaky processes). On Windows, create a shortcut which points to Code.exe=, but adds a --disable-extensions flag. Then launch VSCode using that shortcut to see whether the problem goes away. On Linux, simply runs code --disable-extensions on from any terminal window. If that doesn’t work, try running code --user-data-dir='' --disable-extensions. The command starts VSCode with an empty user data folder.

edegp commented 9 months ago

@windragon0910

Start VSCode with extensions disabled In most situation, the error is caused by misbehaved extensions. The best way to debug and fix it is to launch VSCode in a fresh state, meaning no extensions enabled. In order to do that, follow the instructions:

Close all running instances of VSCode (to be sure, check via Task Manager for any leaky processes). On Windows, create a shortcut which points to Code.exe=, but adds a --disable-extensions flag. Then launch VSCode using that shortcut to see whether the problem goes away. On Linux, simply runs code --disable-extensions on from any terminal window. If that doesn’t work, try running code --user-data-dir='' --disable-extensions. The command starts VSCode with an empty user data folder.

I could not have solved this problem. Did you try this solution?

chrmarti commented 9 months ago

@chrmarti The problem still occurs with those extensions disabled in v1.84.2.

The last version where the problem did not occur is v1.81.1.

Does is occur with Dev Containers 0.309.0 and the latest version of VS Code? (0.309.0 was the last stable release of Dev Containers compatible with VS Code 1.81.1.)

gloomylumi commented 9 months ago

@chrmarti The problem still occurs with those extensions disabled in v1.84.2. The last version where the problem did not occur is v1.81.1.

Does is occur with Dev Containers 0.309.0 and the latest version of VS Code? (0.309.0 was the last stable release of Dev Containers compatible with VS Code 1.81.1.)

Yes, it still occurs after downgrading Dev Containers to v0.309.0 with latest version of VS Code, even with built-in git extensions disabled.

edegp commented 9 months ago

I worked in VS Code version 1.81.1 with Dev Container v0.309.0.

datalifenyc commented 9 months ago

Has anyone had this issue when working behind an enterprise network (above error message) vs non-enterprise internet connection (no issues) for the same repo?

gloomylumi commented 9 months ago

@chrmarti Please let me know if there is any additional information I can gather for you. This problem affects the dev container I use for my daily work. I am desperate for a resolution.

asdfML commented 9 months ago

I believe the issue may not originate from the vscode/devcontainer side. In my situation, it turned out to be a Docker virtualization issue on Mac OS. I switched from VirtioFS to gRPC FUSE and disabled 'Use Virtualization Framework' in my Docker Desktop settings, as suggested in this thread. These changes resolved the problem. It seems to be a good temporary workaround.

@gloomylumi @jpbianchi If you're also using macOS, could you try replicating these steps to see if it resolves your issue as well?

heidimhurst commented 8 months ago

Those seeing this when there is a .git folder: Could you try disabling the built-in Git and Git-Base extensions and see if the problem still occurs?

Disabling the built-in Git and Git-Base extensions were sufficient to get rid of this issue for me. I was opening a dev container with docker, vscode v 1.85.1. The issue occurred when no extensions were installed (well, except built-ins) so the Extension Bisect wasn't helpful as it doesn't account for built-in extensions.

@chrmarti thank you for the workaround!

Setup Specs VSCode ``` Version: 1.85.1 (Universal) Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2 Date: 2023-12-13T09:48:06.308Z Electron: 25.9.7 ElectronBuildId: 25551756 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin x64 23.2.0 ``` Docker ``` Docker version 24.0.7, build afdd53b ```
gloomylumi commented 8 months ago

I believe the issue may not originate from the vscode/devcontainer side. In my situation, it turned out to be a Docker virtualization issue on Mac OS. I switched from VirtioFS to gRPC FUSE and disabled 'Use Virtualization Framework' in my Docker Desktop settings, as suggested in this thread. These changes resolved the problem. It seems to be a good temporary workaround.

That worked!!! You are my hero @asdfML 💫

2tony2 commented 8 months ago

I believe the issue may not originate from the vscode/devcontainer side. In my situation, it turned out to be a Docker virtualization issue on Mac OS. I switched from VirtioFS to gRPC FUSE and disabled 'Use Virtualization Framework' in my Docker Desktop settings, as suggested in this thread. These changes resolved the problem. It seems to be a good temporary workaround.

@gloomylumi @jpbianchi If you're also using macOS, could you try replicating these steps to see if it resolves your issue as well?

Same here! This seems to have solved issues when I was onboarding someone on our VScode devcontainer. She was using an Intel Mac. Seems to work fine on M1s.

bradley-hf commented 7 months ago

I believe the issue may not originate from the vscode/devcontainer side. In my situation, it turned out to be a Docker virtualization issue on Mac OS. I switched from VirtioFS to gRPC FUSE and disabled 'Use Virtualization Framework' in my Docker Desktop settings, as suggested in this thread. These changes resolved the problem. It seems to be a good temporary workaround. @gloomylumi @jpbianchi If you're also using macOS, could you try replicating these steps to see if it resolves your issue as well?

This solution worked for me on Macbook Pro Sonoma

webjetcms commented 7 months ago

I also can confirm this on MacOS Sonoma (intel). The key was to disable Use Virtualization, just changing VirtioFS to gRPC fuse didn't help.

HuangKY commented 5 months ago

I believe the issue may not originate from the vscode/devcontainer side. In my situation, it turned out to be a Docker virtualization issue on Mac OS. I switched from VirtioFS to gRPC FUSE and disabled 'Use Virtualization Framework' in my Docker Desktop settings, as suggested in this https://github.com/docker/for-mac/issues/6824. These changes resolved the problem. It seems to be a good temporary workaround.

@asdfML It worked!!!! Thank you so much!! It helped me a lot...!!!

asdfML commented 5 months ago

A fix for this issue is planned for the upcoming Docker Desktop v4.30.

Siddhesh-Shinde commented 5 months ago

I believe the issue may not originate from the vscode/devcontainer side. In my situation, it turned out to be a Docker virtualization issue on Mac OS. I switched from VirtioFS to gRPC FUSE and disabled 'Use Virtualization Framework' in my Docker Desktop settings, as suggested in this thread. These changes resolved the problem. It seems to be a good temporary workaround.

@gloomylumi @jpbianchi If you're also using macOS, could you try replicating these steps to see if it resolves your issue as well?

MacOS Sonoma Users this is the working solution for you guys. A big shoutout and thanks to @asdfML

lewislovelock commented 5 months ago

FYI, i have the same issue, some how i solved this by:

  1. At the Account on the left-down corner, click the manage trusted extensions,
  2. de-select all the trusted copilot extensions,
  3. then sign out,
  4. finally sign back. Opps, the issue is gone.. i don't know why, but it works
asdfML commented 5 months ago

Docker Desktop v4.30 has been released. You can now try to enable virtualization: VirtuoFS and 'Use Virtualization Framework' option.

P.S. Personally, I've switched to OrbStack and it solves all my problems (performance, stability) with Docker Desktop, so you might want to give it a try.

sd3ntato commented 3 months ago

for python users: it's pylance. uninstalling it from the container, i managed to overcome the issue good luck!

Screenshot 2024-06-20 alle 17 36 18