-
Notifications
You must be signed in to change notification settings - Fork 311
No upload to Nightscout, error message: ssl handshake aborted #305
Comments
Your NS server is having an issue. Try restarting the website. |
Just as a sidenote: If the changeable battery is your reason to stick with the old phone, maybe think about using a powerbank with Pass-Through Charging like VARTA ENERGY series and a USB OTG Y cable. You need one that draws power from external (powerbank), not from the phone. Just in case you have to drop your setup some day. This gives you 24/7 without interruption, but with increased weight. |
Thank you! What does restart NS in this context mean? I even deployed again yesterday and it didn’t work. |
I habe done this! Still no luck. Any other suggestions? |
Do you use HTTPS? Who's your issuer of the certificate? Did it change recently? Just to make sure, you could try a new phone with a recent app version, just to make sure. |
@Pogman for me it seems to be a new general issue with old Android versions. I see many new similar issues with old Android phones on FB groups: the uploader was working fine for a long time, but recenty the uploader started to report SSL handshake error. I have checked it on Heroku and I have found that Heroku has just recently stopped supporting old TLS versions: https://help.heroku.com/SXWA00YI/tls-v1-0-v1-1-end-of-life-schedule |
Thank you for the info. |
@benceszasz ok thanks for that. Looks like older phones are just not compatible any more. A brief look around shows that Android 5+ phones may be min spec for now. TLS1.1 and TLS1.2 is not enabled in Android by default for API 19 or below. If an app is running on Device running Android API 19 or older and trying to make REST request to a server that requires TLS1.1 or above, it will fail. |
@Pogman based on a quick googling it seems, that there are some workarounds to support TLS 1.2 and to enforce it in OkHttp with Android 4.x devices: |
I have been experiencing issues with Nightscout upload. The phone reads the data but then there is an error message:
Nightscout website not available.
Nightscout Status: SSL handshake aborted:ssl=0x5a0165c0:I/O error during system call, Connection reset by peer
Brief Explanation of Issue
I am still on an old version of the uploader which has been working really well the last years. Reason is that I still want to use an old phone (Samsung S3) where the battery is exchangeable thus being able to always have a fully charged battery since I charge it with an external charger. I haven't updated the uploader version since 7.1. is the one working best with the old Android version.
Can it be an issue that the Android version and the uploader version are fairly old? It suddenly stopped working yesterday night and I can't figure out the issue. Heroku and the Nightscout app seem to be working fine, it really is the upload that is the issue.
Thanks so much for your support!
Uploader Error Code
Nightscout website not available.
Nightscout Status: SSL handshake aborted:ssl=0x5a0165c0:I/O error during system call, Connection reset by peer
Steps to Reproduce (for bugs)
Severity Score
The text was updated successfully, but these errors were encountered: