# kerberos: Bad HTTP response returned from server. Code 500

**URL:** <https://forum.ansible.com/t/kerberos-bad-http-response-returned-from-server-code-500/35801>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [September 29, 2021, 1:26pm UTC](https://forum.ansible.com/t/kerberos-bad-http-response-returned-from-server-code-500/35801 "2021-09-29T13:26:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gajendra\_Gaikwad1](https://avatars.discourse-cdn.com/v4/letter/g/9de053/32.png) [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Post date:** [September 29, 2021, 1:26pm UTC](https://forum.ansible.com/t/kerberos-bad-http-response-returned-from-server-code-500/35801/1 "2021-09-29T13:26:23Z")

</div>

Good evening All

I am facing a small issue, could you please let me out

This works if i allow unencrypted is true : Set-Item -Path WSMan:\localhost\Service\AllowUnencrypted -Value true

**Error: fatal: [[win-client-01.adc1.com](http://win-client-01.adc1.com/)]: UNREACHABLE! =\> {“changed”: false, “msg”: “kerberos: Bad HTTP response returned from server. Code 500”, “unreachable”: true}**

Note: I have not done any configuration on windows host node( default winrm service is running and firewall is disabled)

---

<div class="post-metadata">

**Author:** ![Tim\_Stauffer](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@Tim\_Stauffer](https://forum.ansible.com/u/Tim_Stauffer)\
**Post date:** [October 22, 2021, 10:28pm UTC](https://forum.ansible.com/t/kerberos-bad-http-response-returned-from-server-code-500/35801/2 "2021-10-22T22:28:27Z")

</div>

I ran into this. Upgrading the python modules _pykerberos_ and _pywinrm_ fixed it for me.
