Start a new topic

Kinvey Ping Failed android 6.0

final Client mKinveyClient = new Client.Builder(this.getApplicationContext()).build();

mKinveyClient.ping(new KinveyPingCallback() {
public void onFailure(Throwable t) {
Log.e("TAG", "Kinvey Ping Failed", t);
}

public void onSuccess(Boolean b) {
Log.d("TAG", "Kinvey Ping Success");
}
}); this code runs android 4.2.2 and 4.1.0 but exists error for android 6.0; Kinvey Ping Failed
                                                                    com.kinvey.java.KinveyException: 
                                                                    REASON: The request failed.
                                                                    FIX: 
                                                                    EXPLANATION: com.kinvey.java.core.KinveyJsonResponseException: unknown


i tested on

 ubuntu 14.04 64 bit  open-jdk 1.7 android studio 1.5 

ubuntu 14.04 64 bit  open-jdk 1.7  android studio 2.0

ubuntu 14.04 64 bit  oracle-jdk-8  android studio 2.0

i have same problem.


I have tested this devices;


NOTE 3 5.0 gives error

NOTE 5.1.1 is runnig

S3 4.3 is runnig

LG G4 6.0 gives error

Samsung NOTE 8 WIFI TABLET 4.1.2 is running


Genymotion Emulators;


Custom Phone 4.2.2 is running

Custom Phone 6.0 is running

Samsung NOTE 3 4.3 is runnig






i am using ubuntu 14.04 64bit ,  open-jdk 1.7 , android studio 2.0(yesterday i updated, before 1.5.1) i tested on 


note3    5.0 -----> error

note 4   5.1.1 -----> run

s3 mini  4.3  -------> run

lg g4      6.0 --------> error

samsung note 8 wifi (tablet)  4.1.2 ---> run


genymotion emulators;


Samsung Galaxy Note3 4.3 API 18 ---> run

Custom Phone 4.2.2 API 17 ---> run

Custom Phone 6.0.0 API 23 ---> run


For LG4;



W/System.err: com.kinvey.java.KinveyException: 

W/System.err: REASON: The request failed.

W/System.err: FIX: 

W/System.err: EXPLANATION: com.kinvey.java.core.KinveyJsonResponseException: unknown

W/System.err: at com.kinvey.java.core.AbstractKinveyClientRequest.execute(AbstractKinveyClientRequest.java:420)

W/System.err: at com.kinvey.java.AbstractClient.pingBlocking(AbstractClient.java:196)

W/System.err: at com.kinvey.android.Client$Ping.executeAsync(Client.java:492)

W/System.err: at com.kinvey.android.Client$Ping.executeAsync(Client.java:485)

W/System.err: at com.kinvey.android.AsyncClientRequest.doInBackground(AsyncClientRequest.java:71)

W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:295)

W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)

W/System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)

W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

W/System.err: at java.lang.Thread.run(Thread.java:818)



-------------- RESPONSE --------------

                                                                          400 Bad request

                                                                          Cache-Control: no-cache

                                                                          Connection: close

                                                                          Content-Type: text/html

                                                                          X-Android-Received-Millis: 1461666082438

                                                                          X-Android-Response-Source: NETWORK 400

                                                                          X-Android-Selected-Protocol: http/1.0

                                                                          X-Android-Sent-Millis: 1461666082279



Login or Signup to post a comment