not sure here but are you using the latest version of the configure script
?
https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1

also is the winrm server running on port 5985 5986, iirc




On Thu, Jun 4, 2015 at 4:06 PM, Rene Metery <[email protected]> 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/5b811610-9731-4405-b5b8-e1f499cbf9cd%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/5b811610-9731-4405-b5b8-e1f499cbf9cd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAFUV_d7wTVZ8Z9eXpZ73XV%3Dig%3DdYxqbcOyBQkN_E%2BaXmwKUGCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to