600SeriesAndroidUploader icon indicating copy to clipboard operation
600SeriesAndroidUploader copied to clipboard

App crashes since connected to NS server

Open psit opened this issue 3 years ago • 6 comments

Your Environment

  • Uploader Version Number: 0.7.3
  • Your Android Phone Model Name (e.g. Samsung J1 Ace): Samsung Galaxy S4
  • Android Version Number (e.g. use 4.4 for 4.4.4): 5.0.1
  • Network Connection at the time the issue occurred (Wi-Fi, Mobile): Wifi, not sure about mobile
  • (if relevant) Nightscout website version (e.g. 0.8.4 Funnel cake, master / dev branch): 14.2.2

Brief Explanation of Issue

Occasionally the app stops. (German Error message from OS is "600 Series Uploader angehalten." I've been using the app for month offline (without NS, just local xDrp+) without any problems. Now i configured my own NS installation (on Linux using Docker) and since then the app crashes sometimes (between every 5 minutes and 8 hours)

Uploader Error Code

None visible, but if you tell me how, I can send you the logs (already set to debug).

Steps to Reproduce (for bugs)

Severity Score

4 (no data until app restarted)

psit avatar Mar 18 '21 00:03 psit

Can you try version 0.7.1 and see how you get on.

Pogman avatar Mar 18 '21 02:03 Pogman

I will give it a try when the boy is home again. Could the HTTPS connection to NS be the reason? I think it all started after I activated HTTPS on the NS server... I will try that first and report back to you.

psit avatar Mar 18 '21 07:03 psit

HTTP didn't change anything. I thought this could help because I had a test server running with HTTP on my PC. It worked without problem there (maybe just not long enough, maybe a coincidence). When migrating to my server with HTTPS the problem started after some time. I downgraded to 0.7.1 now. Even though I miss the "tap title to switch graph/logs" feature ;) I'll report back when I know if 0.7.1 works properly.

psit avatar Mar 18 '21 20:03 psit

You can check the https settings on your server through this site https://www.ssllabs.com/ssltest/

oldsterIL avatar Mar 21 '21 07:03 oldsterIL

SSL is ok. I have the certificates running on my webserver for quite some time. The problem persists when disabling HTTPS, so - as mentioned above - it is not an SSL issue. For my webserver, the ssl-test gives grade B. No errors, just warnings about no PFS and TLS 1.0/1.1 support. The only errors where when simulating handshake with IE on Windows XP - I can live with that. I was not able to check the NS directly as the ssl-check does not allow custom ports. The test was performed against my apache using the same certificates.

psit avatar Mar 21 '21 20:03 psit

I'm sure you have the correct certificates, I said that the setting on the web server (Apache in your case) might not be correct. Check the logs on your web server. Also, you can see how I setup the NS on my server (sorry for Russian). My site NS have grade A+

oldsterIL avatar Mar 22 '21 05:03 oldsterIL