I can't say what exactly the problem was, but adding nodes and kibana to the cluster using tokens rather than manually editing the configuration helped me.