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
[NamedPipeServer][Error ] Pipe failure: Pipe hasn't been connected yet #482
Comments
Thanks for your report. Something seems to have gone wrong during the upgrade process. It's not clear what, but could you try:
Thanks |
@mmisztal1980 reported the same error with exactly the same error message on #487 with diagnostics id 5239E3DB-D0D2-47AE-B158-5D03C5A0619A/2017-02-10_22-19-15 the error message is:
|
https://github.com/docker/for-win/issues Very frustrating for a newbie. |
@dvprao thanks for the report. I have already filed on internal issue |
@rneugeba It's impossible to use the "reset". All the options in the "Reset" pane are grayed out. |
@rneugeba I've reinstalled docker for windows using the latest stable installer. Same issue. |
@mmisztal1980 could you provide a diagnostics ID? thanks |
Latest uploaded diagnostic: 5239E3DB-D0D2-47AE-B158-5D03C5A0619A/2017-02-11_10-55-40 |
@mmisztal1980 thanks for the quick response. Your issue seems different. could you file a separate issue? Thanks |
I already did, but you closed it :D #487 |
Ah, sorry. Yes, you other logs under 5239E3DB-D0D2-47AE-B158-5D03C5A0619A/2017-02-10_22-19-15 do show this error. Sorry, for the confusion |
No problem, I suppose we can reopen it and continue there? |
no, your other logs contain the same error as the report on this issue. we need to look into why there is a backtrace and why subsequently nothing works anymore. Did older versions work for you? |
It used to work up to a week ago, there was an update recently, but it didn't work by then. From my perspective it stopped working silently, I haven't noticed exactly when and why. |
Could you try disabling the AV software and see if it works? Also, could you try to revert to 1.12.6 from here https://download.docker.com/win/stable/1.12.6.9655/InstallDocker.msi and also 1.13.0 from here: https://download.docker.com/win/stable/1.13.0.9795/InstallDocker.msi that would help us narrow down if it's something we changed. Thanks |
I've disabled the following features in NOD:
No effect, docker is still "stuck" in "Docker is starting state". I'll try the older versions next. |
v1.12.6 : Docker seems to be stuck again. Last meaninfgul enrtry in the log suggests that it was trying to create the Hyper-V NAT switch.
I'm attempting to upload a diagnostic but I'm not getting the UI to present me with the diagnostic's ID. Hyper-V (MobyLinuxVM) Last logs from the MobyLinuxVM originate from Jan29th. Hyper-V (Networking) Lat logs regarding the DockerNAT switch originate from Feb7th. |
Thanks for the answer. I have installed the new version manually. That's work for the moment. But the next update can fail if this issue is not solved. I already have this problem at the previous update. The issue appears with the Windows container version of docker. |
+1 |
@yvesdelvaux thanks for getting back. This is weird...Do you have any AV software installed? @cyberjoac can you provide a diagnostic ID? |
@rneugeba Just uploaded the diagnostic ID: 639B87D4-CE3B-4850-90DC-A38C83D12E6A/2017-02-12_16-01-57 Please note I can't see any VM in the Hyper-V manager.. |
@rneugeba while using v12, I was consistently unable to upload any diagnostics. |
Another observation: |
@rneugeba Yes I have an AV (Trend Micro OfficeScan). I can't disable it. My firm has a strict security policy about it. |
@cyberjoac thanks for the diagnostics ID. You indeed have the same issue as others. @mmisztal1980 hmm, odd. Could you attach a screen shot from the 1.13 control panel? Thanks |
Thanks a lot |
@rneugeba |
Those are leaked VNIC's. Do you have any proprietary teaming solution or LBFO team created on this host? |
@mmisztal1980 @rneugeba Could you please also run the following cleanupscript and share us the logs? Please run it with CleanupContainerHostNetworking.ps1 with the -ForceCleanup parameter, this will perform log collection and also cleanup those leaked NICS. |
@dineshgovindasamy Logs attached. I've tried it twice, first using PreCleanupState_HWOLYOCW.zip |
@JonCubed hit the same issue over at #417 (comment). The diagnostics ID is |
@dineshgovindasamy I've been using it for about 1.5months. during that time I was able to use docker for windows. |
@dineshgovindasamy @rneugeba |
@mmisztal1980 great to know. We recently had several issue with various AV/security softwares and looks like zerotier is another one to look out for |
@yvesdelvaux do you have any AV/security software installed? And if so could you try disabling? |
@rneugeba @dineshgovindasamy let me know if you need me to do anything to help debug this issue, love to get docker working again |
OK guys this is what I did to resolve the issue on my end. Go to "Turn Windows features on or off", disable all Hyper-V related features, reboot, then Docker should ask if it can enable and reboot for you. Let it do that and see if it's fixed. If not I'd probably try manually re-enabling Hyper-V. Good luck. |
UI Test Diagnostic Id: 41560D0B-E5AF-41B4-94BD-0C90C899004C/2017-02-21_22-44-54 Hyper-V test fails on create with New-NetIPAddress : The object already exists.
At C:\Program Files\Docker\Docker\resources\MobyLinux.ps1:164 char:23
+ ... rkAdapter | New-NetIPAddress -AddressFamily IPv4 -IPAddress $switchAd ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (MSFT_NetIPAddress:ROOT/StandardCimv2/MSFT_NetIPAddress) [New-NetIPAddress
], CimException
+ FullyQualifiedErrorId : Windows System Error 5010,New-NetIPAddress as for av, just using windows defender cc @rneugeba |
@rneugeba just following up on this, anything else I can do to help with this? |
I did some debugging turns out that I had a already had an assigned ip address for [DBG]: PS C:\WINDOWS\system32>> Get-NetIPAddress -IPAddress $switchAddress
IPAddress : 10.0.75.1
InterfaceIndex : 31
InterfaceAlias : vEthernet (InternalNAT)
AddressFamily : IPv4
Type : Unicast
PrefixLength : 24
PrefixOrigin : Manual
SuffixOrigin : Manual
AddressState : Preferred
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore
[DBG]: PS C:\Program Files\Docker\Docker\resources>> $networkAdapter | Format-List
Name : vEthernet (DockerNAT)
InterfaceDescription : Hyper-V Virtual Ethernet Adapter #4
InterfaceIndex : 112
MacAddress : 00-15-5D-4B-01-2E
MediaType : 802.3
PhysicalMediaType : Unspecified
InterfaceOperationalStatus : Up
AdminStatus : Up
LinkSpeed(Gbps) : 10
MediaConnectionState : Connected
ConnectorPresent : False
DriverInformation : Driver Date 2006-06-21 Version 10.0.14393.0 NDIS 6.50 this led me to # Make sure the Switch has the right IP address
$networkAdapter = Get-NetAdapter | ? { $_.DeviceID -eq $vmNetAdapter.DeviceId }
if ($networkAdapter | Get-NetIPAddress -IPAddress $switchAddress -ea SilentlyContinue) {
Write-Output "Using existing Switch IP address"
return
} if you remove Get-NetIPAddress : No matching MSFT_NetIPAddress objects found by CIM query for instances of the
ROOT/StandardCimv2/MSFT_NetIPAddress class on the CIM server: SELECT * FROM MSFT_NetIPAddress WHERE
((IPAddress LIKE '10.0.75.1')) AND ((InterfaceIndex = 112)) AND ((InterfaceAlias LIKE 'vEthernet
(DockerNAT)')). Verify query parameters and retry. you can see it is also filtering by InterfaceAlias not piping To reproduce:
Workaround:
cc @rneugeba |
This didn't work either. Docker for Windows client is frozen for about 30 seconds then fails with same pipe not readable error. |
@megamindbrian I had a problem with most recent version. I uninstalled it, removed all docker folders and server and virtual switch from hyper-v and then reinstalled and it worked. If you haven't tried this, give it a shot |
I have the same problem. [NamedPipeServer][Error ] Pipe failure: Pipe is broken. at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode) |
Just to add data points--this is happening on my Win10 install as well just recently. Going to start trying some of the steps presented here, but if there's data I can provide to help track this down, lmk. |
I uninstalled and reinstalled edge and it worked. Came up again later
after an upgrade and uninstalled and reinstalled and it worked.
I also added the port 2375 to the firewall manually. I also tried checking Expose on non-TLS in settings, right now it comes up with TLS enabled (unchecked).
|
Yeah, I tried that yesterday but the hanging behavior just started, so I'm thinking maybe after an uninstall things got left in a weird state. That's why I'm going to try some of the options mentioned in here as well as doing an uninstall/reinstall. |
closing as the OP is pretty old |
Closed issues are locked after 30 days of inactivity. 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. |
Expected behavior
I can restart Docker without restart my pc.
Actual behavior
Docker doesn't restart and freeze.
Information
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: