Skip to main content
Skip table of contents

CSRF Failed: Origin checking failed

After version 1.78 if running Valispace behind a reverse proxy, it’s possible to get the following error:

CODE
CSRF Failed: Origin checking failed - https://[domain] does not match any trusted origins.

 

To resolve the problem without modifying NGINX configurations in client side, this needs to be done:

  1. cd /var/valispace/docker

  2. echo 'SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "http")' >> valispace_local_settings.py

  3. ./valispace-manager.sh restart

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.