xDrip Follower Sync Network Details #3370
Replies: 2 comments 4 replies
-
It uses Google messaging. We have it on our to-do list to add the ability to save the logs locally. |
Beta Was this translation helpful? Give feedback.
-
I assume you are talking about the MessageApi? I was able to figure it out the issue after looking for traffic going to/from the google play api, it was not related to xdrip, although it would have been helpful to be able to see more detailed logs regarding the success/failure status of the MessageApi commands. Is there a list anywhere of the "extra logging tags"? That's good news about the local log saving - keep up the good work, it is greatly appreciated! |
Beta Was this translation helpful? Give feedback.
-
At this point I'm not reporting a specific bug, I just am looking for the details on what communication method the xdrip follower sync uses across the network. I'm not seeing anything about this in the documentation, and searching the source code did not quickly provide me with an answer. I'm spending a lot of time trying to make uninformed guesses as to why the xdrip follower sync keeps dropping out. In making some changes to my network (which is quite complex, but entirely controlled by me) I noticed that the sync stopped working but I've not been able to nail down exactly why. The master device is set to upload to nightscout as well as be a master for xdrip follower sync devices. Nightscout uploads are uninterrupted (as I have complete control over that). I think I saw somewhere that follower sync uses google API's for messaging and I see some log data referencing firebase - does xdrip follower sync send data via google API's? Does it use the google account active on the phone to access the API's, or does it use a dedicated xrip one, or is that service free?
More directly, what ports, protocols, domains, ip addresses, accounts, api keys, country geolocation, etc are required for xdrip follower sync? Is this configuration the same for both master and follower? What are the possible/usual/likely causes of xdrip follower sync communication failure?
Slightly related note - how do I export the raw logs that I see in "view events log". There seems to be an option to email jamorham the logs and enter your own email, but it does nothing. Also, the logs are not saved anywhere you can access on the device normal USB. This shouldn't be something you need root to access.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions