10060 is an ActiveDirectory specific error code, but the error itself is 
pretty generic: it's a timeout attempting to access a server that either 
isn't there or something between the endpoints is preventing contact.

On Wednesday, December 1, 2021 at 1:24:15 PM UTC-5 Nitrous wrote:

> Anyone know what this error means? 
>
> Port 9389 and port 5986 is open (tried test-netconnection from the server 
> from where the ansible command is being run from to destination server its 
> reporting below) :
>
> The full traceback is:
> Unable to contact the server. This may be because this server does not 
> exist, it is currently down, or it does not have the Active Directory Web 
> Services running.
> At line:51 char:19
> + $members_before = Get-AdGroupMember -Identity $name @extra_args
> +                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     + CategoryInfo          : ResourceUnavailable: 
> (SystemGroup_DemoInsA_Prod:ADGroup) [Get-ADGroupMember], 
> ADServerDownException
>     + FullyQualifiedErrorId : 
> ActiveDirectoryServer:0,Microsoft.ActiveDirectory.Management.Commands.GetADGroupMember
>
> ScriptStackTrace:
> at <ScriptBlock>, <No file>: line 51
>
> Microsoft.ActiveDirectory.Management.ADServerDownException: Unable to 
> contact the server. This may be because this server does not exist, it is 
> currently down, or it does not have the Active Directory Web Services 
> running. ---> System.ServiceModel.EndpointNotFoundException: Could not 
> connect to 
> net.tcp://xxxxx:9389/ActiveDirectoryWebServices/Windows/Resource. The 
> connection attempt lasted for a time span of 00:00:21.0279753. TCP error 
> code 10060: A connection attempt failed because the connected party did not 
> properly respond after a period of time, or established connection failed 
> because connected host has failed to respond 10.115.1.242:9389.  ---> 
> System.Net.Sockets.SocketException: A connection attempt failed because the 
> connected party did not properly respond after a period of time, or 
> established connection failed because connected host has failed to respond 
> 10.115.1.242:9389
>    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, 
> SocketAddress socketAddress)
>    at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
>    at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri 
> uri, TimeSpan timeout)
>    --- End of inner exception stack trace ---
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f24fa119-4bda-4b2f-b8ac-699f2a4ebac1n%40googlegroups.com.

Reply via email to