New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dex Share follower doesn't receive data with new EU accounts having an email for username #1882
Comments
Likely, Dexcom tries to enforce their API documented at https://developer.dexcom.com. I still don't know the source of the xDrip implementation, because nothing is documented. |
@tolot27 I'm pretty sure it was documented there but even time travel machine doesn't have the original site... https://web.archive.org/web/20170919194707/https://developer.dexcom.com/ maybe @StephenBlackWasAlreadyTaken remembers or has some legacy documentation? |
I can confirm this bug. I have created new dexcom account, now my sensor expired so I deleted dexcom app, installed again and created new account. All new dexcom accounts now have email as login. I have also completely reinstalled xDrip app and I am still getting error: ShareFollowCallback ShareFollowDL ShareFollowCallback ShareFollowDL |
@psonnera So sorry I missed your question. @tolot27 knows about this subject (Dexcom share) more than anyone else I know. |
I have the same issue: Navid200#146 |
|
I've fixed this issue and will create a PR soon. Still have to implement some tests for it. |
Fixes NightscoutFoundation#1882 by pre-authentication. E-mail addresses as a usernames work with this method.
Happy to test it for you if that helps |
Hello same problem here.would test it too. |
Hello Tolot27, |
following since it's still not working.. |
Yes, you may be correct. "I cannot test this" is much more condemning than "this may not be as involved". |
Fixes #1882 by pre-authentication. E-mail addresses as a usernames work with this method.
Maybe we can clarify this or you can help me to resolve a misunderstanding from my side. As far as I know, parents can still follow their children (with xDrip and Dexcom Follow) if they have created a Dexcom account with a nickname instead of an email address and using the Dexcom App or xDrip as collector. At least, I can follow my son. Please comment only, if I'm wrong. Otherwise, give me a few more hours to work on an apk for testing. |
A debug apk for testing can be downloaded: xDrip_20220131_b9d7a8027_dexPreAuth_debug.apk. Please be aware that it cannot be installed over the existing app. Hence, make a backup of settings and database before you uninstall it. |
I did the same as @KillaOfDawn . Unticked US (I'm Australia), entered share username and password - confirmed these still work by using them to log into clarity. I am a newish dexcom user with an email address for a username |
@KillaOfDawn @samgray85 Please can you set the extra logging tag "ShareFollowDL:v", force xDrip to stop (settings -> apps) and start it again. Then please have a look at the logs. There should be some entries from ShareFollowDL like "Creating instance for ...". Please post the URL or a screenshot. I need the first log entries after startup. BTW: If you have some experience with adb and logcat, please let me know. |
Mine is working now. Thank you |
I just did what @tolot27 told me Went:
Then went into my phone settings > apps > xDrip+ > Force Stop Reopened xDrip and it worked |
@KillaOfDawn Please can you verify your account data again? I suspect an error in either account name or password. Does it contain some special characters? In which country do you live? Maybe, your account is on the US server. Please can you try it?
If you still cannot get it to work, I need the logcat output. |
|
thank you |
I'll verify the password length. As far as I know, xDrip does not restrict its length but maybe Dexcom? |
Fixes #1882 by pre-authentication. E-mail addresses as a usernames work with this method.
As additional info in case it can help, my username is not an email address but includes a dot in the middle. |
@tolot27 Thanks for fixing this |
Fixes #1882 by pre-authentication. E-mail addresses as a usernames work with this method.
Fixes NightscoutFoundation#1882 by pre-authentication. E-mail addresses as a usernames work with this method.
Please, please, please can we incorporate this feature into the main Xdrip application? It's essential for European users and, at the moment, we have to switch off updates to prevent the feature being overwritten with the latest version. It's a life-saver for hypo-unaware Xdrip users outside the USA. Thank you so much for developing it. Alfie |
@alfiearthur This was already merged. What is it that you want to be incorporated? |
Hi Navid,
Thank you for your quick reply.
The problem is that when switching input to Hardware Data Source to ‘Dex Share Follower’ I enter my ‘Share Username’ and ‘Share Password’ and the next screen pops up to ask if I am based in the USA. I am in the UK so I untick ‘this location is in the USA’ and everything works. I’m not a programmer, but I think this directs Xdrip to the European Dexcom server which is https://uam2.dexcom.com, while the US server is https://uam <https://uam1.dexcom.com> 1.dexcom.com.
This appears on the first attempt to change the hardware data source to ‘Dex Share Follower’ on the xDrip_20220131_b9d7a8027_dexPreAuth_debug.apk. On subsequent efforts to change the hardware data source to ‘Dex Share Follower’ it doesn’t appear again and I’m pretty sure it reverts to the US Dexcom server.
On the latest Xdrip release, ‘this location is in the USA’ pop with a tick box, doesn’t appear.
Something changed at 09:00 on Wednesday, November 30 2022 which meant XDrip couldn’t connect to Dexcom Follower any more. This simultaneously happened with Tidepool, which is no longer connecting to our Dexcom Follow account. My guess is that Dexcom were running our UK account on the US server and they transferred our account to the European server at that time.
Our T1D son has no hypoawareness and doesn’t wake up to alarms so I spend the night with him. With the xDrip_20220131_b9d7a8027_dexPreAuth_debug.apk version, I have now been able to reconnect to Dexcom Share and we’re back in our own beds. I let Dexcom update the version and we were back to square 1, where Xdrip couldn’t find the European Dexcom server.
In summary, I don’t think the option to choose tick/untick ‘I am in the USA’ when changing the Hardware Data Source to ‘Dex Share Follower’ is working in the current version and, even in the beta version it only appeared on the first attempt.
I hope this makes sense! I’ve disabled updates to preserve the functionality for now.
I totally realise it’s a massive faff to test this stuff and I am deeply grateful (we all are) for all the work that you guys put in to help our children stay alive.
Thank you for everything,
Rob
Rob Arthur
…_____
Enderley House, Amberley, Gloucestershire GL5 5AW
Tel: +44 (0) 1453 872121 Mob: +44 (0) 7581 242515 Skype: robarthur2
_____
From: Navid ***@***.***>
Sent: 01 December 2022 20:04
To: NightscoutFoundation/xDrip ***@***.***>
Cc: alfiearthur ***@***.***>; Mention ***@***.***>
Subject: Re: [NightscoutFoundation/xDrip] Dex Share follower doesn't receive data with new EU accounts having an email for username (Issue #1882)
@alfiearthur <https://github.com/alfiearthur> This was already merged. What is it that you want to be incorporated?
Can you be more specific plaease?
—
Reply to this email directly, <#1882 (comment)> view it on GitHub, or <https://github.com/notifications/unsubscribe-auth/AIJZ5VGSZ3ND7DF2WKGR4IDWLEABRANCNFSM5I4QNK3Q> unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi Rob, Can you try with the latest released xDrip nightly? (See the releases section here) The setting for which server to use can be found in the cloud upload section of xDrip main settings. The same server is used for upload/download. If you change settings it is also possible you need to go to xDrip status and restart the collector to start using the new settings. Can you also describe your set up in terms of what is the configuration for your son's phone? Is it Android and if so which app are you running there? Which android version is your phone running as well? |
Hi Jam or Ham (tough choice, but ham, please, if it’s smoked)
Alfie is at school at the moment. He has a Pixel 4a. I’ll try downloading the xDrip nightly today and let you know.
Many thanks,
Rob
Rob Arthur
…_____
Enderley House, Amberley, Gloucestershire GL5 5AW
Tel: +44 (0) 1453 872121 Mob: +44 (0) 7581 242515 Skype: robarthur2
_____
From: JamOrHam ***@***.***>
Sent: 02 December 2022 11:03
To: NightscoutFoundation/xDrip ***@***.***>
Cc: alfiearthur ***@***.***>; Mention ***@***.***>
Subject: Re: [NightscoutFoundation/xDrip] Dex Share follower doesn't receive data with new EU accounts having an email for username (Issue #1882)
Hi Rob,
Can you try with the latest released xDrip nightly? (See the releases section here)
The setting for which server to use can be found in the cloud upload section of xDrip main settings. The same server is used for upload/download. If you change settings it is also possible you need to go to xDrip status and restart the collector to start using the new settings.
Can you also describe your set up in terms of what is the configuration for your son's phone? Is it Android and if so which app are you running there? Which android version is your phone running as well?
—
Reply to this email directly, view it on GitHub <#1882 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIJZ5VBXE6EB2UJXO6CW4MDWLHJPLANCNFSM5I4QNK3Q> .
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@alfiearthur I think if you've been having problems then the best way to resolve this is to install the latest nightly on both your son's phone and your own. If you are using the official manufacturer app on your son's phone then you can continue to do this and simply set up xDrip there in companion mode and it will run side by side. You can then make it an xDrip sync master and set your follower phone to be a follower and then you don't have to worry about any issues using dex share following. If you need any help with these steps I would suggest creating a discussion here instead of appending to this issue and describe what you need help with. The only real use case that I know of for dex share is if your follower/master is on another platform like apple. |
That’s great advice.
The only reason we went to Dex Share is the demise of the free Mongo database.
We have been using Tidepool to analyse the data and share it with our clinic, but that has also broken following the transfer from Dexcom US server to their EU server.
Many thanks,
Rob
Rob Arthur
…_____
Enderley House, Amberley, Gloucestershire GL5 5AW
Tel: +44 (0) 1453 872121 Mob: +44 (0) 7581 242515 Skype: robarthur2
_____
From: JamOrHam ***@***.***>
Sent: 02 December 2022 12:56
To: NightscoutFoundation/xDrip ***@***.***>
Cc: alfiearthur ***@***.***>; Mention ***@***.***>
Subject: Re: [NightscoutFoundation/xDrip] Dex Share follower doesn't receive data with new EU accounts having an email for username (Issue #1882)
@alfiearthur <https://github.com/alfiearthur> I think if you've been having problems then the best way to resolve this is to install the latest nightly on both your son's phone and your own. If you are using the official manufacturer app on your son's phone then you can continue to do this and simply set up xDrip there in companion mode and it will run side by side. You can then make it an xDrip sync master and set your follower phone to be a follower and then you don't have to worry about any issues using dex share following. If you need any help with these steps I would suggest creating a discussion here instead of appending to this issue and describe what you need help with. The only real use case that I know of for dex share is if your follower/master is on another platform like apple.
—
Reply to this email directly, view it on GitHub <#1882 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIJZ5VGOJZ6MVMVZ4QGYQFLWLHWX3ANCNFSM5I4QNK3Q> .
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@alfiearthur xDrip has a native tidepool uploader so you can use that if you like. |
Thank you. I’ll have a play with that right now,
Rob
Rob Arthur
…_____
Enderley House, Amberley, Gloucestershire GL5 5AW
Tel: +44 (0) 1453 872121 Mob: +44 (0) 7581 242515 Skype: robarthur2
_____
From: JamOrHam ***@***.***>
Sent: 02 December 2022 14:43
To: NightscoutFoundation/xDrip ***@***.***>
Cc: alfiearthur ***@***.***>; Mention ***@***.***>
Subject: Re: [NightscoutFoundation/xDrip] Dex Share follower doesn't receive data with new EU accounts having an email for username (Issue #1882)
@alfiearthur <https://github.com/alfiearthur> xDrip has a native tidepool uploader so you can use that if you like.
—
Reply to this email directly, view it on GitHub <#1882 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIJZ5VD454UMQGYIOUW4F5LWLIDHNANCNFSM5I4QNK3Q> .
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
The l;atest nightly version does indeed include an option for non-USA servers. I found it here. Everything is now working fine. Many, many thanks for all your help, Rob (and Alfie!) |
Subject of the issue
New Dexcom users aren't proposed a username during account creation (only for linked accounts) and the username is the email address used to create the account. Dex Share follower doesn't receive any data with the email address in account credentials (checked correct server, username and password). Using a kid linked account with a username is functional.
Your environment
I don't believe this is related to xDrip+ but Dex server recent changes.
Expected behavior
Dex Share follower should receive data from Dex share servers.
Actual behavior
No data is received by xDrip+ even if they are present in the vendor app followers.
Your environment
I don't believe this is related to xDrip+ but Dex server recent changes.
Expected behavior
Dex Share follower should receive data from Dex share servers.
Actual behavior
No data.
Steps to reproduce the behavior:
Create a new Dex account, log in the vendor master app, add a follower (either vendor app or xDrip+) and enable share. Accept the invitation in the vendor follower app to check functionality, set xDrip+ to Dex Share follower with matching credentials and server. And wait...
The text was updated successfully, but these errors were encountered: