Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

App crashes since connected to NS server #304

Open
psit opened this issue Mar 18, 2021 · 6 comments
Open

App crashes since connected to NS server #304

psit opened this issue Mar 18, 2021 · 6 comments

Comments

@psit
Copy link

psit commented Mar 18, 2021

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)

@Pogman
Copy link
Collaborator

Pogman commented Mar 18, 2021

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

@psit
Copy link
Author

psit commented Mar 18, 2021

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
Copy link
Author

psit commented Mar 18, 2021

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.

@oldsterIL
Copy link

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

@psit
Copy link
Author

psit commented Mar 21, 2021

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.

@oldsterIL
Copy link

oldsterIL commented Mar 22, 2021

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+

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants