Open rishindoshi opened 2 years ago
Hello, sorry for the late reply.
Were you able to connect using plain redis-py
?
I know this is a recurring subject with django-redis
and perhaps some more documentation should be written about it.
I invite you to have a look here #497 and in case open a PR for pointing this out in the documentation
Hey everyone hope you're doing well!
I have a Django application on v3.2.11 and I'm trying to hook it up to a redis cache using this package. Testing the application with a local instance of redis works perfectly, but when trying to connect to a remote redis instance I have hosted on Digital Ocean, I keep getting the "Connection close by server" error.
My settings.py cache config is set up as follows:
Another thing of note is that I'm able to connect to the remote redis instance via
redis-cli
, but only if I add the--tls
option. If I don't run it with--tls
, then I get the same "Connection closed by server" error on the command line.Any help on this would be much appreciated!