vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

VScode refuses to connect to a Centos7/RHEL7 container

Open GhislainC opened this issue 2 years ago • 3 comments

Type: Bug

Since the 1.88 release, I cannot connect with "Dev containter" extension to a Centos7/RHEL7 container. I have the same error messages than the ones in 1.86.

Extract from log:

/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)
/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node)

Extension version: 0.25.0 VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:26:18.741Z) OS version: Windows_NT x64 10.0.19045 Modes: Connection to 'attached-container+7b22636f6e7461696e65724e616d65223a222f666c79776f726b73636f6e7461696e65722d312e302e30227d' could not be established

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 1498)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.73GB (2.96GB free)
Process Argv --crash-reporter-id 38baf858-d940-4b20-81e3-098d14e9c0bd
Screen Reader no
VM 0%

Connection to 'attached-container+7b22636f6e7461696e65724e616d65223a222f666c79776f726b73636f6e7461696e65722d312e302e30227d' could not be established

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
8082a590:30971561
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
jchc7451:30973076
gee8j676:31009558
dsvsc021:30996838
gd77d436:30999572

GhislainC avatar Apr 06 '24 09:04 GhislainC

Wrong labeling by triage bot, this issue is about dev containers and not ssh

GhislainC avatar Apr 07 '24 14:04 GhislainC

The workaround in #9756 doesn't work for me as I don't have a ~/.vscode-remote-containers folder. I tried to delete the whole ~/.vscode-server folder but I still have the same blocking errors messages about glibc version.

GhislainC avatar Apr 08 '24 11:04 GhislainC

Ok found it! It was due to a sticky file /tmp/vscode-skip-server-requirements-check created by me after the 1.86 release. The file does not allow the server to install the legacy server.

GhislainC avatar Apr 08 '24 12:04 GhislainC