Problems with Estimote Beacons Android

1

If someone has worked with Beacons Estimote, maybe you can support me. I need to activate the Analytics service, so I use the following code in my onCreate method:

EstimoteSDK.initialize(this, "Aquí va mi AppId", "Aquí va mi AppToken");
EstimoteSDK.enableMonitoringAnalytics(true);

And the answer I receive in the log is the following:

E/EstimoteSDK: com.estimote.sdk.cloud.internal.analytics.AnalyticsManager$2.failure:260 Unable to obtain owned devices for Analytics
           com.estimote.sdk.exception.EstimoteServerException: 503 Service Unavailable
               at com.estimote.sdk.cloud.internal.InternalEstimoteCloud$7.failure(InternalEstimoteCloud.java:467)
               at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.CallbackRunnable$2.run(CallbackRunnable.java:53)
               at android.os.Handler.handleCallback(Handler.java:746)
               at android.os.Handler.dispatchMessage(Handler.java:95)
               at android.os.Looper.loop(Looper.java:148)
               at android.app.ActivityThread.main(ActivityThread.java:5443)
               at java.lang.reflect.Method.invoke(Native Method)
               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
            Caused by: com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.RetrofitError: 503 Service Unavailable
               at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:387)
               at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.RestAdapter$RestHandler.access$000(RestAdapter.java:219)
               at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.RestAdapter$RestHandler$1.obtainResponse(RestAdapter.java:277)
               at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.CallbackRunnable.run(CallbackRunnable.java:42)
               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
               at com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.Platform$Android$2$1.run(Platform.java:134)
               at java.lang.Thread.run(Thread.java:818)

Thank you in advance!

    
asked by Sergio García 23.02.2017 в 23:54
source

1 answer

1

The error message defines the problem:

  

Caused by:   com.estimote.sdk.repackaged.retrofit_v1_9_0.retrofit.RetrofitError:   503 Service Unavailable

Generally speaking, the error indicates that the service you are trying to obtain is not available.

But in this case working with Estimote , there may be other 2 things:

  • You are not properly authenticated and for that reason you do not access the url.
  • Check that you have no problems when working on a firewall and do not allow you to access the url.
answered by 24.02.2017 / 18:24
source