maybe someone has the time for:
See the Bug Ticket:
done
Hello,
I have the same problem with the SmartHome/J Amazon Echo Control Binding (version 4.3.1).
Is the Amazon Echo Control Binding (version 4.3.3) the same binding? Would a test with the binding from openHAB Distribution be useful?
Every hour the error message appears at the end of the post in the openhab.log. Can I help with troubleshooting / debugging?
Thank you,
Reinhard
2025-03-16 08:53:16.272 [WARN ] [rol.internal.util.HttpRequestBuilder] - Parsing json failed: false
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 8 column 1 path $
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:397) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:1227) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:1137) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:1047) ~[?:?]
at org.smarthomej.binding.amazonechocontrol.internal.util.HttpRequestBuilder$Builder.lambda$0(HttpRequestBuilder.java:265) ~[?:?]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646) [?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) [?:?]
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2147) [?:?]
at org.smarthomej.binding.amazonechocontrol.internal.util.HttpRequestBuilder$HttpResponseListener.onComplete(HttpRequestBuilder.java:364) [bundleFile:?]
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:218) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:210) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:481) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:461) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:424) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:374) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java:1188) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1560) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:208) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:148) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:80) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:131) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:172) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) [bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) [bundleFile:9.4.54.v20240208]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 8 column 1 path $
at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:393) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:386) ~[?:?]
... 36 more
I am using the Amazon Echo Control binding to have my Echo devices announce something via their Speak channel. I also see errors in the recent weeks, when I send a command to that channel.
In the log files there is now an error:
2025-03-25 08:45:19.624 [WARN ] [mazonechocontrol.internal.Connection] - Parsing json failed:
After that error comes an HTML file, which contains an Alexa login screen.
I already tried to logout and login again at https://myserver:myport/amazonechocontrol/
, but it did not help.
Simply logging in and out doesnāt help, however read:
Github answer
That worked for me!
[Ediit] I did not wait long enough! After some tume (1 houre) the errors started again.
I unfortunately have to report the case where the linked answer above has not resolved error logs like the following. These have occurred several times since following the linked steps.
<date time...> [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 8 col
umn 1 path $
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:397
) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:1227) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:1137) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:1047) ~[?:?]
at com.google.gson.Gson.fromJson(Gson.java:982) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.Connection.parseJson(Connection.java:981) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.Connection.getPlayer(Connection.java:1115) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.handler.EchoHandler.updateState(EchoHandler.java:843) ~[?:?]
at org.openhab.binding.amazonechocontrol.internal.handler.EchoHandler.lambda$2(EchoHandler.java:655) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304
) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 8 column 1 path $
at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:393) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:386
) ~[?:?]
... 14 more
<date time...> [WARN ] [mazonechocontrol.internal.Connection] - Parsing json failed:
<loads of HTML content>
same here. I reseted my amazon account connected everything new in OH.
After a few hours flooding of log file is back
I changed the 2FA to Amazon.de from SMS to Google Authenticator app, so I donāt get those annoying SMS any more.
I also tried a complete installation from scratch with Openhabian an OH 4.3.3, problem with those errors still exist.
In the new logviewer it looks like this
This comes every few minutes
same problem here, Alexa also doesn“t speak anymore on rulebased triggers.
edit: usin OH Ver. openHAB 4.3.3
Release Build
yes, I had that , too. It stopped when I changed my Amazon pw. Did not connect it with Openhab, now it makes more senseā¦
Same problem here
No quite sure.
But I received the last ālog floodingā 2025-04-08 02:46:44.826
After this Timestamp no further logās appeared in openhab.log
Everything working as expected, incl. TTS.
All Amazon Things are ONLINE.
Maybe Amazon changed something?
Will have a eye on itā¦
Same here, itās been over 24 hours without any errors.
Still no new log entries in openhab.log.
Seemās it was fixed on Amazon side