-
Notifications
You must be signed in to change notification settings - Fork 310
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
Remote Containers system error uv_os_get_passwd #6913
Comments
Looks like nodejs/node#25714. We need to handle that. |
Revert to 0.238.3 fixed for you too @mcw8d ? |
@chrmarti it doesn't seem to be for the same reason as it\s happens on the local vscode and not on the container (which does have $HOME and passwd (also tried to add them anyway) |
@thebestnom nodejs/node#25714 mentions "Docker container", but I think the same is true on the local machine depending on its configuration. (E.g., you mention LDAP, maybe your user account does not have an |
@chrmarti I do have /etc/passwd (even though Im on ldap), and running |
What is the Node.js version you are using? (VS Code is currently using Electron based on Node.js 16.13.2.) |
@chrmarti tried them all just to be sure already 😅 but this one specifically is |
@deepak1556 Do you know if Electron's |
@thebestnom reverting back to 0.238.3 did work for me and my co-worker. In case it is relevant, the computer I'm on is using LDAP and my user does not have an entry in /etc/passwd. I downloaded Node v16.13.2 and I'm seeing the same behavior as @thebestnom: calling userInfo from command line Node works fine, but dev tools in VSCode local throws the uv_os_get_passwd exception. |
As a test, I downloaded the latest |
@thebestnom also seem to see this with the snap (looking through #6928). |
@chrmarti Electron does not carry any custom patches for the |
I had a similar error too when launching a remote container in VS Code 1.69.0 installed with snap on Ubuntu 20.04:
Downgrading to Remote-Containers version
|
I'm not seeing this with Ubuntu 21.04, VS Code 1.69.1 snap and Remote-Containers 0.241.3. Not sure what might make the difference, will investigate adding a fallback for when this occurs. |
@chrmarti might want to test with |
Works for me with Ubuntu 20.04 (tested running |
Also tested again on 1.69.1 and didn't fix |
Oops, I totally forgot to mention I use an LDAP account (not present in |
@chrmarti is it released? |
@thebestnom It is now available with Remote-Containers 0.243.0-pre-release (switch Remote-Containers to pre-releases from the Extensions viewlet). Let me know if that fixes it, thanks! |
@chrmarti Working as expected, thanks! |
I got a chance to test today and it is working as expected for me as well. Thank you @chrmarti ! |
Attempting to use the 'Remote-Containers: Clone Repository' commands results in an error dialog with the following text:
This is happening with Remote-Containers version 0.241.3 and the pre-release 0.242.0. When I roll back to version 0.238.3 everything works as expected. This is affecting a number of folks on my team with similar local OS versions.
Remote-Containers: Show Previous Log
I get the log for when I rolled back to Remote-Containers 0.238.3 and the container started as expected.Steps to Reproduce:
F1
to open the command palette.Does this issue occur when you try this locally?: Yes I removed my
docker.host
setting and it still happensThe text was updated successfully, but these errors were encountered: