1. What is the problem? Be very detailed.
Setup recent Central on Debian server(OVH) Apache servs as reverse Proxy in order to allow Geoserver and our LAMP frontend to run on the same machine, Web frontend works as expected.
root@ns3849011:/home/debian/central# docker-compose ps
Name Command State Ports
central_postgres_1 docker-entrypoint.sh postgres Up 5432/tcp
enketo docker-entrypoint.sh /bin/ ... Up 8005/tcp
enketo_redis_cache docker-entrypoint.sh redis ... Up 6379/tcp
enketo_redis_main docker-entrypoint.sh redis ... Up 6379/tcp
mail /bin/entrypoint.sh exim -b ... Up 25/tcp
nginx /bin/bash /scripts/odk-set ... Up (healthy) 0.0.0.0:4443->443/tcp,:::4443->443/tcp, 0.0.0.0:4480->80/tcp,:::4480->80/tcp
pyxform waitress-serve --port=80 - ... Up
secrets docker-entrypoint.sh ./gen ... Exit 0
service docker-entrypoint.sh ./wai ... Up 8383/tcp
Testing or downloading any uploaded form fails with the mentioned "Could not connect" message in the tab for Enketo.
2. What app or server are you using and on what device and operating system? Include version numbers.
Central 1.2, Debian 10, Docker version 20.10.6, build 370c289
3. What you have you tried to fix the problem?
Restart docker, use different forms(incl. old ones, that did work on Aggregate)
4. What steps can we take to reproduce the problem?
Get a generic Debian server, no cloudservice but a dedicated machine, have a LAMP parallel on it, and try run Central with docker and see, if Enketo does work.
5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
nginx log after trying to do stuff with a form:
nginx | 80.187.115.137 - - [26/May/2021:19:54:26 +0000] "GET /v1/test/aeqqVuqex0cHoP70XMcu$w3mqKctnRW8XmxR1fOtp!0fwwvEJi!IhEtt9xeb6sRH/projects/3/forms/acsi_firstpayment/draft/formList HTTP/1.1" 200 485 "-" "org.odk.collect.android/v1.30.1 Dalvik/2.1.0 (Linux; U; Android 11; SM-A405FN Build/RP1A.200720.012)"
nginx | 93.227.214.145 - - [26/May/2021:19:55:02 +0000] "GET /v1/projects HTTP/1.1" 200 709 "https://odk.ourdomain:4443/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0"
nginx | 93.227.214.145 - - [26/May/2021:19:55:02 +0000] "GET /v1/users HTTP/1.1" 200 579 "https://odk.ourdomain:4443/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0"