meichthys / uptime_kuma

Uptime Kuma HACS integration
105 stars 24 forks source link

Uptime Kuma integration loses connection to uptime-kuma #76

Closed psyciknz closed 7 months ago

psyciknz commented 10 months ago

Occasionally I see that the integration has 0 devices and entities. When it's lost connection to uptime-kuma for whatever reason - maybe a timeout.

So i periodically have to reload the integration from the integrations page. Wonder if the verify connection as part of the integration can be made more robust....or if theres a way the integration can report no devices, so that it could be reloaded via automation.

kevinsaucier commented 10 months ago

Just piling on that I'm seeing the same behavior but, as far I can tell, I actually seem to have to restart HA in order to get the monitors back. I may be losing/regaining connectivity and never noticing but, whenever I notice, a simple restart of the integration doesn't resolve the issue.

meichthys commented 10 months ago

Unfortunately i have nothing to go on to debug this since my instance is working completely fine: image

Some logs showing the connection errors may help.

kevinsaucier commented 10 months ago

@meichthys Appreciate the response. I just updated HA to the latest release this morning so I'll keep an eye out for this issue and grab some debug logs when/if I see it.

meichthys commented 7 months ago

Closing this for now. If this is still an issue. Please provide some logs for further investigation.