also check apiserver and elastic logs and find if there are any errors.
first, you need to make sure all containers are running normally. especially the clearml-elastic
, this container may restart every few seconds due to some errors. such situation may cause authorization issue.
Should I create the credential at the localhost server ?
i have same issue. solved by option 2.
i found the created credential will be missing.
then you delete the browser’s cookie and cache, log in webui again to check if the credential is still there.
based on my understanding, the key/secret is only for agent services on server side.
Hey, thanks. I missed this in the docker configuration. This seems to resolve the problem, however now clearml-agent-services
has authorization issues. In docker logs
:
Unauthorized (invalid credentials) (failed to locate provided credentials)
I have set the generated credentials in my clearml conf file and the agent-services config in the compose.
copy credential from webUI to ~/clearml.conf (linux)
Try below options:
sudo chown -R 1000:1000 /opt/clearml
in docker-compose.yaml
, elasticsearch -> volumes
Change- /opt/clearml/data/elastic_7:/usr/share/elasticsearch/data
TO- /opt/clearml/data/elastic_7:/var/lib/elasticsearch/data