Home » Android » android – Communication with the service provider failed: No peer certificate in Twitter

android – Communication with the service provider failed: No peer certificate in Twitter

Posted by: admin June 15, 2020 Leave a comment

Questions:

I integrated the twitter API in my application for posting a message. It is generating an exception like this:

oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: No peer certificate

@Pawan’s comment of updating the device time to current time solved the issue.

How to&Answers:

Probably is a ssl certificate issue, no? Take a look Android SSL HttpGet (No peer certificate) error OR (Connection closed by peer) error

🙂