algoliasearch-client-android icon indicating copy to clipboard operation
algoliasearch-client-android copied to clipboard

Problem with SSL on Android 4.4 devices

Open kenumir opened this issue 4 years ago • 1 comments

Describe the bug 🐛 On android 4.4 search api has problems with SSL while query API

Environment:

  • OS: android
  • Version 4.4
  • Device: Motorola Moto E

Stack trace:

SearchEngineAlgoliaImpl: query e=com.algolia.search.saas.AlgoliaException: All hosts failed: [javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x556e5e78: Failure in SSL library, usually a protocol error
    error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x55867df4:0x00000000), javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x58bedf58: Failure in SSL library, usually a protocol error
    error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x55867df4:0x00000000), javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x57c5fca0: Failure in SSL library, usually a protocol error
    error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x55867df4:0x00000000), javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x556e5e78: Failure in SSL library, usually a protocol error
    error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x55867df4:0x00000000)]
com.algolia.search.saas.AlgoliaException: All hosts failed: [javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x556e5e78: Failure in SSL library, usually a protocol error

kenumir avatar Mar 27 '21 13:03 kenumir

Hello @kenumir,

Your device doesn't seem to support TLS v1.2. You can attempt to patch it using this documentation.

aallam avatar Apr 07 '21 08:04 aallam