Error installing remote VS code extension - visual-studio-code

I constantly use MS VS code for remote development and it is overall a great IDE. But I noticed that extensions that I use all the time (python and juypyter) stop working suddenly, from time to time.
I have the two extensions installed locally:
When connected to a remote SSH, I see that they appear not to be installed on the remote server (which is, again, something new, as they were installed just yesterday)
When I click on the icon to install them on the remote server I get:
a pop-up screen on the bottom right corner:
Also on the log terminal I see:
[2022-07-07 14:52:48.576] [remoteagent] [info] Getting Manifest... ms-toolsai.jupyter
[2022-07-07 14:52:48.639] [remoteagent] [error] Failed to install extension. ms-toolsai.jupyter
[2022-07-07 14:52:48.639] [remoteagent] [error] Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:220:20)
which unfortunately is not all that informative.
I also tried to install via the small download/ cloud button on the left-hand side panel:
Yet it does not work either.
Does anyone know the background of this error/ why the extensions stopped working suddenly? NB from yesterday to today (when the extensions stopped working), VS code was not upgraded. Does this look like a bug, so that a bug report should be filled to their github page?
Local OS is Ubuntu 20.04 LTS, remote is CentOS Linux 8. VS code version is:
1.68.1
30d9c6cd9483b2cc586687151bcbcd635f373630
x64

Related

Failed to connect to the remote extension host server (Error: Missing proxy instance MainThreadDebugService)

Hey stackoverflow community i have an issue with vscode connecting to wsl2 with the following error [picture bellow] message i already searched for hours and couldnt find a solution.
reinstalled both with a clean updated version without any success
Edit 1:Tried to unmount and remount folders also tried opening with high privilege's from cmd 'wsl code .' moreover i completely deleted wsl and vscode with all the extensions but still am getting the same error, i was able to reproduce more readable error, when opening a project it prompts with
unable to resolve resource vscode-re...://%ubuntu-22.04/file_path
Edit 2: opening WSL, 'New WSL window using distro' works fine but i cant open any directory, without it producing the error in Edit 1
I got the same issue. I use Windows and I open the folder in vscode in this way:
shift+right-click the folder -> open linux shell -> type in "code ."
when vscode opens, the error does not exist.
For me this was due to the secondary sidebar being visible.
After disabling it via View -> Appearance -> Secondary Side Bar, WSL2 starts up fine again.
I got the same.
If your project is on another drive mount it and
run vscode as administrator.
I had this issue and needed to run..
$ code
Updating VS Code Server to version 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Removing previous installation...
Installing VS Code Server for x64 (97dec172d3256f8ca4bfb2143f3f76b503ca0534)
Downloading: 100%
Unpacking: 100%
Unpacked 2389 files and folders to /home/dmitri/.vscode-server/bin/97dec172d3256f8ca4bfb2143f3f76b503ca0534.
in WSL2 to update the WSL2 server. Then uninstalling and reinstalling the WSL extension from VSCode did the trick.
I am the same.
I also reinstalled VSCode and Docker, but nothing changed.
In the "Remote - Containers" tutorial, I was able to connect without any problems.
It doesn't work with my code.

Unable to install VisualStudio Code in Windows 10

I have a Windows 10 with the latest patches and downloaded the VisualStudio Code setup from the official page but when I double click the .exe nothing happens, it does open a dialog and no error is displayed, just nothing happens, I tried running it as admin, restarting the machine multiple times, always the same result.
It just happens with this specific .exe, I tried with several other installations and it works fine.
Is there a way to see what could be blocking the installation?
Use Chocolatey to install visual studio code if you can't install it by clicking the exe file. See the folowing link:
chocolatey.org/packages/vscode

VS-Code won't starte because of missing /dev/fd/3

I'm using vs-code installed via snap on openSUSE Leap 15.2
Until rebooting my machine today everything was fine.
Now, when I try to start it, I get the following error:
No protocol specified
[7065:1118/173715.565235:ERROR:browser_main_loop.cc(1473)] Unable to open X display.
The futex facility returned an unexpected error code.
/dev/fd/3: No such file or directory
Server response:
I tried rebooting, reinstalling it, and deleting the ~/.config/Code folder, with no success.
Currently I have version 1.51.1 installed.
Edit:
I'm not root and I'm locally on a machine with GUI (KDE). Trying to start code as root gives the same error. Other graphical applications are working fine (like the browser I'm writing this from)
Try to set the environment variable called DISPLAY:
export DISPLAY=:0.0
or
export DISPLAY=:1.0
This worked for me

Visual Studio Code can't run in Ubuntu 18.04

I have been using VSCode for a while and never had any big problem with it. Today I tried to start my VSCode from left taskbar on my Ubuntu 18.04 and it not showing up. Also, I tried to run in terminal as 'code .' again nothing.
VSCode version is latest 1.23.1 I tried few time today with install/remove and nothing. Somehow I am thinking maybe it something with permissions but not sure.
When click on task bar icon its shows like loading on top taskbar in ubuntu 18.04 for a few seconds and stops.
Also when tried to run in terminal as:
$ code . --verbose
[15027:0603/191139.702752:ERROR:browser_main_loop.cc(279)] Gtk: Locale not supported by C library.
Using the fallback 'C' locale.
[15027:0603/191139.809312:ERROR:browser_main_loop.cc(279)] Gtk: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
[15027:0603/191139.809326:ERROR:browser_main_loop.cc(279)] Gtk: Loading IM context type 'ibus' failed
pcilib: Cannot open /sys/bus/pci/devices/0000:07:00.0/resource: No such file or directory
just getting an error, but not sure is this error connected with problem I did some investigation and Gtk is already installed and works well on my OS.
Fixed it with "delete the /home/user/.config/Code folder"
https://github.com/Microsoft/vscode/issues/55774#issuecomment-412774473

A black window pops up Unable to copy files unity

Hi i am trying to install unity3d software on my Windows10 pc. everything downloaded and installed smoothly. but when unity starts its giving the fallowing error
and after i click many times on "Try Again" Button a blank window will be poped and unity is not starting.
I have tried to delete the file "unity-editor-home.0.0.13.tgz" but it says permission denied.I have tried reinstalling 3 times but i am having same problem
You've got Linux Build Support checked in the installer. That's why it's copying a tgz (tarball gzip) file. It's giving you access denied errors because it's trying to copy a file to protected user folders. There are two solutions...
If you need Linux Build support (you're planning to distribute your game on Linux):
Right click the installer > Run As Administrator
Enter password
If you don't need Linux Build support:
Uncheck Linux Build Support in the installer
More on this topic can be found here