When i run api and getting error HTTP FAILED: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
I have generated signed apk also but still showing error.
Asked
Active
Viewed 223 times
0

Arpit Singh
- 1
- 3
-
This is something related to your server end. What is the response code you are getting? Tell your backend person to install the correct certificates on the server. – Prajwal Waingankar Nov 10 '20 at 10:38
-
I am not getting any response. – Arpit Singh Nov 10 '20 at 10:40
-
Please have a look to your internet connectivity – Deepak Shukla Nov 10 '20 at 10:41
-
internet connectivity is prefect – Arpit Singh Nov 10 '20 at 10:43
-
Try disabling SSL certificate. Here go through this. https://stackoverflow.com/questions/37686625/disable-ssl-certificate-check-in-retrofit-library – Akshat Rawat Nov 10 '20 at 10:45
-
I am using SSL on my site. – Arpit Singh Nov 10 '20 at 10:47
-
Hit the api in postman and check the response ...else check logs in studio for response. – Prajwal Waingankar Nov 10 '20 at 11:11
-
@PrajwalWaingankar it's working in postman – Arpit Singh Nov 10 '20 at 11:32
-
Kindly share your api link here that you are hitting in postman. – Prajwal Waingankar Nov 10 '20 at 11:53