pazaan / 600SeriesAndroidUploader

Your Medtronic 600-series pump data, direct to Nightscout
http://pazaan.github.io/600SeriesAndroidUploader/
MIT License
189 stars 312 forks source link

Sensor data doesn't transfer to NS site #284

Open olaluukkainen opened 3 years ago

olaluukkainen commented 3 years ago

All of a sudden both of our uploader phones stopped sending sensor data. Treatments, micro boluses, IOB, pump info etc. is visible in NS site. No errors in uploader phones. Sensor data is shown correctly in uploader phones.

No error codes. Migration to Atlas is done. Papertrail has this message repeating: "previous bucket not found, not calculating delta"

Severity Score

4

Pogman commented 3 years ago

Could be an issue with your NS database being near full. Go into your NS admin page and clear out some of the old data.

olaluukkainen commented 3 years ago

Don't know what the problem was but both uploaders started to work after re-installing the software. Sensor data still doesn't show in NS from the blackout period.

olaluukkainen commented 3 years ago

So this is still an issue. The problem started again today on both phones.

pazaan commented 3 years ago

@olaluukkainen Is this still occurring? If so, I'd need to set up some time so that we can remote debug this together. I no longer have 600 Series sensors, so I'm unable to test myself.

funkstille commented 3 years ago

Today both of my phones had the same issue. No data is transferred to nightscout anymore.

Switched the phone, same problem Updated nightscout on heroku to latest, same problem Downgraded uploader from 0.73 to 0.71, same problem

I switched from mongo to atlas round about 2 months ago, so that should not be the root cause as well. Database size is 108 MB ~ 21% of the free Space. Any suggestions?

It looks like only cgm data is not transferred. Manual blood sugar measurements are uploaded.

Forwarding data to xDrip+ and uploading via xDrip is possible.

Pogman commented 3 years ago

Make sure your using the latest version of Nightscout currently 14.0.7

funkstille commented 3 years ago

Yes, upgraded to nightscout 14.0.7 after the problem occurred. Did not solve the problem. Workaround is forwarding to xDrip and uploading with xDrip

Pogman commented 3 years ago

There were issues pre-14.0.7 that would not handle cgm backfills and other cgm issues. Have you tried again just running with an uploader reinstall done after 14.0.7 ?

funkstille commented 3 years ago

I did a upgrade to 14.0.7 and since that had no effect I have done a reinstall with downgrade to 0.71. Did not work. But since it is pretty late in Germany I might need a few hours of sleep. I will have look tomorrow morning, the backup phone has still 0.73 installed.

But everything worked fine until tonight. Even with nightscout lower then 14.0.7 and uploader on 0.73.

funkstille commented 3 years ago

I purged the uploader on both phones and reinstalled version 0.73. Still no cgm data upload. Other data like ‘usb device failure’ is uploaded. I also recognised that the app crashes from time to time. At the moment I am using drip+ as uploader.

Should I provide any logs or other data? Screensharing?

Pogman commented 3 years ago

0.7.2 and 0.7.3 are have crashes for some people and that should get sorted soon.

I don't know what could be wrong with your cgm data specially if your seeing the issue with 0.7.1 too.

Can you go into the debug settings and enable "extended errors" Go back to the log screen and you should see items like this:

Screenshot 2020-12-05 131023

The nightscout info tells us what happened after a successful upload. The E:1/0/1 part is for cgm entries and there should be something similar for you after each 5 min poll.

Also look back through the log for this line:

Screenshot 2020-12-05 131632

This will show the exact time difference and version that the uploader is seeing. Can you check yours?

funkstille commented 3 years ago

Thanks you for your reply. This morning at about 11 o’clock it started to work again. Until that time I haven’t had the logs switched to extended errors. So sadly there is nothing to share from before. Right now the time difference between my nightscout instance 14.0.7 changes every now and then but is always less then 60 seconds. If the problem appears again I will log the information!

Pogman commented 3 years ago

The extended errors option just toggles what is visible and will always show the last few days whenever you turn it on.

The NS time difference will always vary but it should be a small amount and well under 5 minutes. So that looks good and not causing your issue.

Do you run multiple uploaders? This should not be a problem and even running simultaneously but maybe there's a clue.

funkstille commented 3 years ago

462E3C77-5140-453D-BF20-70B2FFF17CE9 D54FC39B-85A9-4C9C-8D8E-B89A80349CCC 68EA1D18-C9D9-45E8-8C13-FF16DB4A211A

Took a while. Here are the screenshots

Pogman commented 3 years ago

Ok it looks like it's uploading a lot of sensor readings successfully. This also indicates that you must have either installed the app very recently and/or it is doing a very large backfill.

Are you still seeing no sensor readings in nightscout?

funkstille commented 3 years ago

No. The problem occurred only from 19.45 until aprox. 11 o’clock. After that everything worked fine again, with some app crashes now and then

Pogman commented 3 years ago

I don't really know what has happened for you here with your missing period. When you reinstalled or updated the app it should have checked and resent any missing data for you. When the app crashes it should still keep collecting and sending data though you would need to click the app icon to see the UI.

Other things that come to mind are that the pump had no valid sensor readings during that period or maybe even some glitch with nightscout or it's database provider.

Sure keep an eye on it and let us know if it starts having issues again. It might be easier to catch the cause when the issue is live.

funkstille commented 3 years ago

That’s absolutely fine with me. Thanks for your support. I will get in touch if the problem occurs again

rizso commented 2 years ago

I have now the same problem. We use 2 uploader phone and suddenly one of these phones doesn't transfer the sensor data to NS site. IOB, COB, basal profile, pump information,... are visible on NS site, only the sensor data doesn't. What could be the problem?

Pogman commented 2 years ago

Try uninstalling and reinstalling the app and see how it goes.

rizso commented 2 years ago

I did it, but no change. In fact, since last night, the other uploader phone isn't tranfering the sensor data. The other information is still visible on NS site.