Aaron
December 2, 2015, 5:58am
1
I’m getting this on 2 different phones, with different logins… everything worked perfectly for well over a year. My Vera is not throwing any errors - I’ve tried rebooting the Vera several times too.
This happens when I’m on myWifi LAN or Internet
I have Imperihome installed and don’t have the problem with that app.
Anyone know how to troubleshoot this?
thx
Aaron
December 2, 2015, 6:27am
2
I figured this out…
I have always had about a 20-30% failure rate (meaning something didn’t go right) when manually uploading ANY large set of files under Apps \ Develop.
About a week ago I manually uploaded a version of Wink Connect (has a ton of files). I never got any errors in Vera or Imperihome… but Authomation threw “received invalid json response” when either local (wifi lan) or remote (Internet).
Today I manually uploaded 0.20.20 and instantly the error in Autohomation is gone.
I’m sure this is an issue with Authomation interacting with Vera and not handling error (likely from a corrected file that was uploaded).
Just be aware that manual uploads often fail and/or corrupt files.
gibby
August 24, 2017, 4:08pm
3
Thanks! I had this same issue. I uninstalled the Wink App(0.26) and my issue went away.
gibby
August 24, 2017, 5:00pm
4
I have narrowed it down.
I am able to install Wink app(0.26) configure it, after devices are created, I get the invalid json response.
I delete the 2 devices created from the ring pro doorbell and the error goes away.
I resync under setup for the Wink device, it creates the devices again, and I get the invalid json response again.
From the debug of AutHomation, I see the below, which leads me to believe some string is empty when the 2 devices are created.
08-24 11:49:12.179 D/AutHomation( 4937): ConnectionUtilities -> mmsConnectionURL(): url: http://x.x.x.x:3480
08-24 11:49:12.179 D/AutHomation( 4937): GetDataService -> GetData() -> getData(): getting partial data.
08-24 11:49:12.211 D/AutHomation( 4937): ConnectionUtilities -> retrieveStream(): opening connection
08-24 11:49:12.251 D/AutHomation( 4937): ConnectionUtilities -> retrieveStream(): HTTP response: 200
08-24 11:49:12.319 D/AutHomation( 4937): GetDataService -> GetData() -> getData(): getting full data.
08-24 11:49:12.326 D/AutHomation( 4937): ConnectionUtilities -> retrieveStream(): opening connection
08-24 11:49:12.353 D/AutHomation( 4937): ConnectionUtilities -> retrieveStream(): HTTP response: 200
08-24 11:49:12.485 D/AutHomation( 4937): GetDataService -> GetData() -> parseFullData()
08-24 11:49:12.506 W/System.err( 4937): com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: empty String
08-24 11:49:12.506 W/System.err( 4937): at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:232)
08-24 11:49:12.506 W/System.err( 4937): at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:222)
08-24 11:49:12.506 W/System.err( 4937): at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
08-24 11:49:12.507 W/System.err( 4937): at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
08-24 11:49:12.507 W/System.err( 4937): at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
08-24 11:49:12.507 W/System.err( 4937): at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
08-24 11:49:12.507 W/System.err( 4937): at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
08-24 11:49:12.507 W/System.err( 4937): at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
08-24 11:49:12.507 W/System.err( 4937): at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
08-24 11:49:12.507 W/System.err( 4937): at com.google.gson.Gson.fromJson(Gson.java:795)
08-24 11:49:12.507 W/System.err( 4937): at com.google.gson.Gson.fromJson(Gson.java:761)
08-24 11:49:12.507 W/System.err( 4937): at com.google.gson.Gson.fromJson(Gson.java:710)
08-24 11:49:12.507 W/System.err( 4937): at com.google.gson.Gson.fromJson(Gson.java:682)
08-24 11:49:12.507 W/System.err( 4937): at com.garrettpower.authomationhd.service.GetDataService$GetData.parseFullData(GetDataService.java:1041)
08-24 11:49:12.507 W/System.err( 4937): at com.garrettpower.authomationhd.service.GetDataService$GetData.getData(GetDataService.java:942)
08-24 11:49:12.507 W/System.err( 4937): at com.garrettpower.authomationhd.service.GetDataService$GetData.doInBackground(GetDataService.java:347)
08-24 11:49:12.507 W/System.err( 4937): at com.garrettpower.authomationhd.service.GetDataService$GetData.doInBackground(GetDataService.java:316)
08-24 11:49:12.507 W/System.err( 4937): at android.os.AsyncTask$2.call(AsyncTask.java:305)
08-24 11:49:12.507 W/System.err( 4937): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-24 11:49:12.507 W/System.err( 4937): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
08-24 11:49:12.507 W/System.err( 4937): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-24 11:49:12.507 W/System.err( 4937): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-24 11:49:12.507 W/System.err( 4937): at java.lang.Thread.run(Thread.java:761)
08-24 11:49:12.507 W/System.err( 4937): Caused by: java.lang.NumberFormatException: empty String
08-24 11:49:12.507 W/System.err( 4937): at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1071)
08-24 11:49:12.508 W/System.err( 4937): at java.lang.Double.parseDouble(Double.java:547)
08-24 11:49:12.508 W/System.err( 4937): at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:599)
08-24 11:49:12.508 W/System.err( 4937): at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:230)
08-24 11:49:12.508 W/System.err( 4937): ... 22 more
gibby
August 24, 2017, 5:05pm
5
Ok, I have narrowed it down further, if I delete just the device that was created for the ring pro button, it starts working.
Ring Pro gets 2 devices created, 1 for the button being pressed and 1 for detecting motion.