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,378
  • 1
  • 18
  • 27
hharry
  • 422
  • 1
  • 8
  • 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
  • @Pawan: Thanks a lot for suggestion...I will try it. – hharry May 02 '13 at 11:26
  • @Pawan, thanks, it worked for me. – gorodezkiy Oct 02 '13 at 23:10
  • 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
  • 852
  • 11
  • 25