Closed ruipimentel closed 1 month ago
@ruipimentel Sounds like the same issue discussed in #1257, and also in clearml-server/#240.
clearml-server v1.15.1 should address this.
Indeed! I'm sorry, the keywords I used to search for existing issues totally missed this one.
Looking forward to the fix.
Thank you!
Describe the bug
When trying to log in to a self hosted ClearML server with a user specified in the documentation, I kept receiving HTTP error 401 (
Unauthorized
).I could only get the new users to work after a full reinstall (following this page until step 11) and creating
/opt/clearml/config/apiserver.conf
with hashed passwords BETWEEN steps 11 and 12, that is, beforedocker-compose -f /opt/clearml/docker-compose.yml up -d
.To reproduce
/opt/clearml/config/apiserver.conf
(e.g.,jane
with password123456
). Don't forget to restart ClearML server.tail -f /opt/clearml/logs/apiserver.log
to monitor when the server is done re-initializing, and to check whether the users are successfully created.http://localhost:8080
on your web browser.curl -u jane:123456 http://localhost:8008/auth.login
jane
with password123456
while tweaking users and passwords from step 2, then repeating steps 3 to 6. But it was only temporary, and after the next tweak, evenjane
couldn't log in anymore.Expected behaviour
In my opinion, ClearML server should successfully accept a new password after restarting with new settings in
apiserver.conf
. While it does seem to TRY to do that, apparently it fails unless installation is fresh.Environment
clearml
PIP package not installed