# Problems connecting to a server via WINRM in Ansible

**URL:** <https://forum.ansible.com/t/problems-connecting-to-a-server-via-winrm-in-ansible/38810>\
**Category:** Ansible Project\
**Created:** [June 14, 2024, 8:26pm UTC](https://forum.ansible.com/t/problems-connecting-to-a-server-via-winrm-in-ansible/38810 "2024-06-14T20:26:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![denilson\_hernandez\_s](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@denilson\_hernandez\_s](https://forum.ansible.com/u/denilson_hernandez_s)\
**Post date:** [June 14, 2024, 8:26pm UTC](https://forum.ansible.com/t/problems-connecting-to-a-server-via-winrm-in-ansible/38810/1 "2024-06-14T20:26:28Z")

</div>

Hello community,

I hope you are very well

I am currently implementing some Ansible servers with WINRM.

For this I enabled winrm and enabled HTTPS transport.

But when I run the ansible file it gives me this error

[WARNING]: ERROR DURING WINRM SEND INPUT - attempting to recover: WinRMTransportError Bad HTTP response returned from server. Code 413

Do you know why?
