Communication with the service provider failed: No peer certificate in Twitter
Asked Answered
P

1

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.

Plastered answered 2/5, 2013 at 8:22 Comment(2)
@Harry:Please update your device time to current time.Hope it will work for you.Queeniequeenly
possible duplicate of Android: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: No peer certificateParatuberculosis
R
0

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

:)

Ramrod answered 28/3, 2015 at 22:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.