-
Notifications
You must be signed in to change notification settings - Fork 315
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
When an error occurs, watch will only reconnect once. #1227
Labels
Comments
@sukidesuka I'm try to reproduce it and got nothing. tests step:
|
Same with #1135 , but have not reproducer for it (: |
ping @sukidesuka |
ping @sukidesuka |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Versions
Describe the bug
When my internet keeps disconnecting, the watch will only reconnect once.
To Reproduce
Disconnecting the network connection, lasting for about 1 minute.
At this point, you will find that the watch is disconnected and fails to reconnect, and it will not continue to reconnect.
Expected behavior
The watch can be set to reconnect indefinitely when an onError event occurs.
Additional context
I found that in WatchImpl.java, if the reconnection fails, only a warning log will be printed and it will not continue to reconnect.
The text was updated successfully, but these errors were encountered: