FacePlusPlus / facepp-java-sdk

Face++ SDK for Java, can be used in Android project.
http://faceplusplus.com/
179 stars 117 forks source link

Validity Check Failed #8

Open AbdullahRasheed opened 5 years ago

AbdullahRasheed commented 5 years ago

Hello! I have just started to use this API, and i looks very nice. I have made a test program based on your demos and documentation. There is a slight problem however. Whenever I try to use result = httpRequests.detectionDetect(postParameters); (result is FaceppResult and postParameters are the PostParameters) I get an error saying: com.facepp.error.FaceppParseException: error : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed

I still havent been able to find a fix, so if any of you know the reason behind this, I would love to know. Thanks!