0

I am using Glide library for showing the image but in android 7.0 the image are not showing, "javax.net.ssl.SSLHandshakeException: Handshake failed" exception are coming.

Please give me some best solution for these exception. I have go through many sites but right answer not given in any site.

Ajeet Choudhary
  • 1,969
  • 1
  • 17
  • 41

2 Answers2

0

First make sure you have valid SSL configuration here.

If whole chain is proper then you can trust particular certificate at runtime.

Ref : Glide intercept network and here.

Nilesh Deokar
  • 2,975
  • 30
  • 53
0

For me it got resolved by using

android:usesCleartextTraffic="true"

in the manifest.

AndroidDev
  • 1,485
  • 2
  • 18
  • 33