If accessing the page {PUBLIC_BASE_URL}/ray/#/overview gives you 502 Bad Gateway error, there probably is an IP misconfiguration.
To double-check the problem, inspect the logs of ray-head service. First, make sure you are in the folder where the Giotto OS docker-compose.yml file is located, then:
sudo docker compose logs -f ray-headIf the logs show some errors, like the following one, then ray-head service is failing.
Make sure that the .env file, where all the environment variables are set, the RAY_HEAD_IP matches with the IP of your machine. To check the IP of your machine, run:
hostname -IWhen you have successfully updated RAY_HEAD_IP in your .env file, run:
sudo docker compose down ray-head
sudo docker compose up -d ray-head --force-recreate
sudo docker compose up -d g-deploy-init --force-recreate After a couple of minutes, you should see Ray up and running and something running in the "Recent jobs" panel.
Comments
0 comments
Article is closed for comments.