redis.exceptions.ResponseError: unknown command 'module'
See original GitHub issueHi,
So basically trying to reproduce what @simonprickett did here except that i’m doing it on Redis cloud instead of locally or using a venv or docker or whatever.
So i’ve managed to successfully write to the redis db cloud after properly configuring REDIS_OM_URL to point at the proper endpoint x credentials, now when I perform a rediSearch query ex:
Adoptable.find(Adoptable.name == "Poppy").all()
I get the error
redis.exceptions.ResponseError: unknown command 'module'
Another way of reproducing the above is as follows:
from redis import ResponseError
try:
Adoptable.find(Adoptable.name == "Poppy").all()
except ResponseError as e:
print(e)
I’ve googled the above type of error but all i see is the same type of error but the word ‘module’ being swapped by different terms (ex: like JSON.GET whose solution was to include redisJSON) Any help is appreciated, thank you.
PS: yes i have created my database by properly including modules rediSearch and redisJSON.
ahmad
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (7 by maintainers)
Top Related StackOverflow Question
Oh now it works. !! Thanks a lot @simonprickett … I had to kill all ports running 6379 (had like 5 running for no reason or maybe because i did something previously on my laptop like redis-server start)
Thanks a lot man !
Can you share a project repo URL that I can look at and try and reproduce?
Also try stopping all the containers with
docker psthendocker stop <id>, and restart using my Docker Compose. That will make sure the right container’s on 6379.