CarelinkFollower socket timeouts #3702
Replies: 4 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
I am a new user, but recently the Medtronic servers and the application had some connection problems. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Every similar datasource (Nightscout, Dexcom Share, LibreLinkUp) use the default values. It is possible that CareLink servers are slower and less reliable, but before we drastically increase all timeouts (10sec -> 30sec), I think it is necessary to examine when and at what point in the communication this timeout occurs: connect, send request, receive response (server response time). Increasing the wait times can cause unnecessary delays and waits. This custom version's name is xDrip+ HC (com.eveningoutpost.dexdripclhc – http communication), so you don’t have to uninstall your current version. On the other hand you have to create a new care partner account in CareLink, because you can use one account only in one application.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
For quite some time there seems to be an issue with retrieving the data from servers in timely manner using the CareLink Follower source.
As a result, the new datapoints and notifications are not downloaded for about 10-15 minutes, I can see the missed reading effects (BG display in red and so on), and then it goes back to normal, when 2 or 3 missed readings are downloaded. It happens randomly, sometimes 2-3 times per hour. There is also an exception logged:

After investigation it seems that the http client in the Carelink Follower that uses default timeout values of 10s does not make it in time with laggy Carelink server.
I have changed the timeouts to:

After some longer tests i can confirm that it solved my issue and I havent seen those Exceptions since applying this fix.
Im using one of the latest official nightly builds:

Beta Was this translation helpful? Give feedback.
All reactions