9

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.

asontu
  • 4,548
  • 1
  • 21
  • 29
hharry
  • 422
  • 1
  • 9
  • 21
  • 2
    @Harry:Please update your device time to current time.Hope it will work for you. – Pawan Gupta May 02 '13 at 11:23
  • possible duplicate of [Android: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: No peer certificate](http://stackoverflow.com/questions/27992740/android-oauth-signpost-exception-oauthcommunicationexception-communication-wit) – Luke Peterson Mar 08 '15 at 10:07

1 Answers1

0

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

:)

Community
  • 1
  • 1
Richardd
  • 956
  • 14
  • 27