-
Notifications
You must be signed in to change notification settings - Fork 531
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
Explorer is not responsive for newly created remote SSH Docker Context #1947
Comments
@karolz-ms we should put a timeout on Dockerode requests; they shouldn't take forever...beyond 5s is unreasonable and certainly anything past 10s we can safely reject. |
It looks like That said, this issue would have existed since 0.9.0 when SSH support was first added, and nobody has raised it, so I wouldn't try to rush something into 1.2.0. @BigMorty |
I chatted about this with @BigMorty earlier today, definitively not a 1.2.0 issue. Disabling Like @bwateratmsft said, we need a timeout for Dockerode requests, plus a user warning, plus maybe some sort of back-off for the refresh rate when things go south. This should help not only with this issue, but also with other intermittent-network-connectivity issues. |
Refresh backoff might even be overkill, but I agree. |
Agree not a 1.2 issue but we should do at least the timeout and message for 1.3. Can we check to see if the remote host is in the known_hosts file? |
Yes, that should work. |
The fix for this is now released in 1.3.0. |
I then tried to use the command line to SSH into the machine directly, that is when I got this prompt:
I answered 'yes' and the SSH connection was made. I was then able to use the Context in VS Code and the panels refreshed as expected. I found the following StackOverflow item that discuss this, it has to do with the ~/.ssh/known_hosts file.
https://stackoverflow.com/questions/3663895/ssh-the-authenticity-of-host-hostname-cant-be-established
Is there a way we can alert the user to this issue?
The text was updated successfully, but these errors were encountered: