# win\_get\_url always failing first time

**URL:** <https://forum.ansible.com/t/win-get-url-always-failing-first-time/26927>\
**Category:** Ansible Project\
**Created:** [March 7, 2018, 9:15pm UTC](https://forum.ansible.com/t/win-get-url-always-failing-first-time/26927 "2018-03-07T21:15:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [March 7, 2018, 9:15pm UTC](https://forum.ansible.com/t/win-get-url-always-failing-first-time/26927/1 "2018-03-07T21:15:23Z")

</div>

Are you able to share some more info like the Ansible version you are on, the task you are running. A 500 status code means internal error (internal to the http server) and usually indicates a problem on the remote end. You need to be able to debug what is happened in the times of a 500 error to determine what is happening, there is not much we can do from there.

Thanks

Jordan

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [March 7, 2018, 10:32pm UTC](https://forum.ansible.com/t/win-get-url-always-failing-first-time/26927/2 "2018-03-07T22:32:34Z")

</div>

I’m not sure, there is no difference between the first and second execution from an Ansible perspective, you are best off trying to replicate the issue reliably. Things to look for

- Whether it is failing at a certain point in the day (is the server under load at this time)
- Whether it is the same file
- Whether this is happening on different sites
- Whether this is happening on different Windows hosts

From there you can hopefully narrow down a set of circumstances that will allow you to replicate the issue reliably and then ultimately find the cause.

Thanks

Jordan
