Delubear / GlucoseTray

Tray Icon for displaying current BG information in taskbar.
MIT License
35 stars 21 forks source link

not receiving CGM data (Dexcom EU) #63

Closed actsour closed 1 year ago

actsour commented 1 year ago

Edit: This might just be Issue 62 (which is closed), however I'm receiving the same behavior with the latest version

first of all, a big thanks to all the contributors. This is a very useful tool and all your efforts are much appreciated!

However, unfortunately it doesn't work for me as I am not receiving any glucose readings. What I'm getting is this screen which keeps displaying the same values (something weird is going on with the time):

issue

I followed the Setup Guide, and I'm trying to get the data from the Dexcom servers (I live in the EU and can therefore only login to clarity.dexcom.eu; not clarity.dexcom.com). So I selected the International server. My settings (I also get the "Settings saved" window without errors after confirming):

issue0

What I tried:

But unfortunately the result was unchanged.

Maybe this could be an issue with the Dexcom EU/International Server? Or could this be caused by my Dexcom username being an e-mail address (containing multiple '.' [period] and '@')?

Im running the latest version of Glucose Tray 13.1.1 on Windows 10 and .NET Version 4.8.4048.0

Maybe someone can help me getting those CGM readings to my desktop at a glance. Thank you!

Delubear commented 1 year ago

Can you try version 13.2.0 when it's available in a few minutes? There will be a new settings option labelled Debug Mode. If you could check that on and hit save, it should give you a popup notification the next time it tries to pull data and there is an error. Then if you could send the contents of that message here, I can look into it further. I have found nothing on the EU servers changing.

actsour commented 1 year ago

Can you try version 13.2.0 when it's available in a few minutes? There will be a new settings option labelled Debug Mode. If you could check that on and hit save, it should give you a popup notification the next time it tries to pull data and there is an error. Then if you could send the contents of that message here, I can look into it further. I have found nothing on the EU servers changing.

Thank you for your fast reply! I did try it with the new version 13.2.0 and its debug mode keeps throwing the following error:

grafik

I also tried it on a different machine (older laptop running Windows 7) and I got a different error message there:

Win7Error

Hopefully this is helpful in some way. Just let me know if I can provide more information.

Delubear commented 1 year ago

I will probably need to add another build for you to try to find out exactly what it is returning and how it's failing. Dexcom international may have changed or started doing things differently.

Delubear commented 1 year ago

Should be ready soon, but can you try the same with build 13.2.3? It should be setup to log a step by step breakdown of the respones we're getting back from dexcom.

Delubear commented 1 year ago

https://github.com/Delubear/GlucoseTray/releases/tag/13.2.3

actsour commented 1 year ago

Sure! Thanks so much for your help. With build 13.2.3 i get the following message:

grafik

Delubear commented 1 year ago

Sorry, one more version to test: 13.2.4. Should be ready soon. I didnt expect to have to debug that far up the chain, but it looks like its failing to get a session id, so next thing is we need to know if its failing to get an account id.

Delubear commented 1 year ago

https://github.com/Delubear/GlucoseTray/releases/tag/13.2.4

actsour commented 1 year ago

Thanks again, to me it looks like getting the account ID is working:

error

Interestingly, it's showing the correct time now. This wasn't the case before (at least with 13.1.1) error

Delubear commented 1 year ago

Version 13.3.0 will be available soon. It should fix your issue. It appears when using the Account Id change from the last reported issue, for newer accounts that use emails, it needs a slightly different endpoint to properly validate the account using the id.

actsour commented 1 year ago

Works perfectly now with v13.3.0, so this issue has been resolved. Thank you so much @Delubear for your work and support! 🥇 If you could use help for testing or the like in the future, just let me know.

Delubear commented 1 year ago

Thanks for reporting the issue. I don't have the capability for testing newer style or international accounts myself so thank you for the assist. This should fix it for quite a number of others as well going forward.