airbnb / lottie-android

Render After Effects animations natively on Android and iOS, Web, and React Native
http://airbnb.io/lottie/
Apache License 2.0
35.03k stars 5.41k forks source link

NetworkFetcher.java line 85 :: com.airbnb.lottie.network.NetworkFetcher.fetchFromNetwork Error #2075

Closed vivekojha1108 closed 2 years ago

vivekojha1108 commented 2 years ago

It is crashing all the time and showing me is Crashlytics. It seems some internal package issue. Please solve it or show some way how to resolve it.

Fatal Exception: java.lang.IllegalStateException Unable to parse composition


Caused by java.lang.IllegalArgumentException Read error: ssl=0x753c382808: Failure in SSL library, usually a protocol error error:100000d7:SSL routines:OPENSSL_internal:SSL_HANDSHAKE_FAILURE (external/boringssl/src/ssl/ssl_lib.cc:988 0x7539278f3f:0x00000000)


Please give some solution.

gpeal commented 2 years ago

You'll want to add a failure listener on your LottieAnimationView to handle network failures. Alternatively, you can replace the built in networking pipeline (which is basic, at best) with your own LottieConfig set here

gopalawasthi123 commented 1 year ago

@gpeal Add failure listener still this issue persists

animationView.setFailureListener{ it.logThrowableException() }