nightscout / cgm-remote-monitor

nightscout web monitor
GNU Affero General Public License v3.0
2.36k stars 71.43k forks source link

Loopalyzer occasionally stops rendering graphs correctly due to problem in caching #8156

Open ssuppe opened 9 months ago

ssuppe commented 9 months ago

If you need support for Nightscout, PLEASE DO NOT FILE A TICKET HERE For support, please post a question to the "CGM in The Cloud" group in Facebook (https://www.facebook.com/groups/cgminthecloud) or visit the WeAreNotWaiting Discord at https://discord.gg/zg7CvCQ

Describe the bug I'm running 15.0.2 off of the dev branch on Google Cloud as described in these standard instructions.

When using Loopalyzer to finetune my settings, after switching different dates/settings and exploring, all of the sudden (seemingly randomly) it doesn't render correctly - the charts go 'blank' (Except showing some treatments).

However, a browser cache clear seems to fix the issues. Unfortunately I haven't figured out how to reliably reproduce, but I'm happy to check anything I can for you if it's helpful. Someone else in the WeAreNotWaiting Nightscout discord also confirmed this is happening to them (see my discussion on 29 Oct 2023).

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Reports'
  2. Click on 'Loopalyzer'
  3. Try lots of different filters / time ranges across many reports
  4. The charts should eventually 'disappear' (but I'm unable to repro).

Expected behavior Charts to continue to show

Screenshots blank loopalyzer

Your setup information

Additional context As I said, happy to help in any way I can, please feel free to reach out.