allegroai / clearml-server

ClearML - Auto-Magical CI/CD to streamline your AI workload. Experiment Management, Data Management, Pipeline, Orchestration, Scheduling & Serving in one MLOps/LLMOps solution
https://clear.ml/docs
Other
386 stars 134 forks source link

Clearml-agent: Error -> could not verify credentials #260

Open Paucaster3 opened 1 month ago

Paucaster3 commented 1 month ago

I have succesfully deployed the clearml-server on a Ubuntu 20.04LTS system. I've also installed the agent in the same computer. But when I try to initiate the clearml-agent running clearml-agent init, this is the output:

CLEARML-AGENT setup process

Please create new clearml credentials through the settings page in your clearml-server web app, or create a free account at https://app.clear.ml/settings/webapp-configuration

In the settings > workspace page, press "Create new credentials", then press "Copy to clipboard".

Paste copied configuration here: api { web_server: http://localhost:8085/ api_server: http://localhost:8008 credentials { "access_key" = "0WT3PQZW3DW*OR533UVMUO2K5" "secret_key" = "**" } } Detected credentials key="0WT3PQZW3DWOR533UVMUO2K5" secret="" WEB Host configured to: [http://localhost:8085/] API Host configured to: [http://localhost:8085/] File Store Host configured to: localhost:8081

ClearML Hosts configuration: Web App: API: http://localhost:8085/ File Store: http://localhost:8081

Verifying credentials ... Error: could not verify credentials: key=0WT3PQZW3DWOR533UVMUO2K5 secret=

I am doing anything wrong?

Regards,

Pau

jkhenning commented 1 month ago

Hi @Paucaster3,

Try setting export CLEARML_API_VERBOSE=1 before running this command and see if you get more information

Paucaster3 commented 1 month ago

After setting this export variable, the problem is gone. Thank you, although I don’t quite understand how it solves the problem.