Hello
We’ve faced an issue where the Community Health Toolkit (CHT) mobile app is not properly syncing data with the web app. The problem occurs intermittently, particularly in areas with spotty internet connectivity. Field users report that their data appears to save locally but fails to reflect in the web app dashboard, even after multiple manual sync attempts.
This can lead to duplicate entries or loss of critical patient data, severely impacting the continuity of care.
Upon investigation, it seems the issue may be related to how the app handles partial uploads when network connections drop mid-sync. Affected users have noted that once they return to a stable connection, the app does not automatically retry failed syncs.
In some cases, restarting the app temporarily resolves the problem, but this isn’t a reliable solution. It appears the issue might stem from either a client-side bug in the retry logic or a server-side timeout configuration. Checked Data Synchronization and Analytics | Community Health Toolkit Java documentation guide for reference .
Has anyone else experienced similar issues or found a workaround? We’d appreciate input from the community on debugging this further.
Additionally, is there any documentation or best practices for improving sync reliability in low-connectivity regions? Understanding how to prevent these errors and ensure data integrity would be a huge help!
Thank you !