SSL Exception when downloading html
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 326
- Avg merge
- 16h 22m
- Merged PRs (30d)
- 17
Description
Hey guys, I managed to receive this exception:
`javax.net.ssl.SSLProtocolException: Read error: ssl=0xd6ccfd88: Failure in SSL library, usually a protocol error
2020-04-16 19:46:07.404 1265-1382/com.lukasanda.aismobile W/System.err: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT (third_party/openssl/boringssl/src/crypto/fipsmodule/cipher/e_aes.c:1040 0xbe8f2c0b:0x00000000)
2020-04-16 19:46:07.404 1265-1382/com.lukasanda.aismobile W/System.err: error:1000008b:SSL routines:OPENSSL_internal:DECRYPTION_FAILED_OR_BAD_RECORD_MAC (third_party/openssl/boringssl/src/ssl/tls_record.cc:298 0xbe8f2c0b:0x00000000)
2020-04-16 19:46:07.404 1265-1382/com.lukasanda.aismobile W/System.err: at com.google.android.gms.org.conscrypt.NativeCrypto.SSL_read(Native Method)
2020-04-16 19:46:07.404 1265-1382/com.lukasanda.aismobile W/System.err: at com.google.android.gms.org.conscrypt.NativeSsl.read(:com.google.android.gms@200914040@20.09.14 (120700-300565878):3)
2020-04-16 19:46:07.404 1265-1382/com.lukasanda.aismobile W/System.err: at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(:com.google.android.gms@200914040@20.09.14 (120700-300565878):6)
2020-04-16 19:46:07.404 1265-1382/com.lukasanda.aismobile W/System.err: at okio.Okio$2.read(Okio.java:140)
2020-04-16 19:46:07.404 1265-1382/com.lukasanda.aismobile W/System.err: at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
2020-04-16 19:46:07.404 1265-1382/com.lukasanda.aismobile W/System.err: at okio.RealBufferedSource.read(RealBufferedSource.java:51)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at okhttp3.internal.http1.Http1ExchangeCodec$AbstractSource.read(Http1ExchangeCodec.java:389)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at okhttp3.internal.http1.Http1ExchangeCodec$FixedLengthSource.read(Http1ExchangeCodec.java:427)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at okhttp3.internal.connection.Exchange$ResponseBodySource.read(Exchange.java:286)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at okio.RealBufferedSource.read(RealBufferedSource.java:51)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at okio.ForwardingSource.read(ForwardingSource.java:35)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at retrofit2.OkHttpCall$ExceptionCatchingResponseBody$1.read(OkHttpCall.java:290)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at okio.RealBufferedSource.select(RealBufferedSource.java:100)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at okhttp3.internal.Util.bomAwareCharset(Util.java:467)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at okhttp3.ResponseBody.string(ResponseBody.java:181)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at retrofit2.converter.scalars.ScalarResponseBodyConverters$StringResponseBodyConverter.convert(ScalarResponseBodyConverters.java:30)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at retrofit2.converter.scalars.ScalarResponseBodyConverters$StringResponseBodyConverter.convert(ScalarResponseBodyConverters.java:26)
2020-04-16 19:46:07.405 1265-1382/com.lukasanda.aismobile W/System.err: at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:227)
2020-04-16 19:46:07.407 1265-1382/com.lukasanda.aismobile W/System.err: at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:142)
2020-04-16 19:46:07.407 1265-1382/com.lukasanda.aismobile W/System.err: at okhttp3.RealCall$AsyncCall.execute(RealCall.java:174)
2020-04-16 19:46:07.407 1265-1382/com.lukasanda.aismobile W/System.err: at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
2020-04-16 19:46:07.407 1265-1382/com.lukasanda.aismobile W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
2020-04-16 19:46:07.407 1265-1382/com.lukasanda.aismobile W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
2020-04-16 19:46:07.407 1265-1382/com.lukasanda.aismobile W/System.err: at java.lang.Thread.run(Thread.java:919)`
which traces to here: at com.google.android.gms.org.conscrypt.NativeCrypto.SSL_read(Native Method) Do you have any ideas how to fix this ?
Contributor guide
Assessment
This issue has not been assessed yet.