Im getting this error only with the android version 7.0 using Parse Android SDK.
With <7 and 7.1.1 its working nice, but with 7.0 the error is just I/O failure
retrieved but the query exception
Tried with parse-android 1.14.0
& 1.15.6
.
I have internet, because displaying a webview is working ok.
Any idea?
My parse query:
public static void getPatrocinadores(final APIResponseListener listener) {
ParseQuery<Patrocinador> parseQuery = ParseQuery.getQuery(API_PATROCINADOR);
parseQuery.whereEqualTo("visible", true);
parseQuery.findInBackground(new FindCallback<Patrocinador>() {
@Override
public void done(List<Patrocinador> objects, ParseException e) {
if (e == null) {
listener.onSuccess(objects);
} else {
listener.onError(e);
}
}
});
Interceptor log:
D/OkHttp: User-Agent: Parse Android SDK 1.15.6 (com.prueba.package/3) API Level 24
D/OkHttp: <-- HTTP FAILED: javax.net.ssl.SSLHandshakeException: Handshake failed
D/OkHttp: --> POST https://prueba.parse.com/1/classes/Patrocinador http/1.1