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

Timeout after 10 seconds? #184

Closed
Deven-Biehler opened this issue Jun 10, 2023 · 1 comment
Closed

Timeout after 10 seconds? #184

Deven-Biehler opened this issue Jun 10, 2023 · 1 comment

Comments

@Deven-Biehler
Copy link
Contributor

Deven-Biehler commented Jun 10, 2023

Hi, Im getting an error during the Entity Linking when running the command: "docker-compose -f deployment/docker-compose-link.yml -p cosmos up".

The error is here:
"OSError: Timed out during handshake while connecting to tcp://scheduler:8786 after 10 s"

Full output here:
image
image

I have tried to extend the timeout time in the config/config.yaml file with the code:
“distributed:
Scheduler:
rpc:
timeout: 60”
with no luck.

Here is my .env file:

BASE_IMAGE=uwcosmos/cosmos-base
DETECT_IMAGE=uwcosmos/cosmos-ingestion
WORKER_IMAGE=uwcosmos/cosmos-ingestion
RETRIEVAL_IMAGE=uwcosmos/cosmos-retrieval
EXTRACTION_IMAGE=ankurgos/cosmos-extraction:latest
VISUALIZER_IMAGE=uwcosmos/visualizer_kb:latest
UPLOAD_IMAGE=iaross/cosmos-api:latest
API_IMAGE=iaross/cosmos-api:latest
LINKING_IMAGE=uwcosmos/cosmos-linking

DETECT_PROCS=1
WORKER_PROCS=8

DEVICE=cuda
RERANKING_DEVICE=cuda

SCHEDULER_ADDRESS=scheduler:8786
ELASTIC_ADDRESS=es01:9200
INPUT_DIR=../test/input
TMP_DIR=../test/mytmp
OUTPUT_DIR=../test/output
ELASTIC_DATA_PATH=../test/example_elastic_out

@Deven-Biehler Deven-Biehler changed the title Dask Timeout Timeout after 10 seconds? Jun 10, 2023
@iross
Copy link
Contributor

iross commented Jul 3, 2023

I've pushed a new version of the image which should resolve this. I also updated the docker-compose file, which was also using the deprecated nprocs argument.

@iross iross closed this as completed Jul 3, 2023
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

2 participants