Hello,
you have two issues: 1/ your docker setup is not working properly as you should not get a CSRF Failed error. Is it with every pages or only the API? Have you looked at the docker-compose setup at https://git.lavasoftware.org/lava/pkg/docker-compose/
2/ to set the ip address, create a dispatcher configuration file at /etc/lava-server/dispatcher.d/<dispatcher-hostname>/dispatcher.yaml and set dispatcher_ip to the right ip adress.
See https://lava.readthedocs.io/en/latest/technical-references/configuration/dis...
Rgds
Le mar. 26 janv. 2021 à 09:37, Seb Seb gomme600@gmail.com a écrit :
Hi, I am having a problem with using the transfer_overlays command for a dispatcher in docker. I cannot set the dispatcher ip no matter what I try. I have tried using the API here : " http://10.1.51.55/api/v0.2/workers/docker_dispatcher_hostname/config/" but I get this error when posting : ""detail": "CSRF Failed: CSRF token missing or incorrect.", I have tried another browser already. I have also tried creating a dispatcher.yaml file in these locations : /etc/lava-server/dispatcher.d/lava-dispatcher ; /etc/lava-server/dispatcher.d/ ; /etc/lava-server/dispatcher.d/lava-master. The ip I have set is simply ignored. Could anybody help please? Thanks _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users