How to setup redis cluster with django on digital ocean?

Posted November 23, 2020 996 views

I followed every tutorial related to redis cluster but failed to connect the database with my local env, I’m using window but time out or connection refused error occurs.

I tried PostgreSQL cluster its works fine with my local env.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there @digitvlhub,

Note that with the Managed Redis Clusters you need to connect over TLS. I believe that for Djago you need to change the connection from redis:// to rediss://.

Note the extra s

Let me know how it goes.