I have three issues when I use okhttp to get content from these web sites:
http://www.wp.com has error with: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
http://www.macys.com has error with: java.net.ProtocolException: Too many follow-up requests: 21
http://www.vk.me has error with: javax.net.ssl.SSLPeerUnverifiedException: Hostname www.vk.me not verified: certificate: sha256/Sx09coMBYByu6GDlS0E6daYLDVLydbmJjFNkTANfSg4= DN: CN=.vk.com, OU=Domain Control Validated subjectAltNames: [.vk.com, vk.com]
UPDATED at 2016/06/12:
- http://www.wordpress.com has error with: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
How to fix above issues 1-4? thanks all!