Closed AngCamp closed 9 months ago
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
/duplicate and will be fixed in upcoming recovery release 1.86.1
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!
I am experiencing an issue with connecting to a remote server. Suddenly two days ago (feb 5th 2024) VS code was unable to connect to the remote server. There were no coinciding extension updates nor was the remote server I was trying to connect to causing issues before hand. I saw an issue that was similar issue reported before but mine is different enough to warrant a new issue report: https://github.com/microsoft/vscode/issues/203967 I already tried uninstalling VS code, this did not help though I did not fully uninstall all the extension files. I also follwoed the steps here to debug the issue but there was nothing found my local end. I have provided the error log from the remote server by attaching it to this error message.
I could not use the Report Issue to build a report log, but I did copy the error log from the remote server to this report. .05047486b6df5eb8d44b2ecd70ea3bdf775fd937.log
I can't do `code --disable-extensions` as the issue requires SSH Remote to be active.Using the Extension bisect does not help to diagnose the issue either. This is an issue with the SSH Remote extension, but nothing changed with the remote server. There were no updates. My extensions were up dated at most a few days ago but this issue suddenly cropped up two nights ago. It does not coincide with an extension update.
I cannot report the bug to Remote SSH using the `Help > Report Issue`, as Remote SSH does not appear as an option in the bug reporter. - VS Code Version: - Version: 1.86.0 (user setup) Commit: 05047486b6df5eb8d44b2ecd70ea3bdf775fd937 Date: 2024-01-31T10:28:19.990Z Electron: 27.2.3 ElectronBuildId: 26495564 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.22621 - OS Version: Microsoft Windows 11 Home Version 10.0.22621 OSArchitecture 64-bit BuildNumber 22621 - Remote Server OS version: Linux itchy.msl.ubc.ca 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Steps to Reproduce: 1. Try to log into a remote server using Remote SSH, you will not have permission to do it on mine but hopefully the error log I supplied can help. I think this information may be useful as well. When connecting, after entering server password a warning from Remote SSH appears in the bottom right screen the box says...`The remote host may not meet VS Code Server's prerequisites for glibc and libstdc++` Then in the output terminal there is an infinite loop of "Waiting for Server to start" until I get a message saying the server couldn't start. ``` [13:16:48.037] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 52291 "itchy.msl.ubc.ca" bash [13:16:48.040] Terminal shell path: C:\Windows\System32\cmd.exe [13:16:49.050] > ##########################################################################THIS IS A PRIVATE COMPUTER SYSTEM OF THE MICHAEL SMITH LABORATORIES, UBC.BY USING THIS SYSTEM YOU AGREE THAT YOU HAVE READ AND TAKE FULL PERSONAL > RESPONSIBILITY FOR MEETING THE REQUIREMENTS IN THE FOLLOWING POLICY AND > STANDARDS:UBC Policy SC14 > Acceptable Use and Security of UBC Electronic Information and Systems > https://cio.ubc.ca/information-security/policy-standards-resourcesUBC Information Security Standard M8 > Loggin]0;C:\Windows\System32\cmd.exe [13:16:49.051] Got some output, clearing connection timeout [13:16:49.098] > g and Monitoring of UBC Systems > https://cio.ubc.ca/information-security-standards/M8In addition, this computer system including all related equipment and > network devices (specifically including Internet access) are provided only > for authorized use. All computer systems may be monitored for all lawful > purposes, including to ensure that their use is authorized, for management > of the system, to facilitate protection against unauthorized access, and > to verify security procedures, survivability and operational security. > Monitoring includes active attacks by authorized personnel and their > entities to test or verify the security of the system. During monitoring, > information may be examined, recorded, copied and used for authorized > purposes. All information including personal information, placed on or > sent over this system may be monitored. Uses of this system, authorized or > unauthorized, constitutes consent to monitoring of this system. > Unauthorized use may subject you to criminal prosecution. Evidence of any > such unauthorized use collected during monitoring may be used for > administrative, criminal or other adverse action. Use of this system > constitutes consent to monitoring for these purposes. > > Unauthorized access to this system is forbidden and will be prosecuted by > law. By accessing this system, you agree that your actions may be > monitored if unauthorized usage is suspected. > > ############################################################################ [13:16:49.114] > > acampbell@itchy.msl.ubc.ca's password: [13:16:49.114] Showing password prompt [13:16:53.545] Got password response [13:16:53.546] "install" wrote data to terminal: "*************" [13:16:53.598] > [13:16:55.777] > ab19d5cb8a56: running [13:16:55.793] > > Missing GLIBCXX >= 3.4.25! > Found versions 3.4.1 > 3.4.2 > 3.4.3 > 3.4.4 > 3.4.5 > 3.4.6 > 3.4.7 > 3.4.8 > 3.4.9 > 3.4.10 > 3.4.11 > 3.4.12 > 3.4.13 > 3.4.14 > 3.4.15 > 3.4.16 > 3.4.17 > 3.4.18 > 3.4.19 > Missing GLIBC >= 2.28! > Found version ldd (GNU libc) 2.17 > ab19d5cb8a56$$1$$ [13:16:55.835] > > Acquiring lock on /home/acampbell/.vscode-server/bin/05047486b6df5eb8d44b2ecd70e > ea3bdf775fd937/vscode-remote-lock.acampbell.05047486b6df5eb8d44b2ecd70ea3bdf775fd > d937 > Found existing installation at /home/acampbell/.vscode-server/bin/05047486b6df5e > eb8d44b2ecd70ea3bdf775fd937... > Checking /home/acampbell/.vscode-server/.05047486b6df5eb8d44b2ecd70ea3bdf775fd93 > 37.log and /home/acampbell/.vscode-server/.05047486b6df5eb8d44b2ecd70ea3bdf775fd9 > 937.pid for a running server > Looking for server with pid: 54708 [13:16:55.850] > [13:16:55.892] > Starting VS Code Server... "/home/acampbell/.vscode-server/bin/05047486b6df5eb8d > d44b2ecd70ea3bdf775fd937/bin/code-server" --start-server --host=127.0.0.1 --accep > pt-server-license-terms --enable-remote-auto-shutdown --port=0 --telemetry-level > all &> "/home/acampbell/.vscode-server/.05047486b6df5eb8d44b2ecd70ea3bdf775fd9 > 937.log" < /dev/null > The VS Code Server log file is /home/acampbell/.vscode-server/.05047486b6df5eb8d > d44b2ecd70ea3bdf775fd937.log > printenv: > AS=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-as > AR=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-ar > LDFLAGS=-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -W > Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/acampbell/miniconda3/li > ib -Wl,-rpath-link,/home/acampbell/miniconda3/lib -L/home/acampbell/miniconda3/li > ib > RSTUDIO_WHICH_R=/home/acampbell/miniconda3/bin/R > XDG_SESSION_ID=45004 > GCC_NM=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-gcc-nm > SELINUX_ROLE_REQUESTED= > SHELL=/bin/bash > HOST=x86_64-conda-linux-gnu > NM=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-nm > SSH_CLIENT=128.189.69.221 52292 22000 > CPPFLAGS=-DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/acampbell/miniconda > a3/include > CONDA_SHLVL=1 > SELINUX_USE_CURRENT_RANGE= > CONDA_PROMPT_MODIFIER=(base) > SIZE=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-size > CXX_FOR_BUILD=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-c++ > GFORTRAN=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-gfortran > USER=acampbell > CONDA_EXE=/home/acampbell/miniconda3/bin/conda > DEBUG_FORTRANFLAGS=-fopenmp -march=nocona -mtune=haswell -ftree-vectorize -f > fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /ho > ome/acampbell/miniconda3/include -fopenmp -march=nocona -mtune=haswell -ftree-vec > ctorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fcheck=all -fb > backtrace -fimplicit-none -fvar-tracking-assignments -ffunction-sections -pipe > CXXFLAGS=-fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=no > ocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 > 2 -ffunction-sections -pipe -isystem /home/acampbell/miniconda3/include > LD_GOLD=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-ld.gold > STRINGS=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-strings > CONDA_BUILD_SYSROOT=/home/acampbell/miniconda3/x86_64-conda-linux-gnu/sysroo > ot > VSCODE_AGENT_FOLDER=/home/acampbell/.vscode-server > _CE_CONDA= > CPP=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-cpp > CXXFILT=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-c++filt > PATH=/home/acampbell/miniconda3/bin:/home/acampbell/miniconda3/condabin:/hom > me/acampbell/apps/sratoolkit.3.0.0-ubuntu64/bin:/usr/local/bin:/usr/bin:/space/bi > in:/space/opt/bin > MAIL=/var/mail/acampbell > CONDA_PREFIX=/home/acampbell/miniconda3 > LD=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-ld > BUILD=x86_64-conda-linux-gnu > DEBUG_CXXFLAGS=-fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -ma > arch=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt [13:16:55.895] > > -Og -g -Wall -Wextra -fvar-tracking-assignments -ffunction-sections -pipe -isyst > tem /home/acampbell/miniconda3/include > PWD=/home/acampbell > F90=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-gfortran > STRIP=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-strip > ELFEDIT=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-elfedit > CMAKE_ARGS=-DCMAKE_AR=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu- > -ar -DCMAKE_CXX_COMPILER_AR=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu > u-gcc-ar -DCMAKE_C_COMPILER_AR=/home/acampbell/miniconda3/bin/x86_64-conda-linux- > -gnu-gcc-ar -DCMAKE_RANLIB=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu- > -ranlib -DCMAKE_CXX_COMPILER_RANLIB=/home/acampbell/miniconda3/bin/x86_64-conda-l > linux-gnu-gcc-ranlib -DCMAKE_C_COMPILER_RANLIB=/home/acampbell/miniconda3/bin/x86 > 6_64-conda-linux-gnu-gcc-ranlib -DCMAKE_LINKER=/home/acampbell/miniconda3/bin/x86 > 6_64-conda-linux-gnu-ld -DCMAKE_STRIP=/home/acampbell/miniconda3/bin/x86_64-conda > a-linux-gnu-strip > LANG=en_US.UTF-8 > GCC_RANLIB=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-gcc-ranlib > F95=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-f95 > DEBUG_FFLAGS=-fopenmp -march=nocona -mtune=haswell -ftree-vectorize -fPIC -f > fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/aca > ampbell/miniconda3/include -fopenmp -march=nocona -mtune=haswell -ftree-vectorize > e -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fcheck=all -fbacktra > ace -fimplicit-none -fvar-tracking-assignments -ffunction-sections -pipe > SELINUX_LEVEL_REQUESTED= > F77=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-gfortran > _CE_M= > CC_FOR_BUILD=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-cc > CXX=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-c++ > OBJCOPY=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-objcopy > HOME=/home/acampbell > SHLVL=2 > FORTRANFLAGS=-fopenmp -march=nocona -mtune=haswell -ftree-vectorize -fPIC -f > fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/aca > ampbell/miniconda3/include > CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector > r-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/acampbell/minicond > da3/include > DEBUG_CPPFLAGS=-D_DEBUG -D_FORTIFY_SOURCE=2 -Og -isystem /home/acampbell/min > niconda3/include > GCC=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-gcc > _CONDA_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_conda_cos6_linux_gnu > FC=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-gfortran > LOGNAME=acampbell > CONDA_PYTHON_EXE=/home/acampbell/miniconda3/bin/python > ADDR2LINE=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-addr2line > SSH_CONNECTION=128.189.69.221 52292 137.82.176.38 22000 > build_alias=x86_64-conda-linux-gnu > LESSOPEN=||/usr/bin/lesspipe.sh %s > CONDA_DEFAULT_ENV=base > RANLIB=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-ranlib > DEBUG_CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-pro > otector-all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments -ffunction-s > sections -pipe -isystem /home/acampbell/miniconda3/include > XDG_RUNTIME_DIR=/run/user/30112 > CC=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-cc > CMAKE_PREFIX_PATH=/home/acampbell/miniconda3:/home/acampbell/miniconda3/x86_ > _64-conda-linux-gnu/sysroot/usr > READELF=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-readelf > host_alias=x86_64-conda-linux-gnu > OBJDUMP=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-objdump > GCC_AR=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-gcc-ar > GPROF=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-gprof > FFLAGS=-fopenmp -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack- > -protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/acampbell > l/miniconda3/include > GXX=/home/acampbell/miniconda3/bin/x86_64-conda-linux-gnu-g++ > _=/usr/bin/printenv [13:16:55.925] > [13:16:55.947] > Removing old logfile at /home/acampbell/.vscode-server/.05047486b6df5eb8d44b2ecd > d70ea3bdf775fd937.log > Spawned remote server: 58539 > Waiting for server log... [13:16:55.963] > > Waiting for server log... ``` Then an infinite loop of this until it crashes... ``` [13:16:55.979] > [13:16:56.010] > Waiting for server log... [13:16:56.023] > [13:16:56.039] > Waiting for server log... [13:16:56.057] > [13:16:56.066] > Waiting for server log... [13:16:56.097] > ``` Followed by... ``` [13:17:09.967] > > * > * Visual Studio Code Server > * > * By using the software, you agree to > * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-lice > ense) and > * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacyst > tatement). > * > > Server did not start successfully. Full server log at /home/acampbell/.vscode-se > erver/.05047486b6df5eb8d44b2ecd70ea3bdf775fd937.log >>> > Warning: Missing GLIBCXX >= 3.4.25! from /usr/lib64/libstdc++.so.6.0.19 > Warning: Missing GLIBC >= 2.28! from /usr/lib64/libc-2.17.so > Error: Missing required dependencies. Please refer to our FAQ https://aka.ms/vsc > code-remote/faq/old-linux for additional information. > <<< End of server log > ab19d5cb8a56: start > exitCode==32== > listeningOn==== > osReleaseId==centos== > arch==x86_64== > vscodeArch==x64== > bitness==64== > tmpDir==/run/user/30112== > platform==linux== > unpackResult==== > didLocalDownload==0== > downloadTime==== > installTime==== > extInstallTime==== > serverStartTime==14072== > ab19d5cb8a56: end [13:17:09.967] Received install output: exitCode==32== listeningOn==== osReleaseId==centos== arch==x86_64== vscodeArch==x64== bitness==64== tmpDir==/run/user/30112== platform==linux== unpackResult==== didLocalDownload==0== downloadTime==== installTime==== extInstallTime==== serverStartTime==14072== [13:17:09.972] Resolver error: Error: The VS Code Server failed to start at g.ServerInstallError (c:\Users\angus\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:460179) at d (c:\Users\angus\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:453522) at t.handleInstallOutput (c:\Users\angus\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:455792) at t.tryInstall (c:\Users\angus\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:581100) at async c:\Users\angus\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:540958 at async t.withShowDetailsEvent (c:\Users\angus\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:544264) at async k (c:\Users\angus\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:537923) at async t.resolve (c:\Users\angus\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:541635) at async c:\Users\angus\.vscode\extensions\ms-vscode-remote.remote-ssh-0.108.0\out\extension.js:2:807794 [13:17:09.981] ------ [13:17:10.241] > [13:17:11.272] "install" terminal command done [13:17:11.273] Install terminal quit with output: ```