microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.08k stars 28.81k forks source link

vscode hangs on ubuntu #227777

Open obrona opened 4 weeks ago

obrona commented 4 weeks ago

Steps to Reproduce:

  1. Download vscode for linux
  2. type code --verbose

Then code is stuck on this command

[EncryptionMainService] Checking if encryption is available...
KevinXuzio commented 3 weeks ago

I am getting the same error, only thing to note other than a fresh install was installing github CoPilot

Estebmaister commented 3 weeks ago

I have just installed Ubuntu from scratch, installed vscode and got this error when trying to login for backup

KevinXuzio commented 3 weeks ago

I have just installed Ubuntu from scratch, installed vscode and got this error when trying to login for backup

Probably has nothing to do with Co-Pilot then, but I haven't been able to rectify the issue so hopefully someone has a suggestions

I was a fresh install of Ubuntu as well

jreuschPSI commented 3 weeks ago

had exactly the same issue today. was wondering, even happend in an empty directory.

just noticed that gnome-keyring was running again and was provinding the org.freedesktop.secrets.service endpoint.

after killing gnome-keyring and enabling this in keepassxc again vscode starts without freezing immediatelly.

i do not think it is linked to keepassxc (since it was not in the chain) but maybe that hints you in the right direction?

Razish commented 3 weeks ago

after killing gnome-keyring and enabling this in keepassxc again vscode starts without freezing immediatelly.

Interesting, thanks for the bandaid fix. I'm on a fresh Debian machine. VSCode started freezing after installing GitLens extension. Killing gnome-keyring and starting VSCode worked for me; it now prompts to unlock my keyring at the point it would have frozen.

its-darsh commented 3 weeks ago

same here, it becomes unusable once it hangs, i notice that it hangs more when i switch to another windows and back over to vscode, i'm using vscode for Go development at the moment. notably, i've been using vscode for some python development and never been facing this issue but this might be just placebo since i don't really do much python these days

EDIT: i'm a Arch user

i've really been considering moving over to another editor