Hi QuaintPelican38 , the http://apiserver:8008 is the correct setting, as this is the address of the apiserver docker-compose service in the internal docker network
As for your original error, see https://clear.ml/docs/latest/docs/clearml_agent#setting-server-credentials .
I'll make sure we add a reference to it in the AWS setup guide.
Oh wow thanks SuccessfulKoala55 , so sorry I didn’t think to check the agent docs! 😅
EDIT: Turns out in that AMI, the dockerfile has:agent-services: networks: - backend container_name: clearml-agent-services image: allegroai/clearml-agent-services:latest restart: unless-stopped privileged: true environment: CLEARML_HOST_IP: ${CLEARML_HOST_IP} CLEARML_WEB_HOST: ${CLEARML_WEB_HOST:-} CLEARML_API_HOST:
CLEARML_FILES_HOST: ${CLEARML_FILES_HOST:-}
So I changed# CLEARML_API_HOST:
CLEARML_API_HOST: ${CLEARML_API_HOST:-}
And now the error line has changed to:clearml-agent-services | clearml_agent: ERROR: Connection Error: it seems *api_server* is misconfigured. Is this the ClearML API server http://{my instance's IPv4 address}:8008 ?
I.e. it’s printing out the right API host address (the same one configured in my local machine’s clearml.conf file), but apparently unable to access it