Skip to content
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

[androidtv] Fixes log flooding from protocol error #15252

Merged
merged 1 commit into from Jul 17, 2023

Conversation

morph166955
Copy link
Contributor

As seen in #15153 when the GoogleTV protocol stack has an unrecoverable error it causes a loop of login/fail/repeat. These errors are unrecoverable by the end user and require developer intervention. Rather than run up the CPU and flood the log, we need to take that thing offline completely. This triggers the handler to dispose entirely when that message comes in to avoid an endless loop.

To note, this should NOT close #15153, this only fixes the log flooding issue, not the actual issue that caused the failure in the first place.

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lolodomo lolodomo added the bug An unexpected problem or unintended behavior of an add-on label Jul 17, 2023
@lolodomo lolodomo merged commit ca4d332 into openhab:main Jul 17, 2023
3 checks passed
@lolodomo lolodomo added this to the 4.0 milestone Jul 17, 2023
@morph166955 morph166955 deleted the androidtv-logflood branch July 17, 2023 11:33
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[androidtv] googletv.GoogleTVMessageParser GoogleTV Error Message
2 participants