Why I get SSLProtocolException in emulator?

0

In chrome inspect I get this error code when i call an api endpoint

javax.net.ssl.SSLProtocolException: Read error: ssl=0xcc1a0440: Failure in SSL library, usually a protocol error error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT (external/boringssl/src/crypto/fipsmodule/cipher/e_aes.c:1314 0xdc236dc3:0x00000000) error:1000008b:SSL routines:OPENSSL_internal:DECRYPTION_FAILED_OR_BAD_RECORD_MAC (external/boringssl/src/ssl/tls_record.cc:281 0xdc236dc3:0x00000000)

The intresting thing is that, when i run the application again, i get more same error code. But If i run the application in physical device, i don't get this errors.

So, whats wrong? I don't post the code, because i don't know which part is needed, if someone which part of code is required, i will update the post.

android
kotlin
asked on Stack Overflow Aug 31, 2020 by bandy

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0