at_client_sdk
at_client_sdk copied to clipboard
Sync happens for ever sometimes
Describe the bug
I have onboarded to the buzz app with latest atbuzz-2.0 code. I see the servercommitId
and localCommitId
are same with changedEntries: 45
. But sync never completes.
To Reproduce
Steps to reproduce the behavior:
- Clone the latest atbuzz-2.0 code from here
- Run the ap once and wait for the sync completes
- Stop the code and start it again.
Expected behavior
Sync must be completes as expected.
Smartphone (please complete the following information):
- Device: iPhone12
- OS: iOS15.5
Were you using an @application when the bug was found?**
- atbuzz(2.0 dev)
Additional context
This happens on very rare conditions. Here are logs
complete logs are here with some exceptions
@yahu1031 Can you please provide the latest update on this branch? I have the same issue assigned to me - https://github.com/atsign-foundation/apps/issues/686
Judging by the logs there is this error with sync on wavi mobile.
Hey @Sardar1208 Here are some logs today it reproduced. buzz.log
Debugged this issue on .wavi - This is because the put request is being invoked by the wavi app continuously. The key 'privateaccount' is getting updated in a loop as a result the key is being sync'ed for ever causing the sync to run. Updated the findings to @sachins-geekyants . Spent 5 SP on this.
@kalluriramkumar I could not reproduce this issue, for me 'privateaccount' key was getting updated only once. Also, sync was not running forever.
@kalluriramkumar I got this today here are the logs https://cdn.sourceb.in/bins/8f8ozX6Asj/0