
Reputation
Badges 1
13 × Eureka!Unfortunately I have the same error, but just to make sure:
before this addition I only had the following in my apiserver.conf
auth {
# Fixed users login credentials
# No other user will be able to login
fixed_users {
enabled: true
pass_hashed: true
users: [
{
username: "user.name"
password: "blabla"
name: "User Name"
},
]
}
}
and now after the addition:
``...
it seems that config.skipFileServer
: true
and that's why he skips the convertToReverseProxy(url))
.
where can I change that value?
WebApp: 2.1.0-664 • Server: 2.1.0-664 • API: 2.32
I mainly have problem with debug samples as now i manage to see some plots that were created with plt.imshow()
. But I still don't see any kind of debug samples (images, audio, txt etc.) with the same 401 error.
So it's weird how some images from the file server can be accessed while other files can't.
When I ran the following code:
task = Task.init(project_name='DevOps/debug-subproject', task_name='test-task6')
task.logger.report_media(
title='audio',
series='tada',
iteration=1,
local_path='./audio-sample.mp3'
)
task.close()
and then in the UI when I look in developer tools I see that it tried to access:
do you mean I should add the following to /opt/clearml/config/apiserver.conf
:
auth {
cookies {
httponly: true
secure: true
domain: ".my.domain"
max_age: 99999999999
}
}
based on these docs
from clearml import Task
def _get_user_mapping(self):
# type: () -> dict
"""
Get mapping from user IDs to usernames
"""
res = Task._get_default_session().send_request("users", "get_all")
if not res.ok:
print("Warning: Cannot get list of all users, will use user IDs")
return {}
all_users = res.json()["data"]["users"]
return {d["id"]: d["name"] for d in all_users}
no didn't use that,
Do you suggest the following?
cookies {
httponly: true
secure: true
domain: ".my.domain"
max_age: 99999999999
samesite: Lax
}
tried it, nothing has changed.
Where can I find it?
if you mean /opt/clearml/logs/apiserver.log
then it logrotates every one hour so I'm unable to get those logs right now unless I restart the service, is there another way to check that?
@<1523701070390366208:profile|CostlyOstrich36>
root@clearml:/opt/clearml/config# docker-compose -f /opt/clearml/docker-compose.yml up -d
WARNING: The CLEARML_AGENT_GIT_USER variable is not set. Defaulting to a blank string.
WARNING: The CLEARML_AGENT_GIT_PASS variable is not set. Defaulting to a blank string.
Creating network "clearml_backend" with driver "bridge"
Creating network "clearml_frontend" with driver "bridge"
Creating clearml-redis ... done
Creating clearml-fileserver ....