Open Denilson388 opened 2 weeks ago
HTTP 413 is content too large, potentially your server has a smaller value set than what Ansible is trying to use.
Get-Item WSMan:\localhost\MaxEnvelopeSizekb
on your Windows host (it should be 500 or higher)This has no bearing on HTTP or HTTPS, it's the WinRM service complaining the data it is given is too large.
Hello community,
I hope you are very well.
I am currently connecting to a server from ansible but I am getting this error: [WARNING]: ERROR DURING WINRM SEND INPUT - attempting to recover: WinRMTransportError Bad HTTP response returned from server. Code 413.
I have the ansible configuration like this:
I think it's because of the WINRM configuration.
Actually I only enable HTTPS transport with port 5986. but not HTTP, this could be a reason why this error is generated?
I remain attentive to your comments, thank you very much.