Open NJITman opened 5 years ago
I'll check if configuration supports.
Hello @NJITman, did you tried using rediss://... protocol with an additional s in the connection URI? This extension is based on node.js library node_redis. This link contains the reference for what I'm suggesting: https://github.com/NodeRedis/node_redis#rediscreateclient
Are you using the host or url property in your API call? AWS only provides a URL to the Redis cluster. I tried entering redis://cluster_url, rediss://cluster_url, redis://cluster_url:6379 and rediss://cluster_url:6379. They all fail - suspect timeout.
From the link you provided:
host | 127.0.0.1 | IP address of the Redis server port | 6379 | Port of the Redis server path | null | The UNIX socket string of the Redis server url | null | The URL of the Redis server. Format: [redis[s]:]//[[user][:password@]][host][:port][/db-number][?db=db-number[&password=bar[&option=value]]] (More info avaliable at IANA).
Does the redis.json configuration file support SSL connections? Our AWS redis cluster has SSL enabled and I cannot connect to it via your extension (tried ports 6379 and 6380). We use a Redis GUI client that has the ability to set SSL for the connection and it only works if SSL is enabled. Let me know if I am missing something.