NovoPen scanning inconsistent uploading to Nightscout #3470
Replies: 5 comments 5 replies
-
Please let's talk about this as a discussion before turning it into an issue. |
Beta Was this translation helpful? Give feedback.
-
Can you check the xDrip logs to see if there is any log related to any failed treatment upload to Nightscout? |
Beta Was this translation helpful? Give feedback.
-
This is the output from the log when I tried to upload the treatment again after deleting it from xDrip. I assume the "Beyond maximum units value" is the issue but where is this value set? @Navid200 |
Beta Was this translation helpful? Give feedback.
-
Have you seen this? Is there anything related? |
Beta Was this translation helpful? Give feedback.
-
Your environment
Expected behavior
All treatments scanned from the NovoPen should be uploaded from xDrip to nightscout via the REST API but this happens inconsistently
Actual behavior
Normally when I scan my NovoPen the treatments are uploaded to Nightscout in <30 seconds via the REST API, however, there is inconsistently in this, sometimes records do not upload to Nightscout via the REST API. The Nightscout instance is a Digital Ocean droplet with firewall rules configured to only allow HTTP and HTTPS traffic through Cloudflare.
https://www.cloudflare.com/en-gb/ips/
I initially thought this could be caused by firewall rules on Cloudflare but there's nothing being blocked as I allow all traffic in the UK to be whitelisted as I have some displays that fetch data from Nightscout and this simply avoids the issue of manually whitelisting other attributes.
Steps to reproduce the behavior:
For example:
4. Tap NovoPen to the back of the phone until the treatments display on xDrip
5. Wait a few minutes at max and see no record being uploaded to my Nightscout instance like so.
As you can see from the screenshots the data is not reflecting what's uploaded to Nightscout.
Beta Was this translation helpful? Give feedback.
All reactions