使用Parse api时返回的KnoxVpnUidStorageknoxVpnSupported API值为false错误

时间:2016-02-11 11:47:43

标签: android parse-platform

嗨,我刚刚在Android中尝试使用parse Api。并在 logcat 中收到以下错误。

这是我的代码:

 ParseQuery<User> query = ParseQuery.getQuery("User");
            query.whereEqualTo("phone", phone);

            try {
                List<User> all = query.find();
                Log.v("Size of users are",all.size()+"");
                if (all.size() != 0) {
                    foundUser = true;
                    a = all.get(0);
                }
            } catch (ParseException e) {
                e.printStackTrace();
            }

这是我的logcat中的错误:

KnoxVpnUidStorageknoxVpnSupported API value returned is false
com.parse.ParseRequest$ParseRequestException: i/o failure
02-11 17:11:57.871 16766-17225/com.parse.starter W/System.err:     at com.parse.ParseRequest.newTemporaryException(ParseRequest.java:372)
02-11 17:11:57.871 16766-17225/com.parse.starter W/System.err:     at com.parse.ParseRequest$2.then(ParseRequest.java:198)
02-11 17:11:57.871 16766-17225/com.parse.starter W/System.err:     at com.parse.ParseRequest$2.then(ParseRequest.java:190)
02-11 17:11:57.871 16766-17225/com.parse.starter W/System.err:     at bolts.Task$14.run(Task.java:796)
02-11 17:11:57.871 16766-17225/com.parse.starter W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
02-11 17:11:57.871 16766-17225/com.parse.starter W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
02-11 17:11:57.871 16766-17225/com.parse.starter W/System.err:     at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:340)
02-11 17:11:57.871 16766-17225/com.parse.starter W/System.err:     at android.net.SSLCertificateSocketFactory.verifyHostname(SSLCertificateSocketFactory.java:241)

请帮我解决此问题。我在samsung s6设备上运行代码。

0 个答案:

没有答案