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

[mercedesme] Websocket Exception: Reason: {0} #18211

Open
joerg1985 opened this issue Feb 1, 2025 · 1 comment
Open

[mercedesme] Websocket Exception: Reason: {0} #18211

joerg1985 opened this issue Feb 1, 2025 · 1 comment
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@joerg1985
Copy link
Contributor

The Mercedes Me Account does show "Websocket Exception: Reason: {0}" and is kind of stuck in this state. The logs show the real issue [rcedesme.interna l.server.MBWebsocket] - onError Failed to upgrade to websocket: Unexpected HTTP Response Status Co de: 412 Precondition Failed

There is no way to reset the Account. Two weeks ago the refresh if the token failed and i had to delete Account from openhab and recreate it, now again.

Expected Behavior

The placeholder inside the log should be resolved. And there should be a way to reset the Account, e.g. like the Zigbee Binding does, this a switch hidden in advance settings of the thing.

Current Behavior

Possible Solution

See above

Steps to Reproduce (for Bugs)

Context

Your Environment

  • Version used: openHAB 4.3.2
    Release Build
  • Environment name and version (e.g. Chrome 76, Java 8, Node.js 12.9, ...):
  • Operating System and version (desktop or mobile, Windows 10, Raspbian Buster, ...):
@joerg1985 joerg1985 added the bug An unexpected problem or unintended behavior of an add-on label Feb 1, 2025
@joerg1985
Copy link
Contributor Author

This is not fixed with #18115 the PR does not handle this https://github.com/openhab/openhab-addons/blob/main/bundles/org.openhab.binding.mercedesme/src/main/java/org/openhab/binding/mercedesme/internal/server/MBWebsocket.java#L122

I am currently testing a fix for this and other issues related to this MBWebsocket class.

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

No branches or pull requests

1 participant