HumanSignal / HumanSignal/label-studio-ml-backend

requests.exceptions.ConnectionError for tesseract

Open
#709 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.1k
Forks
490
Avg merge
1d 14h
Merged PRs (30d)
3

Description

I was trying to run the tesseract ML backend with the Label Studio on local

Env variables I am setting in direct docker-compose.yml file of tesseract

```
- LABEL_STUDIO_HOST=http://localhost:8080
- LABEL_STUDIO_ACCESS_TOKEN={my_access_token}
- LABEL_STUDIO_LOCAL_FILES_SERVING_ENABLED=true
- LABEL_STUDIO_LOCAL_FILES_DOCUMENT_ROOT=/label-studio/data/images
- LABEL_STUDIO_USE_REDIS=true
```

I ran the tesseract docker like this:

```
cd ../Label studio/label-studio-ml-backend/label_studio_ml/examples/tesseract
docker compose up
```

I am running label-studio like this:

```
label-studio
```

But I am getting this error:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /data/upload/3/76d57fb5-image.png (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))

How I can solve this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.