Hey I have another question:
How to I use gunicorn in api server?
I see that during the build in the entrypoint.sh you have an env called “CLEARML_USE_GUNICORN”
How do I use it in the helm charts or do I need to build a custom image?
I can add some configurable value then ASAP 👍 will do in next days
JuicyFox94 for reference, as with all configuration values set through the configuration files, this can also be set by env vars, like so: CLEARML__APISERVER__AUTH__COOKIES__MAX_AGE=86400
representing a day in seconds
I’m guessing if I can set it trough Helm chart by default, will investigate by the end of the week, ty ScrawnyLion96 to point me on this interesting behavior!
You can. The server setting for that is auth.cookies.max_age: <int value>
in the apiserver.conf
file
maybe change the session cookie to 24 hours?
I had an old cookie from an old deployment that’s why it didn’t recognize my user…
Returned 400 for users.get_current_user in 3ms, msg=Invalid user (failed loading user)
Can you show the logs for the apiserver pod?
simple helm install, didn’t change anything in values
ScrawnyLion96 did you install the chart as explained in the repository's readme?
This looks like the webapp can't communicate with the apiserver
When I deployed it without cloning the repo the menu was visible, but I need the charts locally
users.get_preferences
users.get_current_user
Post reqs fail…
Interesting, try hitting F12 and refreshing the page. See if there are any errors in the console.