Unable to preview forms

Hello Team,

I am running a self-hosted instance of kobotoolbox and facing an issue whose solution seems far off from me.
When I click on preview on a form, I get an error: ee.domain.name: refused to connect.
However, when I visit https://ee.domain.name, the site opens without an error.

How do I fix this?

Welcome back to the community, @odhiambo! Pinging @stephenoduor for your support on this.

Thank you very much for looking into this. However, Stephen never has time so I will just wait for insights from the other members of the community.

There must be a way to debug this issue, no?

I tried changing DJANGO_DEBUG=False to DJANGO_DEBUG=True, restarted the containers and then ran `python3 run.py --logs` but that did not show anything helpful.

Which particular container should I be focusing on?
How can I capture information that’s useful to finding the cause of the problem?

TIA