-
Notifications
You must be signed in to change notification settings - Fork 12
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
"No route to host" when hub is lost #9
Comments
We need to catch some sort of OSError, maybe handle the network exception here: Line 397 in e6e5786
I guess this is a retry'able error :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@echoromeo, I have rewritten the reconnect logic a bit, and started catching the OSError you were seeing. I cannot reproduce the "No route to host" by playing with network connections, could you check the dev_better_reconnect_stability branch, and see if that solves the problem? |
@capelevy nice! will do |
Unfortunately I still get the same "No route to host". It looks like I will have to set up the dev environment and get some more detailed debug output. |
I get this error message when testing overnight in Home Assistant.
I guess this happens when the hub restarts:
Catch this exception as well?
The text was updated successfully, but these errors were encountered: