VSC will not open any browser - browser

I have installed VSC globally, and then for users; but no browsers work. I have run VSC in admin mode but no browsers work. VSC will not open any browser! No plugins like 'Open IN Browser' will open any browser! The same error message for all configurations: 'Open browser failed!! Please check if you have installed the browser chrome (current selection) correctly!' I have spent 2 days surfing the net for answers but all given solutions have no effect on VSC. I really like VSC but if I cannot get this to work today I got to move on. Work is piling up, lol...live long and prosper!
Below is the info from VSC:
Version: 1.44.2 (user setup)
Commit: ff915844119ce9485abfe8aa9076ec76b5300ddd
Date: 2020-04-16T16:36:23.138Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Related

URIs to log in on VS Code don't work on Vivaldi

I'm on Manjaro KDE, using Vivaldi browser, and VS Code from Snap.
To log in to things like Sync Settings on VS Code, it opens your browser to a page where you can log in to GitHub, and it then tries to open a magnetic URI with VS Code, containing the generated tokens.
Since I moved to Manjaro, this never worked for me, but before, prior to trying to open the magnetic URI, the web page showed you the URI and allowed you to copy-paste it manually back into VS Code, and that's what I used to do, and it worked fine.
Now, that option seems to be gone, and it logged me out of basically everything on VS Code.
What happens is the following:
Go to "Sign in to Sync Settings"
"Sign in with GitHub"
Page opens on browser, prompting to "Open xdg-open"
Another instance of VS Code appears, "Visual Studio Code - URL Handler"
This remains loading for a while
And then it says "Cancelled"
The same happens whenever I try to log in on the other options, Copilot and Live Share.
System info:
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.15.28-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 4 × AMD Ryzen 3 2200G with Radeon Vega Graphics
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2
VS Code info:
Version: 1.66.1
Commit: 8dfae7a5cd50421d10cd99cb873990460525a898
Date: 2022-04-06T14:51:26.173Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Linux x64 5.15.28-1-MANJARO snap
Edit: It seems that using Chromium as a default browser worked, so this issue is likely related to Vivaldi somehow.

VSCode No authentication providers are available

I have just installed vscode on KDE NEON. Syncing does not work at all, even clicking on the Account-icon doesn't show the corresponding menu.
When I try to activate synchronization from within Settings, I get the following notificaiton:
Error while turning on Settings Sync. No authentication providers are available.
Hier is the VScode inforamation
Version: 1.65.2
Commit: c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1
Date: 2022-03-10T15:36:26.048Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.13.0-35-generic snap
The logs of sync settings in VSCode:
[2022-03-19 10:37:36.671] [settingssync] [info] Using settings sync service https://vscode-sync.trafficmanager.net/
[2022-03-19 10:37:36.671] [settingssync] [info] Auto Sync is disabled.
when I try to call the website https://vscode-sync.trafficmanager.net/ in browser, I get also an error
This behavior is repo-independent.
Any Idea how to solve this issue?
apparently it is a very fresh bug.
The solution was to install gnome-keyring and libsecret via synaptic package manager.
see https://github.com/microsoft/vscode/issues/144471

Calva fails to lanch betterthantomorrow.calva-2.0.214\clojure-lsp.exe_backup.exe

Since today Calva fails with
[Error - 12:47:40] Starting client failed
Launching server using command c:\Users\ros1sgm\.vscode\extensions\betterthantomorrow.calva-2.0.214\clojure-lsp.exe_backup.exe failed.
I have updated to Visual Studio Code September 2021 (version 1.61):
Version: 1.61.0 (user setup)
Commit: ee8c7def80afc00dd6e593ef12f37756d8f504ea
Date: 2021-10-07T18:13:09.652Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.17763
Has anybody an idea how I can fix this?
After I removed vspacecode related plugins, the warning went away, maybe you can try it.
https://calva.io/clojure-lsp/
I also meet this problem, it's confusing.
You can click clojure-lsp at the left bottom of vscode, and then click download clojure-lsp. Just like the official document of Calva.

Can you help in making visual studio ssh connect to a remote computer?

Remote ssh connection used to work really well on my macOS 10.15 Catalina. But I just did a security update and visual studio cannot ssh connect to remote computers any more.
I double checked the config files and everything looks good. ssh-key login works fine when I connect via terminal.
I tried to share output from the console when it disconnected, but visual studio is not letting me copy-paste it and gives errors. Can anyone please help me?
Version: 1.56.0 (Universal)
Commit: cfa2e218100323074ac1948c885448fdf4de2a7f
Date: 2021-05-04T22:06:21.189Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Darwin x64 19.6.0
Output from VS console when it cannot ssh connect:
[19:25:52.267] Using commit id "cfa2e218100323074ac1948c885448fdf4de2a7f" and quality "stable" for server
[19:25:52.311] Install and start server if needed
[19:25:54.515] getPlatformForHost was canceled
[19:25:54.515] Resolver error: Error: Connecting was canceled```

vscode on Ubuntu is unable to open windows

I'm having issues with vscode on Ubuntu running particular Python code (that seemingly relies on porting or connecting to an external application). The same code will run fine if I execute it directly from an Ubuntu terminal with the same env on the same machine.
Here's a couple of examples.
When I try to initiate vedo.plotter.Plotter() when running from vscode, I get this error:
ERROR: In /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 1223
vtkXOpenGLRenderWindow (0x5587f7b42cf0): bad X server connection. DISPLAY=Aborted (core dumped)
If I run the same code directly in terminal, it runs fine, so this is an issue with the way vscode is configured, but I can't find any answers online. I've played with a few settings in vscode but with no success.
This seems to be an issue on all vscode installations I have running on Ubuntu (in this case 20.04). Here's the vscode info:
Version: 1.51.0
Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c
Date: 2020-11-05T18:16:10.374Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 5.4.0-52-generic snap
Similarly, I'm unable to open up browser windows from vscode (for example plotly fig.show() and selenium driver = webdriver.Chrome(chromedriver) won't open browser windows. I get the following error with selenium:
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
Again, this works fine direct from the terminal and everything works fine if run from a Windows or Mac installed vscode, so this is specific to this Ubuntu install.
I'd really appreciate any help!
Jonny

Resources