-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homebridge hangs and stops responding #257
Comments
Was this issue addressed? It is still affecting v1.5.21. |
I don’t believe so . I asked ChatGPT to help me write some really hackey retry code to wrap around it to kludge a temporary fix |
I'm going to give this plugin a shot: Restart Plugin |
Good idea , my first hack was a daily restart of the service by crontab , but sometimes the service was left hung for a few hours then when I needed it |
homebridge-smartthings/src/platform.ts
Line 73 in 44894ec
If the code gets to this catch error it hangs the code and Homebridge until Homebridge is restarted.
Could there be a retry or continue logic here?
--
Issue logged with Homebridge homebridge/homebridge#3615
Homebridge will stop responding to inputs from HomeKit until it is rebooted.
The last log messages before hanging will be something similar from the Smartthings Plugin
[5/14/2024, 4:33:14 AM] [Smartthings Plug (IK)] Error getting devices from Smartthings: Error: getaddrinfo EAI_AGAIN api.smartthings.com
[5/14/2024, 4:33:14 AM] [Smartthings Plug (IK)] Could not load devices from Smartthings: undefined. Check your configuration
No more long messages after than until rebooted
The text was updated successfully, but these errors were encountered: