martijndierckx/homebridge-hydrawise

"AxiosError: read ETIMEDOUT" errors

Opened this issue · 0 comments

DTxAg commented

I tend to get a lot of "AxiosError: read ETIMEDOUT" errors in my Homebridge log when using the Hydrawise plugin.

I'm wondering if it might get fixed as suggested here (https://stackoverflow.com/questions/63064393/getting-axios-error-connect-etimedout-when-making-high-volume-of-calls). It looks like they suggest:

  • including "keepAlive: true" within the "httpsAgent: new https.Agent" function call used to create an axios instance
  • setting the "timeout" parameter to an actual value like 60000 in the axios creation code.

I don't know if this has been discussed before, and it may not be important as the error doesn't actually seem to affect the functionality of the plugin. I can't code to save my life, so I just post this in case it helps.