are you sure you're using the latest docker images?
It’s probably unrelated 😬 I’ll keep you posted.
Ok I think I might have found the problem.
Is this after doing a user login in the UI?
Well, it should appear (if you cleared all cookies)
no. apparently changing these variables causes something to fail.
Awesome info! Thanks!
What env variable should I use?
Also maybe I can block unauthenticated access to that endpoint too, I guess clearml-agent doesn’t use it!
CLEARML__SECURE__HTTP__SESSION_SECRET__APISERVER
No, this is unrelated
CLEARML__SECURE__HTTP__SESSION_SECRET__APISERVER
Does this one need to be changed?
I might be wrong about the company_id 🙂 - but in case I'm wrong, you'll see it quickly since you won't be able to login with new users to the UI 🙂
Env vars for the webserver:
USER_KEY: some access key USER_SECRET: some secret key COMPANY_ID: "d1bd92a3b039400cbafc60a7a5b1e52b"
Env vars for the apiserver:
CLEARML__SECURE__CREDENTIALS__WEBSERVER__USER__KEY: same as the above key CLEARML__SECURE__CREDENTIALS__WEBSERVER__USER__SECRET: same as the above secret
Oh well it doesn’t work for me then… I keep getting errors.
No it doesn’t work from entirely new browser too. 😞
As this is a staging instance. let me remove and deploy without these changes.
Oh, sorry! both user_key and user_secret are with a single underscore :)
Can you show exactly what you changed in the docker compose?
SuccessfulKoala55 I’m getting 405 on api calls with the configuration you proposed. (btw I think USER_KEY is right, with a single underscore)
Well, actually it's used by both ClearML SDK and agent since both start with credentials but generate a token as soon as possible (more secure and faster)
I’m using cloud-ready helm chart (with some modifications)
So for api-server deployment:
The login prompt doesn’t appear (I tried removing cookies and all too)
yep it was unrelated.. sorry
Thanks for your help
ah ok. So only solution is changing the hardcoded one…
I will be looking into docs to find the right env variable. If you know it I’d appreciate you telling me 😄 SuccessfulKoala55
