OpenEPaperLink / Home_Assistant_Integration

Home assistant Integration for the OpenEPaperLink project
Apache License 2.0
133 stars 32 forks source link

"Integration Crashed" with little more information #69

Closed psfales closed 6 months ago

psfales commented 7 months ago

Describe the bug My tags stopped updating, so I looked at the logs. The only thing I saw was:

609282023-12-10 14:56:00.150 INFO (MainThread) [custom_components.open_epaper_link] Called entity_id: open_epaper_link.000020b993188534
609292023-12-10 14:56:00.269 INFO (MainThread) [homeassistant.components.automation.ping_watchdog] Ping Watchdog: Running automation actions
609302023-12-10 14:56:00.269 INFO (MainThread) [homeassistant.components.automation.ping_watchdog] Ping Watchdog: Executing step call service
609312023-12-10 14:56:16.564 INFO (Thread-6 (establish_connection)) [websocket] tearing down on exception maximum recursion depth exceeded
609322023-12-10 14:56:16.566 ERROR (Thread-6 (establish_connection)) [websocket] error from callback <bound method Hub.on_close of <custom_components.open_epaper_link.hub.Hub object at 0x64c769b0>>: maximum recursion depth exceeded

The first three messages are a normal call to script that updates the tag. The next two messages are the only messages that seem to be related. That is follow by 141 instances of:

609332023-12-10 14:56:16.568 ERROR (Thread-6 (establish_connection)) [custom_components.open_epaper_link.hub] Integration crashed, this should never happen. It will not reconnect
609342023-12-10 14:56:16.568 ERROR (Thread-6 (establish_connection)) [custom_components.open_epaper_link.hub] Integration crashed, this should never happen. It will not reconnect
609352023-12-10 14:56:16.569 ERROR (Thread-6 (establish_connection)) [custom_components.open_epaper_link.hub] Integration crashed, this should never happen. It will not reconnect
609362023-12-10 14:56:16.570 ERROR (Thread-6 (establish_connection)) [custom_components.open_epaper_link.hub] Integration crashed, this should never happen. It will not reconnect
609372023-12-10 14:56:16.572 ERROR (Thread-6 (establish_connection)) [custom_components.open_epaper_link.hub] Integration crashed, this should never happen. It will not reconnect
609382023-12-10 14:56:16.573 ERROR (Thread-6 (establish_connection)) [custom_components.open_epaper_link.hub] Integration crashed, this should never happen. It will not reconnect
609392023-12-10 14:56:16.573 ERROR (Thread-6 (establish_connection)) [custom_components.open_epaper_link.hub] Integration crashed, this should never happen. It will not reconnect
609402023-12-10 14:56:16.574 ERROR (Thread-6 (establish_connection)) [custom_components.open_epaper_link.hub] Integration crashed, this should never happen. It will not reconnect
609412023-12-10 14:56:16.574 ERROR (Thread-6 (establish_connection)) [custom_components.open_epaper_link.hub] Integration crashed, this should never happen. It will not reconnect

To Reproduce Seems to be happening every day or so, but I'm not aware of anything in particular that triggers it

Expected behavior Integration should not crash

Additional context When I went to the integrations page and reloaded the integration, it appears to start an run normally. (At least for a day or so)

jonasniesner commented 6 months ago

I think this also gets fixed with 5104996 , please reopen if this still occurs after the update