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, I Try To Run Locally

Hi, I try to run locally clearml-server and clearml-serving to create inference endpoint that utilize Triton server. So far I had port issues so I changed clearml-serving-inference outbound port to 9090. But after that I get the following issue:

clearml-serving-triton        | Retrying (Retry(total=237, connect=237, read=240, redirect=240, status=240)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f02a2602250>: Failed to establish a new connection: [Errno 111] Connection refused')': /auth.login

Is there any best practices for running both services locally? What kind of configuration I suppose to do?
I already tried to set ~/clearml.conf with access_key and provide it in example.env but it didn't help. Maybe Ido something wrong with host:port configurations. Thanks!

  
  
Posted one year ago
Votes Newest

Answers 60


seems true

root@9f6a74ab9a27:~/clearml# curl 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The method is not allowed for the requested URL.</p>
root@9f6a74ab9a27:~/clearml# curl 

curl: (7) Failed to connect to localhost port 8081: Connection refused
root@9f6a74ab9a27:~/clearml# 
  
  
Posted one year ago

how d you start a docker-compose?

docker-compose --env-file example.env -f docker-compose.yml up -d
  
  
Posted one year ago

It throws the same error

  
  
Posted one year ago

When i run this it says can't run multi containers

  
  
Posted one year ago

and my ~/clearml.conf

api { 
    web_server: 

    api_server: 

    files_server: 

    # test 3
    credentials {
        "access_key" = "91SFEX4BYUQ9YCZ9V6WP"
        "secret_key" = "4WTXT7tAW3R6tnSi8hzSKNjgkmgUoyv22lYT2FIzIfLoeGERRO"
    }
} 
  
  
Posted one year ago

serving

  
  
Posted one year ago

I haven't followed it so closely, but let me check

  
  
Posted one year ago

image

  
  
Posted one year ago

I can make a PR if it works

  
  
Posted one year ago

but it actually looks ok

  
  
Posted one year ago

Yep this is fine

  
  
Posted one year ago

image

  
  
Posted one year ago

But I'm getting a timeout issue, when i docker-compose up 😢

  
  
Posted one year ago

except access_key of course, they should be yours

  
  
Posted one year ago

So edited ik accordance with yours

  
  
Posted one year ago

Ignore the quotes I've tried with quotes itself first

  
  
Posted one year ago

Now when i docker compose again

  
  
Posted one year ago

Did you get the same as well?

  
  
Posted one year ago

like None ?

  
  
Posted one year ago

I wonder if I just need to join 2 docker-compose files to run everything in one session

Actually that could also work

But for reference, when I said IP i meant the actual host network IP not the 127.0.0.1 (which is the same as localhost)

  
  
Posted one year ago

so it works with

  
  
Posted one year ago

you are right, for some reason it doesn't resolve inside a container

root@dd0252a8f93e:~/clearml# curl 

curl: (7) Failed to connect to localhost port 8008: Connection refused
root@dd0252a8f93e:~/clearml# curl 

curl: (7) Failed to connect to 127.0.0.1 port 8008: Connection refused
root@dd0252a8f93e:~/clearml# 
  
  
Posted one year ago

my example.env

CLEARML_WEB_HOST="
"
CLEARML_API_HOST="
"
CLEARML_FILES_HOST="
"
CLEARML_API_ACCESS_KEY="91SFEX4BYUQ9YCZ9V6WP"
CLEARML_API_SECRET_KEY="4WTXT7tAW3R6tnSi8hzSKNjgkmgUoyv22lYT2FIzIfLoeGERRO"
CLEARML_SERVING_TASK_ID="450231049bba42f69c6507cb774f7dc6 
  
  
Posted one year ago

would IP help instead?

  
  
Posted one year ago

I have to step away for a couple of hours
please let me know if you find something wrong

  
  
Posted one year ago

I don't thing WEB_HOST is important, but what about FILE_HOST?
do I need to change it accordingly?

  
  
Posted one year ago

maybe I'm missing something with credentials?

  
  
Posted one year ago

I changed port here:

clearml-serving-inference:
    image: allegroai/clearml-serving-inference:latest
    container_name: clearml-serving-inference
    restart: unless-stopped
    ports:
      - "9090:8080"
  
  
Posted one year ago

It should also work with host IP and two docker compose files.
I'm not sure where to push a for a unified docker compose?

  
  
Posted one year ago

do I need to change anything else?

  
  
Posted one year ago