{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/16452","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/16452/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/16452/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/16452/events","html_url":"https://github.com/ansible/ansible/issues/16452","id":162410032,"number":16452,"title":"WinRM NTLM Error 104","user":{"login":"mikef-nl","id":18595631,"avatar_url":"https://avatars.githubusercontent.com/u/18595631?v=3","gravatar_id":"","url":"https://api.github.com/users/mikef-nl","html_url":"https://github.com/mikef-nl","followers_url":"https://api.github.com/users/mikef-nl/followers","following_url":"https://api.github.com/users/mikef-nl/following{/other_user}","gists_url":"https://api.github.com/users/mikef-nl/gists{/gist_id}","starred_url":"https://api.github.com/users/mikef-nl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikef-nl/subscriptions","organizations_url":"https://api.github.com/users/mikef-nl/orgs","repos_url":"https://api.github.com/users/mikef-nl/repos","events_url":"https://api.github.com/users/mikef-nl/events{/privacy}","received_events_url":"https://api.github.com/users/mikef-nl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible/labels/needs_info","name":"needs_info","color":"eb6420"},{"url":"https://api.github.com/repos/ansible/ansible/labels/windows","name":"windows","color":"777777"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-27T09:31:39Z","updated_at":"2016-08-03T08:35:59Z","closed_at":null,"body":"##### ISSUE TYPE\r\n - Bug Report\r\n\r\n\r\n##### ANSIBLE VERSION\r\nansible 2.1.0.0\r\n  config file = /home/ansible/.ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n\r\n\r\n##### CONFIGURATION\r\nAnsible configured to use NTLM authentication to domain servers.\r\n\r\n##### OS / ENVIRONMENT\r\nCentOS Linux release 7.2.1511 (Core)\r\nManaging Windows Server 2012 R2 with Windows Domain\r\nPyWinRM 0.2.0\r\n\r\n##### SUMMARY\r\n\r\nWhen executing a basic win_ping the following is received.\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nRun win_ping against Windows Server 2012 R2 servers. The servers presenting the issue have IIS installed with multiple sites and certificates installed.\r\n-->\r\n\r\n##### EXPECTED RESULTS\r\n SUCCESS => {\r\n    \"changed\": false,\r\n    \"ping\": \"pong\"\r\n}\r\n\r\n\r\n##### ACTUAL RESULTS\r\n\r\n```\r\n\r\nUsing /home/ansible/.ansible.cfg as config file\r\nLoaded callback minimal of type stdout, v2.0\r\n<10.144.24.20> ESTABLISH WINRM CONNECTION FOR USER: ansible_user@DOMAIN on PORT 5986 TO 10.144.24.20\r\n<10.144.24.20> WINRM CONNECT: transport=ntlm endpoint=https://redacted:5986/wsman\r\n<10.144.24.20> WINRM CONNECTION ERROR: ('Connection aborted.', error(104, 'Connection reset by peer'))\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/ansible/plugins/connection/winrm.py\", line 152, in _winrm_connect\r\n    self.shell_id = protocol.open_shell(codepage=65001) # UTF-8\r\n  File \"/usr/lib/python2.7/site-packages/winrm/protocol.py\", line 132, in open_shell\r\n    res = self.send_message(xmltodict.unparse(req))\r\n  File \"/usr/lib/python2.7/site-packages/winrm/protocol.py\", line 207, in send_message\r\n    return self.transport.send_message(message)\r\n  File \"/usr/lib/python2.7/site-packages/winrm/transport.py\", line 173, in send_message\r\n    response = self.session.send(prepared_request, timeout=self.read_timeout_sec)\r\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 585, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/adapters.py\", line 453, in send\r\n    raise ConnectionError(err, request=request)\r\nConnectionError: ('Connection aborted.', error(104, 'Connection reset by peer'))\r\n\r\nredacted | UNREACHABLE! => {\r\n    \"changed\": false,\r\n    \"msg\": \"ntlm: ('Connection aborted.', error(104, 'Connection reset by peer'))\",\r\n    \"unreachable\": true\r\n}\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/237177341","html_url":"https://github.com/ansible/ansible/issues/16452#issuecomment-237177341","issue_url":"https://api.github.com/repos/ansible/ansible/issues/16452","id":237177341,"user":{"login":"jhawkesworth","id":8440323,"avatar_url":"https://avatars.githubusercontent.com/u/8440323?v=3","gravatar_id":"","url":"https://api.github.com/users/jhawkesworth","html_url":"https://github.com/jhawkesworth","followers_url":"https://api.github.com/users/jhawkesworth/followers","following_url":"https://api.github.com/users/jhawkesworth/following{/other_user}","gists_url":"https://api.github.com/users/jhawkesworth/gists{/gist_id}","starred_url":"https://api.github.com/users/jhawkesworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhawkesworth/subscriptions","organizations_url":"https://api.github.com/users/jhawkesworth/orgs","repos_url":"https://api.github.com/users/jhawkesworth/repos","events_url":"https://api.github.com/users/jhawkesworth/events{/privacy}","received_events_url":"https://api.github.com/users/jhawkesworth/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T08:35:59Z","updated_at":"2016-08-03T08:35:59Z","body":"No idea if this would be any help but perhaps compare what hotfixes are installed and see if there are any differences?"}}
{"actor":{"display_login":"jhawkesworth"}}