Failed to install clangd language server in VS Code
10:58 10 Dec 2021

I'm using VS Code and my workspace is on a remote Linux server. I successfully installed clangd extension on the remote server, however, when I tried to download the language server, I get the following error:

Failed to install clangd language server: FetchError: request to https://api.github.com/repos/clangd/clangd/releases/latest failed, reason: getaddrinfo ENOTFOUND api.github.com You may want to install it manually.

I have not been able to find a related question on this. Could someone advise what is causing this issue?

visual-studio-code clangd