-
-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL handshake terminated #448
Comments
Hi,
|
I am also getting the same exception. here are the log of android:
|
I'm having the same issue and upgrading to 1.13.1 and 1.4.0 didn't solve the issue. It is working in the simulator and on iOS devices. |
This is possibly related to an OkHttp and Heroku not accepting TLS v1/v2 on older Android devices. |
@rogerhu I have add the suggested code in Parse-android-sdk 1.13.3 but no luck still getting the Exception. |
This is the same issue as #430 right? |
Yes, this both are same issues. |
Also you should know that you can force TLS v1.2 for Android 4.0 devices that don't have it enabled by default: This should be in the first line of your Application (before OkHttp initializes):
|
For TLS v1.2, you will need to bump your minimum to 4.1, which is when this version of TLS was added to Android. You then need to create an appropriate |
You shouldn't need to pass in a special OkHttpBuilder so long as the SSL Engine is initialized before Parse/OkHttp is initialized. |
rogerhu solution worked fo me on LG K10 Android 7.0 |
We now use OkHttp 3 by default and allow customization of the SSL setup if needed. |
Hi Guys, seek some helps on SSL issue :(
SDK Error :
SDK only work for Android SDK 5.0 and above. below than this version all throw with SSL handshake terminated.
Test case :
Phone : HTC ONE 4.2.2
i tested my own custom Http client to request my server and it's works
And also, i saw the SDK using Apache http clint if less than KITKAT. may i know any reason cant using HttpURLConnection?
Please help me guys :( Thanks!
PS : i clone repo and remove :
from ParseOkHttpClient and works :@
and i cant use repo codes due to my project need target sdk 23
The text was updated successfully, but these errors were encountered: