Emulator : Cloud API ERROR

Hello,

We’ve configured the emulator and we were able to install and launch our app. Unfortunately, there is an error when the emulator tries to connect to the cloud ( e.g : to retrieve the plans) . Please find below the error details .

Many thanks for your help.

10-01 04:10:52.714 8545-8586/co.poynt.services D/CLOUD-API: ---- ERROR https://services-eu.poynt.net/token
10-01 04:10:52.715 8545-8586/co.poynt.services D/CLOUD-API: java.io.InterruptedIOException: timeout
at com.squareup.okhttp.internal.spdy.SpdyStream$SpdyTimeout.exitAndThrowIfTimedOut(SpdyStream.java:599)
at com.squareup.okhttp.internal.spdy.SpdyStream.getResponseHeaders(SpdyStream.java:142)
at com.squareup.okhttp.internal.http.SpdyTransport.readResponseHeaders(SpdyTransport.java:104)
at com.squareup.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:830)
at com.squareup.okhttp.internal.http.HttpEngine.access$200(HttpEngine.java:95)
at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:823)
at com.squareup.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:684)
at com.squareup.okhttp.Call.getResponse(Call.java:272)
at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:228)
at co.poynt.services.rest.PoyntRequestInterceptor.intercept(PoyntRequestInterceptor.java:134)
at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:225)
at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:199)
at com.squareup.okhttp.Call.execute(Call.java:79)
at retrofit.client.OkClient.execute(OkClient.java:53)
at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:326)
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240)
at java.lang.reflect.Proxy.invoke(Proxy.java:393)
at $Proxy9.grantToken(Unknown Source)
at co.poynt.services.processors.PoyntAuthProcessorImpl.grantToken(PoyntAuthProcessorImpl.java:785)
at co.poynt.services.tasks.token.GrantTokenTask.doInBackground(GrantTokenTask.java:40)
at co.poynt.services.tasks.token.GrantTokenTask.doInBackground(GrantTokenTask.java:20)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
10-01 04:10:52.715 8545-8586/co.poynt.services D/CLOUD-API: ---- END ERROR

Hi,
Can you confirm the device is connected to Internet?

Hi Deepak,

Yes, I confirm that the lap top used to launch the emulator is connected to internet.

Thanks for your help.
Hania

We need to verify the emulator has access to internet since the timeout exception usually occurs when the device is not able to connect to our servers.