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

Docker hv-sock proxy (vsudd) is not reachable #1866

Closed
Hinton opened this issue Mar 21, 2018 · 13 comments
Closed

Docker hv-sock proxy (vsudd) is not reachable #1866

Hinton opened this issue Mar 21, 2018 · 13 comments

Comments

@Hinton
Copy link

Hinton commented Mar 21, 2018

Expected behavior

Docker starts.

Actual behavior

An error occurred

Information

Docker hv-sock proxy (vsudd) is not reachable
   at Docker.Backend.ContainerEngine.Linux.ConnectToVsud(TaskCompletionSource`1 vmId) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 293
   at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 260
   at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 130
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145

Diagnostic ID: E5D09B0C-1951-4398-93EE-7127C6343732/2018-03-21_13-53-48
Docker Version 17.12.0-ce-win47 (15139)

Windows Edition: Windows 10 Pro
Version: 1709
OS Build: 16299.309

Reinstalling and/or resetting docker dosn't help. Reverting to an older version helped for a while but the error occurred again after a while.

Steps to reproduce the behavior

  1. Install Docker
  2. Attempt to start Docker
@AnthonyMastrean
Copy link

AnthonyMastrean commented Mar 22, 2018

I have this same problem, repeatedly, day after day. It starts with docker or docker-compose commands hanging. I go to the Docker for Windows application, open Settings, and try Reset | Restart Docker. I have tried quitting the Docker for Windows app and killing processes/services. Usually, I have to restart my machine 😢 .

Platform

I am completely up-to-date.

Edition: Windows 10 Pro
Version: 1709
OS Build: 16299.192

Application

I'm running stable Docker w/o experimental features.

Engine: 17.12.0-ce

Information

Docker hv-sock proxy (vsudd) is not reachable
   at Docker.Backend.ContainerEngine.Linux.ConnectToVsud(TaskCompletionSource`1 vmId) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 293
   at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 260
   at Docker.Backend.ContainerEngine.Linux.Restart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 189
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145

Diagnostic IDs

2018-03-19

  • EC10B2E4-09D2-4873-84AF-24452C6B5916/2018-03-19_10-10-35
  • EC10B2E4-09D2-4873-84AF-24452C6B5916/2018-03-19_10-14-20
  • EC10B2E4-09D2-4873-84AF-24452C6B5916/2018-03-19_10-17-29

2018-03-22

  • EC10B2E4-09D2-4873-84AF-24452C6B5916/2018-03-22_11-18-56
  • EC10B2E4-09D2-4873-84AF-24452C6B5916/2018-03-22_11-24-10
  • EC10B2E4-09D2-4873-84AF-24452C6B5916/2018-03-22_11-26-26
  • EC10B2E4-09D2-4873-84AF-24452C6B5916/2018-03-22_11-39-34
  • EC10B2E4-09D2-4873-84AF-24452C6B5916/2018-03-22_11-42-54

@AnthonyMastrean
Copy link

AnthonyMastrean commented Mar 22, 2018

C'mon, there are dozens of similar open issues going back over a year! Most of these have no comments. The ones that do are from community members randomly changing settings.

What's happening here?

The only noted "workaround" in any of these issues seems rather sketchy... #1148 (comment)

@tylerreece22
Copy link

Yeah. I am having the same issue. Does anyone have the fix?

@tylerreece22
Copy link

Two things. One problem I was having was when I was downloading an image I ran out of memory and the this issue actually went away because I turned off the experimental features and that seemed to do the trick XD

@AnthonyMastrean
Copy link

I got the latest Docker for Windows update and I'm having the same "Docker hv-sock proxy (vsudd) is not reachable", but with a different stack trace.

Platform

I am completely up-to-date.

Edition: Windows 10 Pro
Version: 1709
OS Build: 16299.309

Application

I'm running stable Docker w/ experimental features.

Engine: 18.03.0-ce-win59 (16762)

Information

Docker hv-sock proxy (vsudd) is not reachable
   at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:line 36
   at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 67
   at Docker.Actions.<>c__DisplayClass14_0.<Start>b__0() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 51
   at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59

Diagnostic IDs

2018-04-12

  • EC10B2E4-09D2-4873-84AF-24452C6B5916/2018-04-12_11-34-10

@malawto
Copy link

malawto commented Apr 17, 2018

I also get the dreaded Docker hv-sock proxy (vsudd) is not reachable error message. Docker for Windows was working until a Windows Update wrecked it. More, I think it has to do with being in a VM. It works on a physical box and I took the exact same steps to isolate and prove it (except I had to enable hypervisor applications for the VM inside of VMWare's settings. And I've done this with known working instances of Docker in the VM, so it's correctly set for sure.)

Here are the steps I took to reproduce it:

  1. I spun up a new Windows 10 Pro machine on a physical box:
    Starting OS level
    Edition: Windows 10 Pro
    Version: 1709
    OS Build: 16299.125
  2. Installed Docker CE for Windows Stable
    Everything works correctly. 🥇
  3. Patch Windows...
    Updated OS
    Edition: Windows 10 Pro
    Version: 1709
    OS Build: 16299.371

Everything still works. But... do the same steps on a new VM, built the exact same way? It works after you install at OS Build: 16299.125, but somewhere in between that and getting to 16299.371... an update must break something.

It's clearly different running in a VM, but I've done it prior to the updates with no issue. Has something changed with communicating with the Hyper-V alpine VM while virtualized? Don't know, but I can isolate it to here. I don't have time to find the specific patch that 's responsible... and I think undoing patches is suboptimal, so I don't really want to.

@hoegge
Copy link

hoegge commented May 1, 2018

same as @AnthonyMastrean:
Docker hv-sock proxy (vsudd) is not reachable
at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:line 36
at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 75
at Docker.Actions.<>c__DisplayClass15_0.b__0() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 59
at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59

Log: E9CBF190-66D5-420A-A5A8-9FA5D6D52443/2018-05-01_19-47-15

Stable Docker releases seems to be as likely as winning the lottery. When will I learn never to update

@Hinton
Copy link
Author

Hinton commented May 1, 2018

I forgot about this issue. Docker for Windows have been working reliably for me lately, using version 18.03.0-ce-win59 (16762) on OS Build 16299.371.

Unfortunately I can't give any advice other than this specific version seems to work reliably on my two Windows 10 machines. I haven't dared to upgrade to the latest version and probably won't bother as long as it continues working.

@rn
Copy link
Contributor

rn commented May 1, 2018

@hoegge in your case you actually run out of memory inside the Linux VM and the OOM killer starts killing processes. Try increasing the amount of memory allocated to the VM or increase the swap. Both via settings. You may also need to rest to factory as your virtual disk may be corrupted

@hoegge
Copy link

hoegge commented May 2, 2018

Tried to increase memory allocation from the default 2GB to 8GB since one of my containers was suddenly using 1,9 GB. Seems to have fixed the problem. Would be nice if docker warned about low memory instead of cryptic messages. Thanks @rn

@rn
Copy link
Contributor

rn commented May 2, 2018

I've looked at all supplied diagnostics in this issue and other "Docker hv-sock proxy (vsudd) is not reachable" and they seem to fall into three categories:

If you have provided a diagnostics ID, I've added you to the relevant issue, so I'm closing this issue.

@rn rn closed this as completed May 2, 2018
@AnthonyMastrean
Copy link

@rn Thank you for digging though the diagnostics and identifying these two sub-categories! I'm going to watch the new issues and take a closer look at my diagnostics when the problem occurs again.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jun 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants