Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
david101-hunter opened this issue Mar 27, 2024 · 0 comments
Open

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

david101-hunter opened this issue Mar 27, 2024 · 0 comments

Comments

@david101-hunter
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant