Openhab:8080/rest/items Amazon Echo Control Binding

Good evening all,

I am running Openhab 2.5.0~S1496-1 on a Raspbery Pi 3+ and SSD as primary storage, and have had no issues for a while :grinning: but all of a sudden my HAB Panel has started to state:

“Connection lost! Trying to reconnect…”

After some initial investigations it appears that the call to <my_openhab_ip>:8080/rest/items is failing. Trying to call this directly (just using a web browser) the full json is sometimes returned, but more often than not it returns just:

{"error":{"message":"GET url \u0027\\u0027 failed: Bad Request","http-code":500,"exception":{"class":"org.openhab.binding.amazonechocontrol.internal.HttpException","message":"GET url \u0027\\u0027 failed: Bad Request","localized-message":"GET url \u0027\\u0027 failed: Bad Request"}}}

The Amazon Echo Control Binding has been installed from PaperUI (binding-amazonechocontrol - 2.5.0.SNAPSHOT) and I am able to check the account via http://<my_openhab_ip>:8080/amazonechocontrol/account1 and it correctly shows that the account is logged in and also shows all my devices. I am also able to control all of these devices correctly from within OpenHAB.

Now the obvious question is ‘what have you changed recently’ and ‘can you undo those changes’ however I have to confess that I can’t remember what I’ve done!!

My question to you all is what are my next steps in investigating and (hopefully) solving this issue? Unfortunately I use the binding, so uninstalling it and forgetting about it is not an option.

Any pointers would be greatly received!!

1 Like

My first step would be to remove the amazon echo control binding and verify things return to normal, this will help in figuring out if the issue is in the core of OH or a binding. If it resolves and things break again, then you know the issue is with the binding. - Yep, that does sound like the most obvious way forward.

Have uninstalled the binding and HABPanel is performant and has no issues.
Have made numerous calls to <my_openhab_ip>:8080/rest/items and the full JSON reply is being returned as one would expect; so at the moment it appears that the issue might lie with the Binding (or my setup with the Binding).

Although that now means certain items will not work I will leave the Binding uninstalled and monitor for a while to verify that it’s not just fluke that the symptoms have gone away.

Next question is: Anyone else seeing similar symptoms with the Amazon Control Binding? If only using Paper UI or BASIC UI the symptoms do not seem to effect these (but it can be seen in the Openhab Log Viewer).

Consider this post closed. Uninstalling the binding has cured the issues seen.

Downloaded beta 2.5 (3) and placed in the addons folder - Issue dos not exist with this version[quote=“dheneghan, post:4, topic:64191, full:true”]
Consider this post closed. Uninstalling the binding has cured the issues seen.