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!
Oh, sorry! both user_key and user_secret are with a single underscore :)
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
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
Is this after doing a user login in the UI?
btw - if you didn't login, the UI probably used a previous token. changing the session secret might have messed that up 🙂
Can you show exactly what you changed in the docker compose?
no. apparently changing these variables causes something to fail.
are you sure you're using the latest docker images?
No it doesn’t work from entirely new browser too. 😞
As this is a staging instance. let me remove and deploy without these changes.
Ok I think I might have found the problem.
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 🙂
It’s probably unrelated 😬 I’ll keep you posted.
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
CLEARML__SECURE__HTTP__SESSION_SECRET__APISERVER
Does this one need to be changed?
Oh well it doesn’t work for me then… I keep getting errors.
Well, it should appear (if you cleared all cookies)
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)
CLEARML__SECURE__HTTP__SESSION_SECRET__APISERVER
No, this is unrelated
