openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.9k stars 3.59k forks source link

[shelly] Wall Display Authentication not working as of 4.2.1 #17414

Open mmatuska opened 2 months ago

mmatuska commented 2 months ago

When password authentication is configured on the Wall Display, I get the following error:

Unable to connect to device - java.lang.IllegalArgumentException: Unsupported Auth type/algorithm requested by device(class java.lang.IllegalArgumentException)

This is the same as in previous versions.

lsiepel commented 2 months ago

Could you list your used openHAB version and possibly a debug log providing a little bit more of the details and or stacktrace of this error?

mmatuska commented 2 months ago

The OpenHAB version is 4.2.1

2024-09-13 16:42:27.168 [DEBUG] [shelly.internal.ShellyHandlerFactory] - Thing handler for uid shelly:shellywalldisplay:0008228afe0a added, total things = 25
2024-09-13 16:42:29.170 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellywalldisplay-0008228afe0a: Using default userId admin from binding config
2024-09-13 16:42:29.170 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellywalldisplay-0008228afe0a: Config: Device address=10.X.X.X, HTTP user/password=admin/***, update interval=60
2024-09-13 16:42:29.170 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellywalldisplay-0008228afe0a: Start initializing for thing Display spalna, type shellywalldisplay, Device address 10.X.X.X, Gen2: true, isBlu: false, alwaysOn: true, hasBattery: false, CoIoT: false
2024-09-13 16:42:29.315 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellywalldisplay-0008228afe0a: Connect Rpc Socket (discovery = false)
2024-09-13 16:42:29.402 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellywalldisplay-0008228afe0a: Closing Rpc API (socket is connected, discovery=false)
2024-09-13 16:42:29.402 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellywalldisplay-0008228afe0a: Disconnect Rpc Socket
2024-09-13 16:42:29.403 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellywalldisplay-0008228afe0a: WebSocket connection closed, status = 1006/Disconnected
2024-09-13 16:42:29.403 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellywalldisplay-0008228afe0a: Closing Rpc API (socket is disconnected, discovery=false)
2024-09-13 16:42:29.403 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellywalldisplay-0008228afe0a: Update status job started, interval=20*3=60sec.
2024-09-13 16:42:31.023 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellywalldisplay-0008228afe0a: Stopping Thing
2024-09-13 16:42:31.023 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellywalldisplay-0008228afe0a: Shutting down
2024-09-13 16:42:31.023 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellywalldisplay-0008228afe0a: Shelly statusJob stopped
2024-09-13 16:42:31.024 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellywalldisplay-0008228afe0a: Shutting down
mmatuska commented 2 months ago

How can I provide a detailed stacktrace, what do I need to change in the openhab console in regards of logging? I have only tried `log:set DEBUG org.openhab.binding.shelly

lsiepel commented 2 months ago

How can I provide a detailed stacktrace, what do I need to change in the openhab console in regards of logging? I have only tried `log:set DEBUG org.openhab.binding.shelly

This should be enough. Unfortunately I don’t see anything in the log that corresponds with the error you listed. @markus7017 is very experienced with this binding and can hopefully look into this issue.

mmatuska commented 1 week ago

@markus7017 ping?