i can’t preview form here via inspect
vendors-848999cc1089fd2136be.js:409 Mixed Content: The page at ‘https://kf.mel.titbserver.com/#/forms/ayteFBUhf2YhJ3E2KYqJRF/landing’ was loaded over HTTPS, but requested an insecure frame ‘http://ee.mel.titbserver.com/preview/i/oEKnixvw’. This request has been blocked; the content must be served over HTTPS.Understand this error
Welcome back to the community @nim! It seems like you may need to reach out to your sysadmin team to sort out this issue as you are on a private KoboToolbox server.
Thank you for your response.
Yes, this is a private KoboToolbox server and I am currently troubleshooting it myself. I found that the issue seems related to Enketo using HTTP instead of HTTPS.
Current error in browser console:
“Mixed Content: The page at https://kf.mel.titbserver.com was loaded over HTTPS, but requested an insecure frame http://ee.mel.titbserver.com/…”
Inside the KPI container, I found:
ENKETO_URL=http://ee.mel.titbserver.com
I believe it should be:
ENKETO_URL=https://ee.mel.titbserver.com
However, I cannot locate the active/generated environment file because the template files already contain the correct HTTPS value.
Could you please advise:
-
Which generated config file actually controls the runtime ENKETO_URL value in newer kobo-docker installations?
-
Is rerunning
python3 run.py --setupthe recommended/safe approach on a production server for regenerating HTTPS config?
Thank you.
@nim, pinging @stephenoduor for your support here!
