-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi Team,
For solving the timeout issue like this:
com.emarsys.predict.Error: An unknown error has occurred: java.net.SocketTimeoutException: timeout
at com.emarsys.predict.Session$TransactionTask.doInBackground(SourceFile:357)
at com.emarsys.predict.Session$TransactionTask.doInBackground(SourceFile:311)
at android.os.AsyncTask$2.call(AsyncTask.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:831)
Caused by: com.google.gson.JsonSyntaxException: java.net.SocketTimeoutException: timeout
at com.google.gson.Gson.fromJson(SourceFile:902)
at com.google.gson.Gson.fromJson(SourceFile:825)
at com.networkbench.agent.impl.instrumentation.NBSGsonInstrumentation.fromJson(SourceFile:106)
at com.emarsys.predict.Session$TransactionTask.doInBackground(SourceFile:349)
... 7 more
Caused by: java.net.SocketTimeoutException: timeout
at okio.Okio$3.newTimeoutException(SourceFile:210)
at okio.AsyncTimeout.exit(SourceFile:277)
at okio.AsyncTimeout$2.read(SourceFile:244)
at okio.RealBufferedSource.request(SourceFile:66)
at okio.RealBufferedSource.require(SourceFile:59)
at okio.RealBufferedSource.readHexadecimalUnsignedLong(SourceFile:284)
at com.squareup.okhttp.internal.http.e$c.c(SourceFile:454)
at com.squareup.okhttp.internal.http.e$c.read(SourceFile:435)
at okio.RealBufferedSource.read(SourceFile:45)
at okio.RealBufferedSource.exhausted(SourceFile:55)
at okio.InflaterSource.refill(SourceFile:101)
at okio.InflaterSource.read(SourceFile:62)
at okio.GzipSource.read(SourceFile:80)
at okio.RealBufferedSource$1.read(SourceFile:409)
at java.io.InputStreamReader.read(InputStreamReader.java:231)
at com.google.gson.stream.JsonReader.fillBuffer(SourceFile:1287)
at com.google.gson.stream.JsonReader.nextNonWhitespace(SourceFile:1325)
at com.google.gson.stream.JsonReader.consumeNonExecutePrefix(SourceFile:1567)
at com.google.gson.stream.JsonReader.doPeek(SourceFile:534)
at com.google.gson.stream.JsonReader.peek(SourceFile:425)
at com.google.gson.Gson.fromJson(SourceFile:883)
... 10 more
Will it help to change the server to predict.emarsys.cn for China client?
Best Regards,
Chaoqun Qiu