Troubleshooting during installation

Problems with CORS on the webapp

If you have installed wire-server, but the webapp page in your browser has connection problems and throws errors in the console, make sure to check that you have configured the CSP_EXTRA_ environment variables.

In the file that you use as override when running helm install/update -f <override values.yaml>:

   # ... other settings...
     # ... other environment variables ...
     CSP_EXTRA_CONNECT_SRC: "https://*, wss://*"
     CSP_EXTRA_IMG_SRC: "https://*"
     CSP_EXTRA_SCRIPT_SRC: "https://*"
     CSP_EXTRA_DEFAULT_SRC: "https://*"
     CSP_EXTRA_FONT_SRC: "https://*"
     CSP_EXTRA_FRAME_SRC: "https://*"
     CSP_EXTRA_MANIFEST_SRC: "https://*"
     CSP_EXTRA_OBJECT_SRC: "https://*"
     CSP_EXTRA_MEDIA_SRC: "https://*"
     CSP_EXTRA_PREFETCH_SRC: "https://*"
     CSP_EXTRA_STYLE_SRC: "https://*"
     CSP_EXTRA_WORKER_SRC: "https://*"

See also example production overrides and the full list of webapp environment variables

Problems with ansible and python versions

If for instance the following fails:

ansible all -i hosts.ini -m shell -a "echo hello"

If your target machine only has python 3 (not python 2.7), you can tell ansible to use python 3 by default, by specifying ansible_python_interpreter:

# hosts.ini

server1 ansible_host=


(python 3 may not be supported by all ansible modules yet)

Flaky issues with Cassandra (failed QUORUMs, etc.)

Cassandra is very picky about time! Ensure that NTP is properly set up on all nodes. Particularly for Cassandra DO NOT use anything else other than ntp. Here are some helpful blogs that explain why:

How can I ensure that I have correctly setup NTP on my machine(s)? Have a look at this ansible playbook