My guess would be firewall configuration on the windows machine is stopping 
the remoting to localhost from working.
The other place to look would be in the winrm configuration.
Sometimes checking the windows event log can be helpful - have you looked 
there?

Jon

On Thursday, June 4, 2015 at 4:32:59 PM UTC+1, Rene Metery wrote:
>
> Hi,
>
> I am currently configuring a windows computer to accept remote access from 
> ansible and I am having a problem while running the 
> script ConfigureRemotingForAnsible.ps1.
>
> Here is the error :
>
> PS D:\Ansible\Power Shell 3> .\ConfigureRemotingForAnsible.ps1
> Unable to establish an HTTP or HTTPS remoting session.
> Au caractère D:\Ansible\Power Shell 3\ConfigureRemotingForAnsible.ps1:129 
> : 5
> +     Throw "Unable to establish an HTTP or HTTPS remoting session."
> +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> + CategoryInfo          : OperationStopped: (Unable to estab...moting 
> session.:String) [], RuntimeException
> + FullyQualifiedErrorId : Unable to establish an HTTP or HTTPS remoting 
> session.
>
>
> I have checked my authentication configuration an it seems ok.
>
> PS D:\Ansible\Power Shell 3> winrm get winrm/config
> Config
>     MaxEnvelopeSizekb = 500
>     MaxTimeoutms = 60000
>     MaxBatchItems = 32000
>     MaxProviderRequests = 4294967295
>     Client
>         NetworkDelayms = 5000
>         URLPrefix = wsman
>         AllowUnencrypted = false
>         Auth
>             Basic = true
>             Digest = true
>             Kerberos = true
>             Negotiate = true
>             Certificate = true
>             CredSSP = false
>
>
> If you have any idea about the problem it will greatly help me.
> I can't find any post about that problem.
> Cheers,
>
> René METERY
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/862982df-5c45-4773-b58b-1f7d28e9d562%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to