# Homey running out of connections with node-fetch?

**URL:** <https://community.homey.app/t/homey-running-out-of-connections-with-node-fetch/35379>\
**Category:** Developers\
**Created:** [October 2, 2020, 6:43pm UTC](https://community.homey.app/t/homey-running-out-of-connections-with-node-fetch/35379 "2020-10-02T18:43:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RoyB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/royb/32/16757_2.png) [@RoyB](https://community.homey.app/u/RoyB)\
**Post date:** [October 2, 2020, 6:43pm UTC](https://community.homey.app/t/homey-running-out-of-connections-with-node-fetch/35379/1 "2020-10-02T18:43:08Z")

</div>

I have just finished my work on the following app:

> **[rbrondgeest/homey-innova-ac](https://github.com/rbrondgeest/homey-innova-ac)**
>
> Homey app to control the Innova 2.0 airconditioners - rbrondgeest/homey-innova-ac

However, after a while, Homey seems to be unable to communicate with the REST interface of this device. This interface is still reachable from any other device in my network, so the problem lies with Homey.  
Also, rebooting homey solves the issue temporarily.

Could it be that homey is somehow running out of connections? I am using node-fetch, to connect to the AC from Homey.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 2, 2020, 7:10pm UTC](https://community.homey.app/t/homey-running-out-of-connections-with-node-fetch/35379/2 "2020-10-02T19:10:05Z")

</div>

Are you getting any errors, or are the connections timing out?

---

<div class="post-metadata">

**Author:** ![RoyB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/royb/32/16757_2.png) [@RoyB](https://community.homey.app/u/RoyB)\
**Post date:** [October 5, 2020, 8:22am UTC](https://community.homey.app/t/homey-running-out-of-connections-with-node-fetch/35379/3 "2020-10-05T08:22:47Z")

</div>

Hey Robert,

I am not able to reproduce it anymore. I think I took out the bug, whatever it was by tidying up some promise resolving.
