ODK enketo form preview failing to load error (Could not connect with Form Server)

1. What is the issue? Please be detailed.
I have installed a new ODK central instance. I use upstream setting in .env since I have another nginx for reverse proxy. I have successifully been able to upload form but I cannot preview nor test submissoin using enketo. Here is the version

versions:
e4221ebeb41cd6ccb0cedad0461e5b603c207339 (v2024.3.2-1-ge4221eb)
 8b1de6512faa7a60c05764312caec01f5c138c42 client (v2024.3.2)
 7574030f7ea8750f3837950001a5efcdeba45b92 server (v2024.3.1)

2. What steps can we take to reproduce this issue?

  1. Upload a form and try to preview / test using enketo

3. What have you tried to fix the issue?

  1. I have redeployed and yet nothing worked.
  2. I have tried more than 3 forms and yet none worked.
  3. I disabled my firewall and still nothing worked so far.

4. Upload any forms or screenshots you can share publicly below.

This is the error I get.

sample odk form is:
ODK XLSForm Template.xlsx (577.0 KB)

Kindly support on this.

Hi @Jonas_George ,

This looks very familiar to what I ran into a few years ago: Forms not downloading or rendering on reverse-proxied, tunneled ODK Central server

Have you looked into that thread to see if any of the suggestions there work?

Additionally, this page in the documentation may also help.

A couple of questions:

  1. Can you download forms using a mobile device? This will tell you if it is limited to Enketo or generally an issue with the XLSForms.
  2. Have you tried looking at the docker compose logs to see where the error originates from?

Best of luck!

1 Like

Thanks @jniles.

I have had it working. I was missing some of the Upstream settings from the documentation. After reviewing your post I had to go through the installation guide again and I didn't have to do much for it to start working again.

Another necessary thing I did was to delete the whole installation (central folder) and start the new installation which brough the latest version as well.

Thanks again. Now all is working as expected.

2 Likes