You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does issue exists against the master branch of aredis?
yes
git clone [email protected]:NoneGG/aredis.git
cd aredis/
python3 setup.py install
Steps to reproduce
using the latest aredis v1.1.8, tried python 3.7,3.8,3.9 and downgraded aredis to lower versions as well ... same problem.
set up load cluster on mac
export REDIS_CLUSTER_IP=0.0.0.0
docker run -e "IP=0.0.0.0" -p 7000-7005:7000-7005 grokzen/redis-cluster:latest
ran the script below and i can connect to it (no ssl, auth, etc) and i can set/get a key
initializing the pool seems optional
output ...
local redis cluster
False
dict_keys([])
init connection pool
True
nodes:
127.0.0.1:7001
127.0.0.1:7004
127.0.0.1:7000
127.0.0.1:7003
127.0.0.1:7002
127.0.0.1:7005
True
True
b'bar' <== worked
True. <== pool got initialized whether i ask for it explicitly or not
###set-up a working cluster on aws elastic cache
My production go service running on istio/k8s works fine and can connect to aws elastic cache!
My production python admin service that used to work and connect to bitnami redis on kubernetes is now unable to work with aws elastic cache???
so i wrote this little script to debug ...
aws elastic cache
False
init connection pool
False
nodes:
it hangs on
await redis.connection_pool.initialize()
or
await redis.cluster_slots()
dumping the connection pool show no configured nodes, slots?
expected behavior is to get a map of nodes and slots.
in this case i am using TLS, and encryption.
connecting to aws elastic cache works using the cli
connecting to aws elastic cache works using the blocking client -> rediscluster.RedisCluster (redis-py-cluster)
update: i created an aws elasticcache cluster without "Encryption in transit" enabled and auth and it is working now. i will narrow down the problem further. but it seems to be related to encryption. also i had to remove ssl=True to make it work (i was getting an error).
Checklist
3.7
no
asyncio
master
branch of aredis?yes
git clone [email protected]:NoneGG/aredis.git
cd aredis/
python3 setup.py install
Steps to reproduce
using the latest aredis v1.1.8, tried python 3.7,3.8,3.9 and downgraded aredis to lower versions as well ... same problem.
set up load cluster on mac
export REDIS_CLUSTER_IP=0.0.0.0
docker run -e "IP=0.0.0.0" -p 7000-7005:7000-7005 grokzen/redis-cluster:latest
ran the script below and i can connect to it (no ssl, auth, etc) and i can set/get a key
initializing the pool seems optional
output ...
###set-up a working cluster on aws elastic cache
My production go service running on istio/k8s works fine and can connect to aws elastic cache!
My production python admin service that used to work and connect to bitnami redis on kubernetes is now unable to work with aws elastic cache???
so i wrote this little script to debug ...
Expected behavior
output is ...
dumping the connection pool show no configured nodes, slots?
expected behavior is to get a map of nodes and slots.
in this case i am using TLS, and encryption.
connecting to aws elastic cache works using the cli
connecting to aws elastic cache works using the blocking client -> rediscluster.RedisCluster (redis-py-cluster)
Actual behavior
The text was updated successfully, but these errors were encountered: