-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing certain extensions on first attach causes VSCode to hang forever #1081
Comments
It takes a while to install, e.g., the Prettier extension, but it then continues for me. How long did you wait before reloading? I can reproduce the issue of the installing process being mistaken for the actual agent. |
I waited up to 15 minutes. The output was the same consistently, for every run (of course, with a new container) - it went from installing to the I've tested again today, as I had redeployed the machine which hosted the containers in the meanwhile and, surprisingly, I don't get the same issue anymore (all the installs are done fully and then the agent is started properly). However, the potential issue which you can also reproduce remains :) |
I have the same problem. My guess is something hangs trying to connect to the outside world and fails, but rather than timing out it just hangs forever. Maybe some extensions download something on install, it would be good to get more verbose logging in this area |
@jasonwilliams Could you append the log (click on the link in the progress in the lower right of the window)? |
@chrmarti https://gist.github.com/jasonwilliams/dbdd74c297e7fc2fe38923dd3c2e4e45 line 85 is where i switch off the VPN. Whats weird is i can usually download extensions fine behind the VPN normally, so i don't know why this hangs when i try to reopen in the container. Also you can see on line 59 it downloads the VSCode server no problem |
@jasonwilliams Do you have a network proxy configured? |
Could you launch VS Code with |
@jasonwilliams Yes, please send it to chrmarti at microsoft.com. 👍 |
@jasonwilliams Thanks, the log shows that there is a proxy automatically configured. We are tracking proxy support for extension installs as #986. Closing as duplicate of that. |
Steps to Reproduce:
When having at least one of the mentioned extensions (the full list of extensions for this example being "dbaeumer.vscode-eslint", "wk-j.save-and-run", "ms-vscode.go", "visualstudioexptteam.vscodeintellicode", "esbenp.prettier-vscode"), the output is:
When having other default extension (the previous list without "zxh404.vscode-proto3"), attach works and output is:
Observations:
Extension host agent is already running.
might indicate that the script identifies the still runningserver.sh --install-extensions ...
script as an actual running extension host agent, even though it isn't and, based on that, changes the install flow from a normal install, which bricks the system.The text was updated successfully, but these errors were encountered: