Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi! We Are Self-Hosting Clearml On Kubernetes (Installed Using Helm Chart V7.11.0). We Are Unable To Download Model Artifacts From The Clearml Ui. The Download Works From The Python Client, But The Ui Gives Auth Errors. See Attachments. I Found A Couple

Hi! We are self-hosting ClearML on Kubernetes (installed using Helm chart v7.11.0). We are unable to download model artifacts from the ClearML UI. The download works from the Python client, but the UI gives auth errors. See attachments.

I found a couple of default basic auth credentials for the file server in the ClearML values.yaml file here and here . When I tried with one of them, I got an error saying only Bearer token is supported:

$ curl -u "${USER}:${PASS}" 

Only bearer token authorization is supported

Does the Python SDK have logic built in to obtain a bearer token when making requests to the file server? How can we get downloads to work from the ClearML UI? Would appreciate your help, thanks!
image
image

  
  
Posted 4 months ago
Votes Newest

Answers 2


Hi @<1716987943555436544:profile|BeefyDolphin18> , the SDK does indeed use a token, as does the UI. The UI has the token stored in a cookie, which should be sent to the fileserver by the browser when making the request. I suspect that the cookie domain in your case is not your domain name (qscape.app) but a more specific subdomain for the webapp (probably clearml-app.qscape.app?)
You can easily check that by looking at the cookies set for the clearml webapp in the browser and check the domain setting there.
The .Values.clearml.cookieDomain setting in the clearml chart value overrides will allow you to specify the correct domain (this should be your base domain, so probably qscape.app) - once you do that and redeploy the server, you can log out of the UI, log back in and the cookie should be set and available to the fileserver.

  
  
Posted 4 months ago

@<1523701087100473344:profile|SuccessfulKoala55> That was it! Thank you so much for pointing me in the right direction! 🙌

  
  
Posted 4 months ago
371 Views
2 Answers
4 months ago
4 months ago
Tags
Similar posts