Skip to content

How to setup SSL=True and password with redis cluster ? #217

@riya-swagata

Description

@riya-swagata

Checklist

  • Python version -3.6
  • Using hiredis or just Python parser
  • Using uvloop or just asyncio event loop
  • Does issue exists against the master branch of aredis?

Steps to reproduce

from redis.cluster import RedisCluster as Redis
redis_client= StrictRedisCluster(startup_nodes=[{"host": redis_endpoint, "port": redis_port}], password=redis_pass,ssl=True,ssl_cert_reqs=None)
a=redis_client.set('foo', 'bar')
b= redis_client.get('foo')
print("hello i m value of foo"b)

Expected behavior

hello i m value of foo bar

Actual behavior

aws elastic cache
False
init connection pool
False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions