-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[openhabcloud] reconnect on connection errors (#11153)
* [openhabcloud] reconnect on connection errors According to documentation (albeit for 2.x Socket IO version) [1], reconnection is responsibility of the user on connect_error events. [1] Lifecycle diagram in https://socketio.github.io/socket.io-client-java/socket_instance.html Signed-off-by: Sami Salonen <ssalonen@gmail.com> * [openhabcloud] Update Socket IO dependency to 1.0.1 Signed-off-by: Sami Salonen <ssalonen@gmail.com> * [openhabcloud] feature.xml updated also with socket io 1.0.1 Signed-off-by: Sami Salonen <ssalonen@gmail.com> * [openhabcloud] Re-connect manually on error events when not connected Signed-off-by: Sami Salonen <ssalonen@gmail.com> * [openhabcloud] less loud logging on retries Signed-off-by: Sami Salonen <ssalonen@gmail.com> * [openhabcloud] removing unnecessary conditional in logging Signed-off-by: Sami Salonen <ssalonen@gmail.com> * [openhabcloud] javadoc corrections and clarifications Signed-off-by: Sami Salonen <ssalonen@gmail.com>
- Loading branch information
Showing
3 changed files
with
114 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dcca9c0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on openHAB Community. There might be relevant details there:
https://community.openhab.org/t/solved-io-socket-2-difference-socket-instances-connect-to-2-different-cloud-servers-causing-internal-routing-confusion-within-oh3/137818/3