Native Mobile App Synchronization Timeout - Local Testing

4
Hi, We are currently working with a native mobile application and were applying changes when we came across a strange occurrence. We applied replaced a nanoflow with a different nanoflow that did almost exactly the same, but then when we re-ran the application to update it the native application timed out. I turned on stack trace on the ConnectionBus_Retrieve logs and my Studio Pro (v9.12.0) froze and I had to force shut it down. When we applied the previous nanoflow the application ran correctly.   I attempted to use a breakpoint to identify where the execessive retrieve was taking place, but the breakpoint did not even get hit. When we updated the application to revert it back to the old nanoflow we could see that another action was indeed running in the background causing the native application to crash:   Cannot update the application model because some actions are still running. Waiting 5 seconds for them to finish. Network request failed construct@[native code] p@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:37:352 s@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:35:363 construct@[native code] http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:414:7177 u@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:414:7815 http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:414:18797 y@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:12:587 http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:12:1892 y@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:12:587 o@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:12:1068 http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:12:1240 f@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:117:155 http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:117:864 k@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:122:536 x@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:122:934 callImmediates@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:122:3023 value@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:61:2847 http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:61:1023 value@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:61:2539 value@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:61:993 value@[native code] value@[native code] Could temporarily not synchronize data. Please try again later. construct@[native code] p@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:37:352 s@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:35:363 construct@[native code] http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:7:3056 n@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:7:4606 http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:7:75647 y@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:12:587 http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:12:1892 y@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:12:587 o@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:12:1068 http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:12:1240 f@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:117:155 http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:117:864 k@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:122:536 x@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:122:934 callImmediates@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:122:3023 value@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:61:2847 http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:61:1023 value@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:61:2539 value@http://<ip_address>:8083/index.bundle?platform=android&dev=false&minify=true&app=com.mendix.developerapp.mx9&modulesOnly=false&runModule=true:61:993 value@[native code] value@[native code] The new nanoflow does not change any of the synchronization rules, nor does it run any additional synchronizations / synchronize to device actions.    The nanoflow is called within a nanoflow. The same permissions are applied in the different nanoflows.   Has anyone experienced anything like this before? Could the nanoflow be corrupted?    
asked
1 answers
0

I identified and resolved the issue.

In the nanoflow which was being applied there was a retrieval of an entity that was not in the Native configuration synchronization yet.

As a result, introducing this entity within the frame of reference of the Native app a rule must have been introduced in the background that caused all of the entity’s objects to be synchronized (or at least the synchronization was attempted).

Once I removed this entity from the nanoflow the issue was resolved and the Native app ran well.

 

Note: Despite the entity was being used in the Native app (within a nanoflow), no entry was added to the synchronization configuration setup.

answered