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
Hello, I Am Using Clearml On My Server That Is Located In Hamachi Vpn Network With Ip 25.X.X.X. Clearml Runs In Docker With Api_Server:

Hello, I am using ClearML on my server that is located in Hamachi VPN network with IP 25.x.x.x. ClearML runs in docker with api_server: http://172.x.x.x:8008 and same 172.x.x.x:8081 for images. Actually images are stored on 172.x.x.x address, but when I open ClearML in my browser, it is 25.x.x.x:80, and all images have broken links. How can I fix this?
If I open image in new tab and manually replace 172.x.x.x to 25.x.x.x it works, but I'd like to map it in web interface itself

  
  
Posted 3 years ago
Votes Newest

Answers 8


Hi MortifiedDove27 ,

do you use output_uri in your Task.init call?

Can you check the files server in the running task?

from clearml import StorageManager print(StorageManager.get_files_server())

  
  
Posted 3 years ago

No, even new started experiment is still creating images with 172.,
` cat ~/clearml.conf

ClearML SDK configuration file

api {
# Notice: 'host' is the api server (default port 8008), not the web server.
api_server:
web_server:
files_server: `

  
  
Posted 3 years ago

TimelyPenguin76 Thank you for posting this. I just realized that I changed wrong config. I changed the one on server, but I needed to change the one inside the docker container. Now all works. Thanks for help!

  
  
Posted 3 years ago

Do you mean the URLs of the previously reported images? These are fixed and will not change, the configuration change will only apply to newly reported images (and you don't have to restart the server 🙂 )

  
  
Posted 3 years ago

Thank you. I've changed clearml.conf, but url are remain with old ip. Do I need to restart ClearML or run any command to apply config changes?

  
  
Posted 3 years ago

👍

  
  
Posted 3 years ago

Hi MortifiedDove27 ,
The image URLs are actually encoded by the ClearML SDK when uploading the images, so your issue is probably the clearml.conf configuration file - when the ClearML SDK rune, it takes the files_server value and uses it to both upload the images, and create the URLs (which are later used by the UI).
I assume in your case, the ClearML SDK is running with files_server: http://172.x.x.x:8081 so the URLs that you get use this value, while the file server is exposed externally with https://25.x.x.x which is why you can get there when manually replacing the links

  
  
Posted 3 years ago

The solution is to make sure the ClearML SDK (using clearml.conf ) uses the actualy externally exposed address for the files_server so that registered images URL is constructed in a way that will allow externally-run UI to view the images.

  
  
Posted 3 years ago
1K Views
8 Answers
3 years ago
one year ago
Tags