Skip to content
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

VSCode doesn't allow to attach running container, throws uv_os_get_passwd returned ENOENT (On newest extension only) #6928

Closed
thebestnom opened this issue Jul 11, 2022 · 3 comments
Labels
containers Issue in vscode-remote containers

Comments

@thebestnom
Copy link

  • VSCode Version: 1.69.0 (Extension version 0.241.3 and up)
  • Local OS Version: Ubuntu 20.04
  • Remote OS Version: dokcer centos (docker 20.10.12)
  • Remote Extension/Connection Type: Containers
  • Logs:
[2022-07-11 13:46:12.600] [exthost] [error] SystemError: A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)
	at new SystemError (node:internal/errors:233:5)
	at new NodeError (node:internal/errors:336:7)
	at Object.userInfo (node:os:347:11)
	at Eo (/.../.vscode/extensions/ms-vscode-remote.remote-containers-0.242.0/dist/extension/extension.js:394:5490)
	at yt (/.../.vscode/extensions/ms-vscode-remote.remote-containers-0.242.0/dist/extension/extension.js:396:10846)
	at d (/.../.vscode/extensions/ms-vscode-remote.remote-containers-0.242.0/dist/extension/extension.js:463:6044)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async o._executeContributedCommand (/snap/code/100/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:62863) remote-containers.attachToRunningContainerFromViewlet {"value":"ms-vscode-remote.remote-containers","_lower":"ms-vscode-remote.remote-containers"}

Steps to Reproduce:

  1. try to attach (before vscode is attached to container)

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes

(I have LDAP user but trying nodejs directly does allow me to use os.userInfo but calling it in vscode developer options throws the same error)

Reverting extension to 0.238.3 fixed the problem

@thebestnom thebestnom changed the title VSCode doesn't allow to attach running container, throws uv_os_get_passwd returned ENOENT VSCode doesn't allow to attach running container, throws uv_os_get_passwd returned ENOENT (On newest extension only) Jul 11, 2022
@thebestnom
Copy link
Author

Duplicate of #6913

@thebestnom
Copy link
Author

Looks like not completely duplicate

@thebestnom thebestnom reopened this Jul 11, 2022
@github-actions github-actions bot added the containers Issue in vscode-remote containers label Jul 11, 2022
@thebestnom
Copy link
Author

Is actually duplicate

@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers
Projects
None yet
Development

No branches or pull requests

1 participant