-
Notifications
You must be signed in to change notification settings - Fork 343
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
Trying to lock workspace, seems like another process is running that blocks this workspace. #1304
Comments
Thanks for reporting your issue @DanyYanev. When this happens can you run |
Looks like it consistently happens when the machine goes to sleep. Right now when it happens I restart my computer. Another issue popped up. After this mishap, the devpod is not forwarding SSH keys. Restarting vscode doesn't help. I had to start CLion and write an SSH command, the IDE then asked me if I wanted to forward my SSH credentials from the host, which fixed it. I reopened VSCode and the credentials were forwarded correctly. |
@DanyYanev hmmm, it sounds like you have an IDE or SSH connection alive in the background somewhere. If the SSH forwarding is not working on the devpod, I would recommend rebuilding the workspace with |
I'll try to manually close everything from within the pod, but it correctly forwards the credentials once in a blue moon. I saw many people had a similar issue with the vscode ssh extension, but they claim that's fixed. How does devpod forward credentials? Is there an agent thats supposed to be running that I can try to manually set |
@DanyYanev did rebuilding the workspace fix this? The workspace lock will be locked based on the client (local machine) not having open connections, not closing processes in the container itself. Devpod forwards the SSH_AUTH_SOCK from your local machine to the container then uses an SSH server served by the devpod container agent for port forwarding |
What happened?
info Trying to lock workspace, seems like another process is running that blocks this workspace.
Previously I've deleted the whole workspace but each restart like this takes around 1h to rebuild, for some reason, the image it's built from is not cached.What did you expect to happen instead?
To have a way of manually releasing the lock.
How can we reproduce the bug? (as minimally and precisely as possible)
Randomly refuses to reconnect after some amount of time.
My
devcontainer.json
:Local Environment:
DevPod Provider:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: