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 Everyone! I’M Trying To Set Up Clearml Server Behind Aws Cloudfront (This Is A Kinda Standard Solution For Our Company), And When I Try To Run Some Agent Python Script From My Machine (Like One Below)

Hi everyone!
I’m trying to set up ClearML server behind AWS Cloudfront (this is a kinda standard solution for our company), and when I try to run some agent python script from my machine (like one below)

from clearml.backend_api.session.client import APIClient

if __name__ == '__main__':
    client = APIClient()
    project_list = client.projects.get_all(name="example*")
    print(project_list)

I’m getting error from Cloudfront. As I can see it’s related to projects.get_all request , and the library sends GET request with body, instead of POST (and that’s why Cloudfront refusing it - it don’t allow GET with body)
Can you give me an advice, can I do something with it? Maybe change something to send this request as POST from the python library…

  
  
Posted 14 days ago
Votes Newest

Answers 4


Hi @<1686184974295764992:profile|ClumsyKoala96> , why do you need to use CloudFront (CDN) at all?

  
  
Posted 14 days ago

It works, thank you so much @<1523701070390366208:profile|CostlyOstrich36> !

  
  
Posted 14 days ago

Hi, to be short - it’s standard way in a company to establish some HTTP server and handle HTTPS traffic. So other way is to go for a fight with devops and security team to remove this…

  
  
Posted 14 days ago

Hi @<1686184974295764992:profile|ClumsyKoala96> , you can set CLEARML_API_DEFAULT_REQ_METHOD to POST and that should work - None

  
  
Posted 14 days ago
49 Views
4 Answers
14 days ago
14 days ago
Tags