valkey-py icon indicating copy to clipboard operation
valkey-py copied to clipboard

help needed: cluster client `Connection reset by peer`

Open amirreza8002 opened this issue 1 year ago • 0 comments

hi i've written a client for cluster servers in django-valkey the local tests using an installed valkey seem fine, but the CI breaks with this error:

valkey.exceptions.ValkeyClusterException: Valkey Cluster cannot be connected. Please provide at least one reachable node: Error while reading from 127.0.0.1:16380 : (104, 'Connection reset by peer')

the error link

the Ci is mostly copied from valkey-py: the compose file cluster dockerfile caching docker image running docker compose the tasks file

it's worth noting that wait-for-it.sh 16379 runs fine and shows that the server is up

this is the setting used for client. and these are the tests if needed.

my code simply instantiates the cluster client for connection.

i'd be thankful of any help or hint on how to fx this

amirreza8002 avatar Nov 28 '24 19:11 amirreza8002