# Device service not connecting

**URL:** <https://community.orangeqs.com/t/device-service-not-connecting/73>\
**Category:** Q&A\
**Created:** [June 1, 2026, 7:29am UTC](https://community.orangeqs.com/t/device-service-not-connecting/73 "2026-06-01T07:29:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wiggert](https://avatars.discourse-cdn.com/v4/letter/w/3ec8ea/32.png) [@Wiggert](https://community.orangeqs.com/u/Wiggert)\
**Post date:** [June 1, 2026, 7:29am UTC](https://community.orangeqs.com/t/device-service-not-connecting/73/1 "2026-06-01T07:29:46Z")

</div>

I tried to restart my device service but it appears to have failed. The task manager shows it is stuck on “Connecting”, and the service logs show:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/orangeqs/original/1X/78c263d0399684aaa1a3523cadd1ccb81c02f73d.png)

Any easy fix I can do here that is not a full rebuild/restart? And how to avoid this in the future?

---

<div class="post-metadata">

**Author:** ![TimVroomans](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@TimVroomans](https://community.orangeqs.com/u/TimVroomans)\
**Post date:** [June 1, 2026, 2:20pm UTC](https://community.orangeqs.com/t/device-service-not-connecting/73/2 "2026-06-01T14:20:15Z")

</div>

I typically see this when a service init script runs into an error. Try running the init script in your own Python environment to quickly debug. Restart the service when the init script runs without raising any errors.

---

<div class="post-metadata">

**Author:** ![Wiggert](https://avatars.discourse-cdn.com/v4/letter/w/3ec8ea/32.png) [@Wiggert](https://community.orangeqs.com/u/Wiggert)\
**Post date:** [June 2, 2026, 7:29am UTC](https://community.orangeqs.com/t/device-service-not-connecting/73/3 "2026-06-02T07:29:06Z")

</div>

Thanks! It was indeed related to this, an import was failing.
