Android Question Okhttputils2 (v 2.96) - Android 4.4.2 - javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted

petr4ppc

Well-Known Member
Licensed User
Longtime User
Dear friends, please for help,

I am using Okhttputils2 (v 2.96)
B4A 11.20


In newer Android is everything OK
but
in Android 4.4.2 with SDK 19, I get this error:



I use this code and App crash here. I can not see the "***OK***" message in log". If I use https.....address in Internet Explorer, everything is OK.

B4X:
    Dim way as String = "https://www.xxxx.com/file.php"
    Dim j As HttpJob
    j.Initialize("", Me)
    j.Download(way)
    Wait For (j) JobDone(j As HttpJob)
    
    Log("***************** OK ********************" )

I found this thread with some advices , but it is only for SSL: B4A THREAD
It looks very similar.

Please, where I am doing mistake? Why in newer Android is everything ok and in old smart phone the app crashed?
Best regards
p4ppc
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…