Cannot preview or get links

Hello!
I’ve user the helm chart to install kobotoolbox in my server. ( GitHub - kobotoolbox/kobo-helm-chart: This project is new. We do not yet release stable versions. )
When I create a form and click on preview enketo cannot reach the form and I receive this message:

Request to ``https://kobotoolbox.hacklab.com.br/api/v2/asset_snapshots/s9k6whbhPPoc5ng88yMVwt/formList?formID=s9k6whbhPPoc5ng88yMVwt`` failed.

Also when I make it available the links are missing (string in English: “link missing” file jsapp/js/components/formLanding/formLanding.js)

I did a little debugging and it seams enketo cannot reach the form because is missing the cookies on the request is making to the kpi service.

Am I missing any envs vars?
I’ve already set
KOBOCAT_PROTOCOL: https
KOBOFORM_PROTOCOL: https
ENKETO_PROTOCOL: https
es recommended in one thread of this thread:

If you read this far: Thanks for the attention hope you can give me a little hand !

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

Problem 1 solved!
just added the env var:

  • name: SESSION_COOKIE_DOMAIN
    value: “.yourdomain.com”

And on my ingress entry:

nginx.ingress.kubernetes.io/proxy-cookie-samesite: “None”
nginx.ingress.kubernetes.io/proxy-cookie-secure: “true”.

Still with problem 2, no links available @stephenoduor

1 Like