Facing the same issue with Ansible 2.4.1

<mweb03.xyz.com> WINRM RESULT u'<Response code 0, out 
"C:\\Users\\service_user_a", err "">'
<mweb03.xyz.com> PUT "/tmp/P20FrontOffice.zip" TO 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=250000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=500000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=750000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=1000000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=1250000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=1500000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=1750000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=2000000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=2250000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=2500000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=2750000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=3000000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=3250000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=3500000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=3750000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=4000000 size=250000)
<mweb03.xyz.com> WINRM PUT "/tmp/P20FrontOffice.zip" to 
"C:\Users\service_user_a\AppData\Local\Temp\ansible-tmp-1526547128.67-17340612201760\source"
 
(offset=4250000 size=250000)
 [WARNING]: FATAL ERROR DURING FILE TRANSFER: Traceback (most recent call
last):   File "/usr/lib/python2.7/site-
packages/ansible/plugins/connection/winrm.py", line 276, in _winrm_exec
self._winrm_send_input(self.protocol, self.shell_id, command_id, data,
eof=is_last)   File "/usr/lib/python2.7/site-
packages/ansible/plugins/connection/winrm.py", line 256, in 
_winrm_send_input
protocol.send_message(xmltodict.unparse(rq))   File
"/var/lib/awx/venv/ansible/lib/python2.7/site-packages/winrm/protocol.py", 
line
207, in send_message     return self.transport.send_message(message)   File
"/var/lib/awx/venv/ansible/lib/python2.7/site-packages/winrm/transport.py",
line 184, in send_message     response = self.session.send(prepared_request,
timeout=self.read_timeout_sec)   File 
"/var/lib/awx/venv/ansible/lib/python2.7
/site-packages/requests/sessions.py", line 639, in …
<mweb03.xyz.com> WINRM CLOSE SHELL: 434399E7-C8C0-4A8D-966F-BE341385B4FE
fatal: [mweb03.xyz.com]: FAILED! => {
    "failed": true, 
    "msg": "winrm send_input failed"
}

On Friday, September 1, 2017 at 12:55:21 AM UTC+5:30, J Hawkesworth wrote:
>
> Please share the playbook that is causing this error, and also the 
> group_vars you are using.
>
> You might need to change some of the timeouts - try something like the 
> following.
>
> ansible_winrm_operation_timeout_sec=60ansible_winrm_read_timeout_sec=70
>
>
> Is the server busy when this happens?  Can you monitor cpu disk and 
> network activity when this occurs?
>
> On Thursday, August 31, 2017 at 10:52:24 AM UTC+1, sohail.p...@gmail.com 
> wrote:
>>
>> [WARNING]: FATAL ERROR DURING FILE TRANSFER: Traceback (most recent call
>> last):   File "/usr/lib/python2.7/site-
>> packages/ansible/plugins/connection/winrm.py", line 267, in _winrm_exec
>> self._winrm_send_input(self.protocol, self.shell_id, command_id, data,
>> eof=is_last)   File "/usr/lib/python2.7/site-
>> packages/ansible/plugins/connection/winrm.py", line 248, in 
>> _winrm_send_input
>> protocol.send_message(xmltodict.unparse(rq))   File 
>> "/usr/lib/python2.7/site-
>> packages/winrm/protocol.py", line 207, in send_message     return
>> self.transport.send_message(message)   File "/usr/lib/python2.7/site-
>> packages/winrm/transport.py", line 202, in send_message     raise
>> WinRMTransportError('https', error_message) WinRMTransportError: 
>> (u'https',
>> u'Bad HTTP response returned from server. Code 500')
>>
>> fatal: [ACLUS2.ASWINI.COM]: FAILED! => {"failed": true, "msg": "winrm 
>> send_input failed"}
>>  [WARNING]: FATAL ERROR DURING FILE TRANSFER: Traceback (most recent call
>> last):   File "/usr/lib/python2.7/site-
>> packages/ansible/plugins/connection/winrm.py", line 267, in _winrm_exec
>> self._winrm_send_input(self.protocol, self.shell_id, command_id, data,
>> eof=is_last)   File "/usr/lib/python2.7/site-
>> packages/ansible/plugins/connection/winrm.py", line 248, in 
>> _winrm_send_input
>> protocol.send_message(xmltodict.unparse(rq))   File 
>> "/usr/lib/python2.7/site-
>> packages/winrm/protocol.py", line 207, in send_message     return
>> self.transport.send_message(message)   File "/usr/lib/python2.7/site-
>> packages/winrm/transport.py", line 202, in send_message     raise
>> WinRMTransportError('https', error_message) WinRMTransportError: 
>> (u'https',
>> u'Bad HTTP response returned from server. Code 500')
>>
>> fatal: [ACLUS1.ASWINI.COM]: FAILED! => {"failed": true, "msg": "winrm 
>> send_input failed"}
>>
>>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bf3fa682-e119-4250-befd-3203f4bd8770%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to