Sync error when downloading cases from CS Web using Data Viewer

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Post Reply
aem1984
Posts: 4
Joined: May 1st, 2019, 5:52 am

Sync error when downloading cases from CS Web using Data Viewer

Post by aem1984 » May 15th, 2019, 6:49 am

Hello,

We have set up CSWeb, and publishing and deploying android Capi android apps to the server has worked fine, as has connecting the tablets via CS Entry and sending the completed surveys from the tablets to the CSWeb server. However, we are getting an error message with the final stage of downloading the completed tablet cases from the server from within the Data Viewer.

When I select "download" from the file menu within Data Viewer and then select "CSWeb", then enter the address of the web server and click "connect" it finds the survey on the server and lists the number of completed tablet cases. However, when I then select a location and name for the csdsb file in "Save as" and click the "download" button I get the following message "Error connecting to sync server". (See a screenshot attached).

If anyone knows how to resolve this issue, then any advice would be greatly appreciated.
Attachments
server connect.jpg
server connect.jpg (31.5 KiB) Viewed 327 times
sync error.jpg
sync error.jpg (18.84 KiB) Viewed 327 times

aem1984
Posts: 4
Joined: May 1st, 2019, 5:52 am

Re: Sync error when downloading cases from CS Web using Data Viewer

Post by aem1984 » May 15th, 2019, 10:48 am

We have also noticed that the version of PFF file which is downloaded from the CSWeb server appears to be version 7.0 not 7.2. (See attached screenshot).

When we try downloading case data from dropbox, the PFF is version 7.2 and we have no sync error messages.
Attachments
PFF.jpg
PFF.jpg (85.61 KiB) Viewed 319 times

josh
Posts: 1916
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Sync error when downloading cases from CS Web using Data Viewer

Post by josh » May 17th, 2019, 7:32 am

It is hard to tell from that message alone. It could be anything from a bad network connection to an issue with the configuration on your server.

Please look at the sync.log on the machine that you are running DataViewer on. It will be in the folder C:\Users\<your username>\AppData\Roaming\CSPro\ This file should have extended error information.

You should also check the Apache/PHP error logs on your server to see if there is any additional information there.

The pff file version does not matter in this case. CSWeb generates the download pff differently from Dropbox so the version is different.

Post Reply