Skip to content

Can not run Toy model (scikit learn) deployment example #73

Open
@david101-hunter

Description

@david101-hunter

Hi

I setup step by step from official tutorial. However, I see some error like this

Retrying (Retry(total=239, connect=239, read=240, redirect=240, status=240)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d1efbb7a0>: Failed to establish a new connection: [Errno 111] Connection refused')': /auth.login
Retrying (Retry(total=238, connect=238, read=240, redirect=240, status=240)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d1ed6e540>: Failed to establish a new connection: [Errno 111] Connection refused')': /auth.login
Retrying (Retry(total=237, connect=237, read=240, redirect=240, status=240)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d1edb41d0>: Failed to establish a new connection: [Errno 111] Connection refused')': /auth.login
Retrying (Retry(total=236, connect=236, read=240, redirect=240, status=240)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d1edb4380>: Failed to establish a new connection: [Errno 111] Connection refused')': /auth.login
Retrying (Retry(total=235, connect=235, read=240, redirect=240, status=240)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d1edb4500>: Failed to establish a new connection: [Errno 111] Connection refused')': /auth.login
Retrying (Retry(total=234, connect=234, read=240, redirect=240, status=240)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d1edb4680>: Failed to establish a new connection: [Errno 111] Connection refused')': /auth.login

My configuration

  1. Dockerfile to build image
FROM python:3.12.2-bullseye


ENV LC_ALL=C.UTF-8

# install base package
RUN pip install --no-cache-dir clearml-serving

# get latest execution code from the git repository
# RUN cd $HOME && git clone https://github.com/allegroai/clearml-serving.git
COPY clearml_serving /root/clearml/clearml_serving

RUN pip install --no-cache-dir -r /root/clearml/clearml_serving/serving/requirements.txt

EXPOSE 8083

# environement variable to load Task from CLEARML_SERVING_TASK_ID, CLEARML_SERVING_PORT

WORKDIR /root/clearml/

ENTRYPOINT ["clearml_serving/serving/entrypoint.sh"]
  1. command run
docker run -v ~/clearml.conf:/root/clearml.conf -p 8083:8083 -e CLEARML_SERVING_TASK_ID=e3eedf53b3644582a3f4aa8604b76eea -e CLEARML_SERVING_POLL_FREQ=5 -e CLEARML_SERVING_PORT=8083 clearml-serving-inference:latest --network clearml_backend, clearml_frontend

How should fix this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions