-
Notifications
You must be signed in to change notification settings - Fork 23.9k
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
WinRM connection error 101 #23863
Comments
Are your Target hosts VirtualBox VM's? |
At 19:00 UTC on Tuesday 19 September 2017 this ticket will be processed during the second Windows Sprint, |
So it seems to be a network-related problem rather than a WinRM or Windows related problem (a routing problem or a firewall issue). Maybe even a Docker-related problem (interface issue), or a problem with the Windows host (no longer connected to the network or routing issue to Docker ?). Can you verify that you can connect to the WinRM port (usually 5986 for HTTPS). needs_info |
Does the information list at provision_docker help? Specifically adding routes (towards the bottom) ? |
When the driver was installed, the network probably dropped and killed the winrm connection. |
I wonder if this is a recoverable problem, i.e. would a retry with a specific delay overcome this issue ? If so, we could add this, next to "Connection refused" as part of making WinRM a but more resilient. diyan/pywinrm#174 cc: @nitzmahone |
@yop190 This issue is waiting for your response. Please respond or the issue will be closed. |
Closing as this is a generic user question and a thread already exists to talk about retries after connection refused #25532 |
ISSUE TYPE
COMPONENT NAME
Any win module
ANSIBLE VERSION
CONFIGURATION
Default configuration
OS / ENVIRONMENT
Run in Docker based on williamyeh/ansible:ubuntu16.04
SUMMARY
Since upgrade to 2.3.0, sometimes a communication failure appear with the windows VM
UNREACHABLE! => {"changed": false, "msg": "ssl: HTTPSConnectionPool(host='xxx.xxx.xxx.xxx', port=5986): Max retries exceeded with url: /wsman (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe4220bcd50>: Failed to establish a new connection: [Errno 101] Network is unreachable',))", "unreachable": true}
If I relaunch the playbook, maybe that can run or not;)
STEPS TO REPRODUCE
EXPECTED RESULTS
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [xxx.xxx.xxx.139]
ok: [xxx.xxx.xxx.141]
TASK [common : install selenium drivers all] ***********************************
ok: [xxx.xxx.xxx.139]
ok: [xxx.xxx.xxx.141]
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: