-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Samsung S8/8+ SocketTimeoutException SSL handshake timed out #3699
Comments
Hi, We have the same issue reported by users that can't download application content. Problem started when we updated library from version: 3.4.2 to 3.9.0 Currently occured on devices: LG X power Android version 4.3, 5.11 , 60, 6.11 , 7.0 Samsung S7 Android version 4.3, 5.11, 6.0, 6.11, 7.0 and also on: Huawei P8 Lite Android version 4.3, 5.11, 6.0, 6.0.1, 7.0 RETROFIT_VERSION = "2.3.0" OS Version: 7.0Device: Galaxy S7RAM Free: 29.2%Disk Free: 56.8%Crashed: -- Non-fatal Exception: pl.aaa.aaa.internal.ImpossibruException: Error on download list for connection Connectivity{state=CONNECTED, type=0, name='MOBILE'} #0. Crashed: ConnectivityManager: 0 0 0x0000000000000000 Thank you for help |
I cannot put my finger on it but this happens somewhere inbetween switching from mobile data to Wifi, mostly on Wifi, could it be that connection pool somehow gets crazy but tbh I think this is vendor specific |
fixed with samsung update |
I am having this issue, using Galaxy S8 with G950FXXU1AQK7/G950FOXM1AQ7/G950FXXU1AQK7 Anyone solved it? |
Sometimes doengrade of okhhtp helps - from 3.9.0 to 3.4.6. But after dongading i met it again and solve it like this (add a line in okHttpClient):
|
I am having this issue ,using vivo Y75,Anyone solved it ? |
I had a very similar problem with my app on Samsung S8 https://stackoverflow.com/questions/57701810/failed-to-connect-when-device-is-disconnected-from-pc/57734913#57734913 Turned out I had battery saving option Restrict background data enabled and that prevented my app from reaching the internet. I experienced both |
Hello guys,
we started to get a bulk increase in SocketTimeoutException SSL handshake timed out for S8 and S8+ phones.
Versions used:
`okhttp3 : '3.9.0'
retrofit : '2.3.0',
Samsung models:
SM-G950F
SM-G955F
Android version: 7.0
Kernel version 4.4.13-12401979
`
I tried creating a sample project that would try to fetch anything from any server to reproduce and politely report the issue but no avail, I cannot reproduce it steadily.
I am unsure but I have a feeling this happens when switching between Mobile network / Wifi or the device comes from sleep, after 2-3 attempts the connection punches trough.
Other phones / our health checks do not report this issue on other devices, or they are really minimal, samsung s8 / s8+ cover over 70% of the issues (and we have quite big userbase).
Do you have any hints for me how can I assist in creating a better error report or advices how to diagnose what is wrong and how to fix it.
Code that we use to setup okhttp client:
The text was updated successfully, but these errors were encountered: