scylladb / care-pet

Care Pet IoT ScyllaDB example
https://care-pet.docs.scylladb.com/
Apache License 2.0
47 stars 28 forks source link

Care Pet Guide Error: IO Error: No connections in the pool #123

Closed a-creation closed 1 year ago

a-creation commented 1 year ago

After starting three nodes using docker-compose up -d and ensuring the three nodes are in UN (up-normal) status, I run NODE1=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' carepet-scylla1) cargo run --bin migrate -- --hosts $NODE1 as stated in the guide. This results in Error: IO Error: No connections in the pool. This is all in the Rust directory of the repo.

I'm on a M1 Mac.

Screen Shot 2023-01-24 at 1 24 00 PM

tzach commented 1 year ago

Just validate the example on Fedroa and it works, so it might be M1 related.

tzach commented 1 year ago

Can you run

docker logs carepet-scylla1

and share any error?

Nsandomeno commented 1 year ago

I'm on intel mac and experiencing the same thing. I receive the boot-up logs when running that command above, but from clearing and attempting to run bin/migrate/main.rs over again, I see no new logs are generated from the attempt. This is probably a connectivity issue between localhost and the Docker network being used.

Nsandomeno commented 1 year ago

Read this conversation: https://groups.google.com/g/scylladb-users/c/rjz061ECJb8?pli=1

I'm looking into how these docker run arguments can be worked into the docker-compose.yml, but please let me know if either of you have any suggestions as well.