Open nikneural opened 1 year ago
Did you configure CLEARML_API_ACCESS_KEY
and CLEARML_API_SECRET_KEY
using key/secret you generated in the WebApp Profile section?
Did you configure
CLEARML_API_ACCESS_KEY
andCLEARML_API_SECRET_KEY
using key/secret you generated in the WebApp Profile section?
Yeap
And the access key showing in the log matches the one you specified?
And the access key showing in the log matches the one you specified?
Yes, I see the key that I passed
OK, can you try issuing this command using the same credentials?
curl -u "<key>:<secret>" http://clearml-apiserver:8008/auth.login
Make sure you use the correct apiserver address.
OK, can you try issuing this command using the same credentials?
curl -u "<key>:<secret>" http://clearml-apiserver:8008/auth.login
Make sure you use the correct apiserver address.
I got this:
{"meta":{"id":"1a7a7406920249f0b2fd69cf6cc921cb","trx":"1a7a7406920249f0b2fd69cf6cc921cb","endpoint":{"name":"auth.login","requested_version":"2.23","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"token":"BIG TOKEN"}
I'm having the same problem. @jkhenning what do you mean by webapp section?
I meant where did you take the key and secret from 🙂
% Total % Received % Xferd Average Speed Time Time Time Current 2023-01-18 16:41:55 Dload Upload Total Spent Left Speed 100 294 100 294 0 0 49000 0 --:--:-- --:--:-- --:--:-- 49000 2023-01-18 16:41:55 http://fileserver:8081 http://webserver:8080 http://clearml-apiserver:8008 2023-01-18 16:41:56 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv 2023-01-18 16:41:56 {"meta":{"id":"7ae388d14fe1460f8a4117abc23f2868","trx":"7ae388d14fe1460f8a4117abc23f2868","endpoint":{"name":"debug.ping","requested_version":"2.23","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"msg":"ClearML server"}}Using environment access key CLEARML_API_ACCESS_KEY=RTLEDYVSE68275W4FUGY 2023-01-18 16:41:56 Using environment secret key CLEARML_API_SECRET_KEY=******** 2023-01-18 16:41:56 2023-01-18 16:41:56 clearml_agent: ERROR: Failed getting token (error 401 from http://clearml-apiserver:8008): Unauthorized (invalid credentials) (failed to locate provided credentials)
It is my agent-services in docker-compose.yml:
`agent-services: networks:
networks: backend: driver: bridge frontend: driver: bridge `