JohanDegraeve / xdripswift

xdrip for iOS, written in Swift
GNU General Public License v3.0
329 stars 328 forks source link

Contact stops updating for some reason #537

Open KevinDenys opened 4 months ago

KevinDenys commented 4 months ago

For the second time my contact stops updating somewhere in the middle of the night. The only thing I can do to fix it is to re-enable the contact feature. I exported the logs and saw the last log of the contactImageManager was at 1h10

image

And after that no more contactImageManager logs. When I woke up in the morning I saw the contact image was not in sync with the current value

KevinDenys commented 4 months ago

xdriptrace.0.log

paulplant commented 4 months ago

Had a quick look, this will help.

Is there anything else you can tell me? Were you actively using your phone around (or just before) it stopped updating at 01:10hrs? No changes to the heartbeat settings or anything?

Please keep monitoring whilst I get time to check things.

KevinDenys commented 4 months ago

Nope, we went to sleep around 22.30h. Ill keep monitoring it when it stops syncing

KevinDenys commented 4 months ago

Stopped again

i guess something with bad connection? IMG_5418

IMG_5419

KevinDenys commented 4 months ago

I also can reproduce it with just hard closing the xdrip app. It does not restart the contact sync after reopening the xdrip app

paulplant commented 4 months ago

I also can reproduce it with just hard closing the xdrip app. It does not restart the contact sync after reopening the xdrip app

Interesting. Thanks!

paulplant commented 4 months ago

Hello, I'm encountering the same issue. I've restarted my phone, rebuilt in Xcode, but it still doesn't automatically update the contact. Do you have any suggestions?

I'm not sure it's the same issue?

Your contact was updated just 8 minutes earlier than the time in screenshot? And you had enabled the Contact Image function (and created the contact) just 5 minutes before that.

So what exactly isn't working? The screenshot you've shown would indicate that it was working until 3 minutes earlier?

paulplant commented 4 months ago

I've never tested it with 60 second updates to be honest.

But again, this issue is not related to the original issue post that was opened where xDrip4iOS wasn't updating the contact image at all...

billreed85 commented 2 weeks ago

@KevinDenys did you ever find a fix for this? I've been messing with it for a little bit and am not able to figure out a solution to the contact image losing connection and having to be toggled on, then back off to restart it.