967 questions
-1
votes
0
answers
86
views
"There is no data provider registered that can provide view data" when opening folder on VScode remote
I am connected to a remote server from VScode using Remote-SSH. I can open files on the server normally, but get "There is no data provider registered that can provide view data" when ...
0
votes
0
answers
70
views
VS Code UI actions (Discard Changes, Delete File, Undo) do nothing and play alert sound, but Git CLI works
I’m running into an issue in VS Code on Windows 11. File-modifying actions from the UI don’t seem to work, but doing the same actions from the terminal works fine.
What I expect:
Clicking Discard ...
Advice
1
vote
0
replies
23
views
What is correct name to use for building URL to download the .vsix file of the remote development pack?
I have tried several variants of the following.
https://microsoft.gallery.vsassets.io/_apis/public/gallery/publisher/microsoft/extension/ms-vscode-remote/0.26.0/assetbyname/Microsoft.VisualStudio....
0
votes
0
answers
66
views
How to enforce "linux/amd64" platform architecture in Visual Studio Code Dev Containers for Podman on Apple Silicon?
Environment
Host: macOS (Apple Silicon M1)
Container Engine: Podman (via podman-machine)
Extension: VS Code Dev Containers
Target Image: A private registry image with Poetry
Problem
When I try to ...
0
votes
0
answers
169
views
My VS Code is just stuck on loading the remote WSL
I use WSL in Windows for developments but for a few days it is not working, it is just in the mood of loading and loading unloading. I checked my WSL via command terminal it's working there, but it's ...
1
vote
1
answer
74
views
Using snowflakes externalbrowser authentification using VS Code remote tunnels
Executing this code while developing using a remote tunnel (Azure VM), the URL (token) seems not to redirect the token back to the snowflake client
Session.builder.configs(
{
"...
0
votes
0
answers
103
views
VS Code on windows with remove server running on linux. Installed perforce extension. However, perforce cannot recognize valid client
I'm running VS Code on Windows:
Version: 1.104.0 (user setup)
Commit: f220831ea2d946c0dcb0f3eaa480eb435a2c1260
Date: 2025-09-10T06:46:18.035Z
Electron: 37.3.1
ElectronBuildId: 12342881
Chromium: 138.0....
0
votes
0
answers
89
views
I can't use the code command in WSL2, and I have tried several ways but to no avail
VSCode version: 1.103.2(system setup)
WSL2 info: Linux 8Q-PC 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Question description
...
0
votes
0
answers
28
views
Pre-running C++ project parsing from command line for VS Code development
I have a c++ project that I am working on on a Linux remote machine.
I would like to use VS Code to connect to the machine and do my work. The problem is that this is a shared server, where load-...
0
votes
3
answers
5k
views
Unable to start MCP servers in VS Code in WSL
I'm attempting to connect to several MCP Servers in VS Code after general availability was recently released. VS Code is running in WSL: Ubuntu. I made a number of changes to my VS Code terminal ...
0
votes
1
answer
77
views
How to make VS Code recognize the environment variables of the SSH remote Windows host?
I have two machines:
A host machine (Windows 11) running VS Code
A Hyper-V guest VM (Windows 11): OpenSSH Server installed, running VS Code Server with a Python project pythonWebApp
I'd like to ssh ...
0
votes
0
answers
137
views
Automatically updating VS Code remote server behind a firewall
My company manages my Windows machine where VS Code is installed and they periodically update the version every few months. I develop against a remote Linux machine using the remote ssh extension, and ...
0
votes
0
answers
179
views
Jupyter Kernel won't start (VScode remote)
When trying to run jupyter notebooks or python scripts in interactive windows in my remote visual studio code, I always get the same error : Failed to start the Kernel.
The kernel died.
Here's the ...
0
votes
0
answers
27
views
Local Windows environment variable got inherited in remote linux jupyter notebook kernel (vscode)
I connect my vscode, which is running on windows, to linux box via ssh. I start a jupyter notebook in the vscode and find that an environment variable set in windows (QHOME pointing to a windows path) ...
1
vote
1
answer
460
views
VSCode dev containers error with docker version
I've never been able to run the Dev Container extension due to this error:
Here are the logs:
[2025-06-22T22:32:48.629Z] Initializing configuration support...
[2025-06-22T22:32:48.630Z] Internal ...
0
votes
0
answers
68
views
Is it possible to get VS Code WSL window to attach to Windows process?
I'm experimenting with using Claude's MCP functionality to build a C# game. This toolset requires being run in WSL on Windows.
I've got the basic setup out of the way, and am running a C# application. ...
0
votes
1
answer
350
views
VSCode 1.100.3 April 2025 is unable to remotely connect when GLIBC < 2.28
I upgraded VSCode to version 1.100.3 and since then cannot connect to remote machines if their GLIBC version is less than 2.28. The reason is explained in the official documentation:
Starting with ...
1
vote
1
answer
291
views
VS Code Remote Development connects to remote computer, but cannot open folders
VS Code connects to a remote computer, but I cannot open folders. I get the following errors.
I have three computers:
A Windows 11 client computer running VS Code
A Windows 11 remote computer with VS ...
1
vote
0
answers
76
views
How to use command line interface to install extensions for `code serve-web`?
I am able to install visual studio code extensions using the command line, for example:
code --install-extension platformio.platformio-ide
The extensions shows up in code --list-extensions, and when ...
1
vote
0
answers
951
views
VS Code Server [LocalDownloadFailed]: Error: LocalDownloadFailed (Failed to download VS Code Server (Failed to fetch)) Error
I am trying to connect my Ubuntu from Windows to develop software with VS Code. I have been attempting offline installation because I have to, but I can't connect it. Below is the error:
[16:03:24.105]...
1
vote
0
answers
186
views
How to use local network for VS Code extensions while connected to Azure Compute Instance (any remote servers)?
I primarily code on my computer, which has access to my company's network. This allows me to use extensions that require internet access, such as GitHub Copilot.
However, sometimes I need to connect ...
0
votes
0
answers
39
views
vscode exec server for ssh-remote+10.201.220.3 failed: Error: connect EACCES 127.0.0.1
my machine is windows, remote machine is linux
vscode version 1.99.3
i have disabled firewall, anti virus, restarted pc , installed vs-code multiple times
[11:10:44.924] Starting forwarding server. ...
0
votes
0
answers
46
views
Cannot ssh connect via VSCode Remote - SSH [duplicate]
I am having trouble to connect to my remote machine through the Remote - SSH in VSCode.
I am using Windows, and I managed to make the ssh connection work through WSL and even PowerShell. To be more ...
0
votes
0
answers
27
views
Port forwarded from ASGI server in devcontainer hangs on connection
I am running the following set up:
Running FastAPI server in a devcontainer via uvicorn src.main:app --reload --host 0.0.0.0 --port 13337
Forward the port using vscode's built-in port-forwarding ...
1
vote
0
answers
377
views
How to set up X11 forwarding for remote VS Code DevContainer?
I am running a vs code devcontainer on remote machine and trying to set up X11 forwarding.
I have 2 machines:
local machine on macOS
remote machine on Ubuntu
I have installed XQuartz on my Mac and ...
1
vote
1
answer
2k
views
VS Code Remote-SSH fails with "GLIBC_2.28 not found" on Ubuntu 18.04
After upgrading VS code version 1.99, I cannot connect to my remote server. I’m trying to connect to my remote server (Ubuntu 18.04) via VS Code Remote-SSH, but the server fails to start with:
Missing ...
2
votes
1
answer
1k
views
using custom sysroot for vscode remote SSH server does not work in version 1.99
As suggests by the official sites, after 1.99, vscode requires GLIBC_2.28+.
For compatibility they offer a workaround which builds a custom sysroot that contains the supported lib, and then specify a ...
1
vote
0
answers
134
views
R Client Language Server erroring in VS Code from missing Content-Length property
I am running VS Code on a remote server to develop R code and analyze data. I have the Remote Development extensions installed on my local machine and the R extension installed on both my local ...
1
vote
0
answers
118
views
How to obtain access token for vscode `code tunnel user login --provider github`
I would like to run a tunnel remotely in a machine without systemctl, and therefore cannot install code tunnel as a service. However, I wish to run code tunnel user login --provider github followed ...
0
votes
1
answer
112
views
VSCode Remote terminal ignores terminal.integrated.profiles.linux
I have a remote machine with a .bashrc file.
I tried logging in using the Remote Development extension from VSCode, but the first thing I noticed was that the .bashrc wasn't loaded in the terminal.
At ...
0
votes
0
answers
52
views
vscode- ssh remote connecting problem for no reaction in a long time
enter image description here
enter image description here
Hello,
I am a freshman for coding. But I met with this problem for so long time. I actually tried so many solutions here but still didn't work....
1
vote
1
answer
375
views
CLI `code` command to attach VS Code to a running container on a remote SSH host (Dev Containers over Remote - SSH in VS Code)
Assuming there is an actively running container on the remote host.
Here is the GUI process I'd like to replicate with a single CLI command:
(setup) Open New VS Code Window, Connect to Host... (...
0
votes
0
answers
25
views
How to launch remote-explorer page with a uri in browser?
with a builtin uri like vscode://command.remoteTargets.focus, which focus on remotes page. This way I can redirect my user directly to the remote-explorer from web
I know we can open remote vs link ...
0
votes
0
answers
334
views
VS Code: How can I set an environment variable in the terminal and open a Jupyter notebook that sees it?
What I want to do
I am working on a multi-GPU server, and would like to open a Jupyter notebook that only runs on some currently unused GPU (which may change from session to session).
In other words, ...
1
vote
0
answers
249
views
VS Code multi-container dev containers - rebuild and reopen wrongly rebuilds other services
To set a simplified scene for my question I will have three compose services: an API server, a site server (for serving browsers the webpage), and a supporting Redis service. The project has the ...
0
votes
0
answers
36
views
VSCode python (remote) - slow "rename symbol" when opening parent/root directories?
Given I have stored my git repos at ~/git/project1, ~/git/groupA/foo, etc.
When I open the root directory ~/git with VSCode and refactor code via "rename symbol" or "rename file",
...
1
vote
0
answers
58
views
How to prevent VSCode from restoring previously opened devcontainer session
Issue
VSCode restores a previously closed DevContainer session when opening a new project, even when the --new-window flag is used and window.restoreWindows is set to none.
Steps to Reproduce
Open a ...
1
vote
1
answer
376
views
VSCode Remote SSH: Can’t Install �?ms-python.python’ (Incompatibility Error & Infinite Loop)
I’m working with VSCode on a remote server via SSH and having issues installing the Python and Jupyter extensions. When I try to install ms-python.python, I sometimes get the following error message:
...
0
votes
0
answers
67
views
Can I use VS Code Remote for Multi-Hop Interactive HPC Sessions?
Without an IDE, I can log in to an HPC interactive node by first sshing in to the server using:
ssh servername
Then I request an interactive node using
qrsh # Sun Grid Engine
# OR
qsub -I # Slurm
...
0
votes
0
answers
31
views
Unable to get files on Visual Studio Code after attaching to a container
I am trying to attach visual studio code to a running container, and it does show successfully attached. However it does not show any files in the file explorer.
Although, this question has been asked ...
1
vote
1
answer
789
views
Unable to connect Lightning AI to local vs code via SSH
I'm unable to set up my lightning AI environment on local machine. I have performed all the steps upto the first image shown with this issue.
As i click on "Connect local VS Code", it opens ...
0
votes
0
answers
33
views
Problem with corrupted characters whle trying to attach to a running docker container using vscode cli
For a project I'm building a bash script to create a development environment using Docker and VsCode. For the part that attaches the vscode to the running container, I found this script that worked ...
2
votes
0
answers
139
views
My VSCode DevContainer.json w/ docker-compose.yml is not interpolating VSCode variables
Code samples provided below.
I use VSCode on my M1 Macbook Pro and am setting up a DevContainer.json which launches a docker-compose.yml. I am trying to interpolate an env var in docker-compose.yml ...
1
vote
0
answers
2k
views
Can I still run VS Code Server on older Linux distributions starting Feb 2025?
Starting with VS Code release 1.86.1 (January 2024), the minimum requirements for the build toolchain of the remote server (SSH) were raised. The prebuilt servers distributed by VS Code are compatible ...
1
vote
0
answers
173
views
Mapping local directory to remote one in VSCode/Cursor instead of editing remote files directly
Right now I'm using Jetbrain PyCharm where remote development works this way - files are being edited locally and deployed on my VPS during save action, IDE uses remote Python interpreter for code ...
0
votes
0
answers
152
views
VSCode Remote will call 169.254.x.x via wget
I recognized that vscode remote will run a wget instance to call 169.254.x.x.
I had used Digital Ocean MetaData API so I think it seems like checking if it is running on Azure VMs via the main.js .
I ...
0
votes
0
answers
961
views
Failed to connect remote server using VSCode SSH
I can connect to the server by ssh command, but the vscode's ssh-remote failed. The problem maybe the network, since it can make connection but I can't open any files or folders.
When I entered the ...
0
votes
0
answers
175
views
VSCode C++ Debugging - Cannot re-enable breakpoint while code is executing
Environment
Using VSCode Devcontainer extension to attach and debug a process running in an ubuntu 22.04 devcontainer.
GDB version is 12.1
Steps to reproduce
If I:
disable a breakpoint while broke, ...
2
votes
1
answer
211
views
Edit remote path on remote ssh tunnel vscode connection
I am using vs code on Windows 11 and have remote tunnel connection to vscode server that works fine but i want to change the path I am placed in once I connect to the remote code. The remote server ...
0
votes
0
answers
709
views
VS Code Remote SSH "Setting up SSH Host <hostname>l: Waiting for port forwarding to be ready"
I have never had issues connecting to a particular remote host until two days ago when the connections stopped working.
The Output>Remote-SSH log says I am connecting to the host, because I see ...