Closed
Description
I am getting following error while making the connection to redis cluster and need to make ssl_check_hostname
False but not bale to do the same.
Fail to establish redis connection: Redis Cluster cannot be connected. Please provide at least one reachable node: Cannot set verify_mode to CERT_NONE when check_hostname is enabled.
Connection code
REDIS_DATABASE_TEST = redis.RedisCluster(
host=REDIS_HOSTNAME,
port=PORT,
password=REDIS_PASSWORD,
ssl=True,
decode_responses=True,
socket_timeout=5,
ssl_cert_reqs=u'none',
ssl_check_hostname=False, # Not working
)