-
Notifications
You must be signed in to change notification settings - Fork 524
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
"Failed to connect. Is Docker running?" in all docker views using a remote docker context #3590
Comments
Further to above:
|
Stopping the OpenSSH Authentication Agent service and restarting VSCode causes it to pop up with the message
The OpenSSH executables on this machine are identical to another machine I have tested on. |
Thank you for the very thorough investigation! It sounds like you do indeed have the OpenSSH Authentication Agent service configured to start automatically. I'm guessing you have, but did you do Another potential possibility is that the remote host has changed, and the fingerprint is not recognized. If you do For what it's worth, we're working on #3263 which should hopefully be released soon, which will change the extension to only ever use the Docker CLI--so if the CLI is working (which it is, in your case), then the extension should work too. No more |
Hi, Yes I added the private key after regenerating my keypair but still hit the same issue. It doesn't prompt me to recognise the fingerprint as it's already in the known_hosts file. Something strange that I am seeing when sshing is this warning. However, I do get the same warning message when ssh'ing from a VM where VSCode works correctly on the remote docker context
FYI, The SSH key was generated on both the broken and working machines with Using the docker cli would be a massive help. Hopefully that will come soon! Thanks |
Following up to previous, I've gone the whole hog and splatted all of my keypairs on all machines which has sorted the 'signature' warning above but still VSCode refuses to connect. |
Good to know, thanks. I'll keep this issue open but hopefully #3263 will solve it. |
Same problem here. I have two windows users. One works fine. Second can not connect. Using console like powershell for connecting works fine. |
I don't think this fix has actually been released yet? |
That's correct, the release is tentatively planned for 28 November. |
This has now been released in Docker extension version 1.23.0. |
Issue: All Docker views except "Contexts" display the message "Failed to connect. Is Docker running?". This issue has presented after running VSCode for multiple months over multiple projects, both local and remote, without issue.
My remote docker context is to a linux machine, defined as: "ssh://myusername@myremotedockerhost". Passwordless ssh is set up between my local machine and myremotedockerhost.
Troubleshooting steps:
[2022-07-25 18:12:20.031] [renderer1] [error] read ECONNRESET: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:220:20)
Other people in my organisation have not reported this issue, suggesting there is something different about my remote docker context or SSH configuration which is causing issue.
Version: 1.22.0
OS: win32
OS Release: 10.0.17763
Product: Visual Studio Code
Product Version: 1.69.0
Language: en
Extensions installed:
The text was updated successfully, but these errors were encountered: