bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

[Bug]: Block widget has stopped updating

Open catch-21 opened this issue 1 year ago • 14 comments

Describe the bug

The block widget on my home screen stopped updating about 2 hours ago. It shows 854,009 when the current is 854,018. Manual refresh does not correct it. My wallet is new, as of 3 hours ago, and recovery has been performed yet.

Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots / Recording

-----

Operating system

Android 13 TKQ1.221114.001

Bitkit version

v130 d8f96e7d6475d2eef04ae08f9d9dd2c8894a8218

Log output

No response

catch-21 avatar Jul 26 '24 10:07 catch-21

@catch-21 Could you try going to dev settings and tapping "Clear WebRelay Cache". Not a permanent fix but would help identify the issue.

pwltr avatar Jul 26 '24 13:07 pwltr

@pwltr Unfortunately, that makes no difference. Right now, I have been seeing block 854,045 for a while, real block is currently 854,050.

catch-21 avatar Jul 26 '24 15:07 catch-21

@catch-21 Did this resolve itself by now? Other than the cache I am not sure what could be the issue.

pwltr avatar Jul 29 '24 10:07 pwltr

@pwltr It corrects itself when I kill the app and restart but never seems to stay up to date whilst Bitkit is running.

catch-21 avatar Jul 29 '24 11:07 catch-21

@pwltr I cannot reproduce the issue with an iPhone running v130 but it is always happening on my android phone.

catch-21 avatar Jul 29 '24 12:07 catch-21

I'm not able to reproduce this on either iOS or Android so far. Left the app running for about an hour with some of that time with it backgrounded. Widgets were always updated.

pwltr avatar Jul 29 '24 14:07 pwltr

Tested again, looks like this only happens on a real device or in release.

pwltr avatar Jul 29 '24 16:07 pwltr

While I can more or less easily reproduce this on the latest public release, I can't at all with a current build from master. I think there is a chance this got fixed by the lizard problem fix here. Will keep an eye out and meanwhile move this to backlog.

pwltr avatar Jul 30 '24 16:07 pwltr

I also cannot reproduce on a build since lizard problem fix. Have made a note to check this in the next internal release testing session.

catch-21 avatar Jul 31 '24 12:07 catch-21

Next time this happens, we need to check if the data on the web relay is up to date. https://webrelay.slashtags.to/xzdjbqu5ym3hk4xp993hg4ahzs1g4o85dhw9nnp4qcbd57pxndoo/Bitcoin%20Blocks/feed/latest-block

limpbrains avatar Aug 28 '24 09:08 limpbrains

@limpbrains I've experienced this in testing sessions where the others have not been experiencing it at the same time. So I'm fairly certain it's a local phenomenon.

catch-21 avatar Aug 28 '24 16:08 catch-21

It doesn't update when I refresh the App nevertheless it's updating when I force close the app and reopen it. (same for Pav).

JeanlChristophe avatar Aug 30 '24 10:08 JeanlChristophe

It doesn't update when I refresh the App nevertheless it's updating when I force close the app and reopen it. (same for Pav).

and for once It is staying up to date for me at the same time it is not updating for the other testers.

catch-21 avatar Aug 30 '24 10:08 catch-21

Same on iPhone 8. Stopped updating around 6 hours ago.

catch-21 avatar Sep 06 '24 14:09 catch-21

Gonna be fiwed with https://github.com/synonymdev/bitkit/issues/2454

JeanlChristophe avatar Feb 12 '25 09:02 JeanlChristophe