# Unknown Status Codes

**URL:** <https://discourse.sensu.io/t/unknown-status-codes/2837>\
**Category:** Sensu Go\
**Created:** [March 21, 2022, 2:07pm UTC](https://discourse.sensu.io/t/unknown-status-codes/2837 "2022-03-21T14:07:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Itamar\_Shpak](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/itamar_shpak/32/563_2.png) [@Itamar\_Shpak](https://discourse.sensu.io/u/Itamar_Shpak)\
**Post date:** [March 21, 2022, 2:07pm UTC](https://discourse.sensu.io/t/unknown-status-codes/2837/1 "2022-03-21T14:07:44Z")

</div>

Hey all, after upgrading some windows plugins asset, I started to get unknown status code on most of windows servers checks (not all of them related to the plugin I upgraded).

 ![Screen Shot 2022-03-21 at 15.56.14](https://us1.discourse-cdn.com/flex016/uploads/sensu/original/1X/762b75dd811734510f935a18b9c46fc104090288.png)

Now when using rerun i sometimes get the check to work but the next check return to unknown status code like that -

 ![Screen Shot 2022-03-21 at 15.56.19](https://us1.discourse-cdn.com/flex016/uploads/sensu/original/1X/3198f551bc15a88d79545c0c0f9834957ef751c4.png)

Anyone has idea what can it be ? it happened on all windows servers with several checks, somewhat agent restart worked on one server but doesn’t help on others

UPDATE:  
In addition i found some weird logs in agent logs - read udp 127.0.0.1:8125: use of closed network connection

 ![Screen Shot 2022-03-21 at 17.57.48](https://us1.discourse-cdn.com/flex016/uploads/sensu/original/1X/60bc9469bdace4bf26b2ad3c02550296a7915fb1.jpeg)

---

<div class="post-metadata">

**Author:** ![aaronsachs](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/aaronsachs/32/47_2.png) [@aaronsachs](https://discourse.sensu.io/u/aaronsachs)\
**Post date:** [March 21, 2022, 7:28pm UTC](https://discourse.sensu.io/t/unknown-status-codes/2837/2 "2022-03-21T19:28:36Z")

</div>

Hey there. I’m not sure what the status code actually infers. Googling it seems to indicate that there could be an issue with the type of account that is running the script (e.g., `SYSTEM` vs `local admin`). It’d be helpful to know what version of Sensu you’re running (agent & backend). I don’t know that I’d be particularly concerned about the :8125 errors unless you’re using Statsd on Windows.

---

<div class="post-metadata">

**Author:** ![Itamar\_Shpak](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/itamar_shpak/32/563_2.png) [@Itamar\_Shpak](https://discourse.sensu.io/u/Itamar_Shpak)\
**Post date:** [March 22, 2022, 8:19am UTC](https://discourse.sensu.io/t/unknown-status-codes/2837/3 "2022-03-22T08:19:38Z")

</div>

Hey Thanks for replying 🙂  
Im not using the Statsd on windows so i will ignore those errors.  
regarding sensu version -  
backends - 6.6  
agents - 6.3-6.6

---

<div class="post-metadata">

**Author:** ![Itamar\_Shpak](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/itamar_shpak/32/563_2.png) [@Itamar\_Shpak](https://discourse.sensu.io/u/Itamar_Shpak)\
**Post date:** [March 22, 2022, 12:52pm UTC](https://discourse.sensu.io/t/unknown-status-codes/2837/4 "2022-03-22T12:52:18Z")

</div>

Looks like changing the user who run the service fix this.  
I changed service logon from local system to my user and now its running ok, strange
