I am facing a very strange error suddenly. I am trying to add a new core using my Android Phone (Nexus 5 running on OS v4.4.4), but I am not able to do it. Its successfully passing the wifi credentials to the spark-core (as the RBG LED is detecting that its connected to spark server) but after that its not getting any response, i think and its going to the “No Core Found” screen always.
I have tried to add the core from IOS App using my account and its working fine.
Before updating my Nexus 5 to Kitkat 4.4.4, I was able to add core successfully. But, now its generating an erro.
When I did debug my custom build app I am getting the below exceptions -
E/SimpleSparkApiService﹕java.io.FileNotFoundException: https://api.spark.io:443/v1/devices?access_token=<#access_token>
E/SimpleSparkApiService﹕ Error trying to make POST request
E/ApiFacade﹕ ERROR: org.json.JSONException: End of input at character 0 of
E/ApiFacade﹕ Bad JSON response trying to get the IDs of cores which weren’t heard from via mDNS/CoAP
Would anyone please help me to fix this issue. So I need to add any kind of permission in Android app for this.
I am even facing the same problem with the Spark Core app in Google PlayStore.
Yah, I am still facing this error. I have tried logging out and re-installing the app, but no progress so far.
But, the interesting thing is, when I am changing my wifi router and trying to add core, its working fine. So, I am facing this error with my TP-Link TD-W8968 router. But, the error again surprisingly coming only in Android app but not in IOS app. I am not able to figure out why the error is coming due to router and only in Android app. Because, IOS app is working fine in the TP-Link network. Is there any particular settings/configuration I need to do in my router.
I’m guessing if you’ve claimed your core previously, and it works in one app and not the other, that you logged in with the wrong email address on one of the devices. Can you please try logging out of both and logging back in with your email address, just to double-check that there weren’t any typos? We see these kinds of typos often, so there’s a good chance that this is the issue.
I have logged in with the correct Email and Pass. Actually, I have removed the core from the online build website from my account and then tried to add the same core again using the same credentials. So, I don’t think this issue is because of typos.
Ahh, okay, extra information is helpful! I didn’t know you had removed it from your account. I’m noticing now that you’re testing on a Nexus 5. Other community members have had similar problems with the Nexus 5. ( https://community.spark.io/t/nexus-5-auto-config-timeout/4845 ). I suspect the issue is that the Nexus 5 really wants to be connected to your access point over the 5 Ghz band. Can you try disabling the 5 Ghz 802.11n band on your access point and trying it again?