Sync errors (Android app - 3.1.0 release)

Hi all,

After the last upgrade, our Android App users (all who upgraded to 3.1.0) are facing a sync issue. When they press the sync button, they receive the following error:

Then synchronization is NOT happening

Even when an user have a stable internet connection.
The issue replicates for each user (regardless of whether they’re using WiFi or mobile internet).

Everything worked fine with version 3.0.1.

The interesting observation: background synchronization still works. So, this bug occurs only when you try to manually sync the data.

1 Like

Hi @m.siusko!

We are having a look at this issue. Can you share the server DHIS2 version you have? Thank you!

1 Like

Hi @Pablo ,
Thank you for your prompt reply.
Wr are currently on 2.37.9.1

1 Like

@m.siusko We have identified the source of the issue and will be fixing it as soon as possible. We’ll share the jira ticket when it’s created :slight_smile:.

2 Likes

Hi @m.siusko,

we reason behind this error is an API endpoint that does not exist in certain patch releases. For the development of the application we always take into account the most recent patch for each major release (i.e, for 2.37 we take 2.37.10), those are the versions we guarantee compatibility with. This new endpoint was introduced in 2.37.10, it didn’t exist in 2.37.9.1 and this is why is failing.

We have created a Jira ticket to fix it, but my recommendation would still be to update to the most recent patch version (2.37.10), not only because of this bug but other fixes.

2 Likes

Hi @vgarciabnz ,
I appreciate your comment on this. The main reason we haven’t updated to version 2.40+ is that these higher versions don’t support filters (date and organization units) on dashboards for the Event Report and Event Visualizer Apps. Please correct me if I’m wrong, but so far as I know, on 2.40+ versions of the System filters (on Dashboard) work only with Data Visualizer. Could you please recommend the best stable version that supports such filtering? This version should also be one of those long-supported by your side. Our main criteria is long-term stable functionality for our users.

1 Like

Hi @m.siusko,

I didn’t mean to upgrade the DHIS2 version but update to the latest patch version (from 2.37.9.1 to 2.37.10). There shouldn’t be any functional change when updating the patch version, just bug fixing.

Regarding your comment about the filters on dashboards, maybe someone from the analytics team could help on this.

2 Likes

UPD.
The issue seems to be fixed in 3.1.0.1. HOT FIX
TY for all your effrorts!

1 Like