I am using a form on a self-hosted Central Server, which is very large. Online XML conversion of this form fails. However, we have used the "pyxform" offline converter and easily managed to bypass the issue. The form works perfectly on the "ODK Collect" app.
However, when opening on the web with the "Enketo" it is failing with Gateway time out error. and a message like "Unexpected token < in JSON at position 0" (Screenshot attached at the bottom).
Observations:
- The form could be opened on the "Enketo" a week back when it was slightly smaller(just 2-3 lines less from the present size)
- I am on Digitalocean and have scaled the droplet to "CPU optimised 32vCPUs and 64GB RAM" to check if the timeout stops occurring. It does not. I "htop"ed to see only one core out of 32 really works to open the form in Enketo and timeout occurs exactly at 60 sec
- The self-hosted central server works fine while handing other forms which are smaller
I suspect the timeout is due to NGINX 60sec default timeout. Is there a way to change the 60sec timeout setting?
Requesting the community to come up with some solution/workaround.
The XML is too large to attach here. Therefore providing a google docs link for the same:
The dependent .csv media files are attached here.
auditor_ip.csv (9.5 KB)
avi.csv (21.9 KB)
kishgrid.csv (920 Bytes)

