Open
Description
Description
After upgrade to 1.5.17 from 1.5.16 the connect function never returns.
host: clustercfg.XXXXXXXmemorydb.eu-north-1.amazonaws.com
port is: 6379
const options: RedisClusterOptions = {
rootNodes: [{
url:"rediss://" + this.config.redis.host + ":" + this.config.redis.port,
}]
,defaults: {
username: this.config.redis.username,
password: this.config.redis.password,
socket: {
tls: false
}
}
};
this.redis = createCluster(options);
console.log("Connecting to Redis Cluster: " + this.config.redis.host + ":" + this.config.redis.port);
this.redis.on("error", (err) => Logger.error("Redis Cluster Error"));
await this.redis
.connect()
.then(() => {
console.log("Connected to Redis Cluster: " + this.config.redis.host + ":" + this.config.redis.port);
})
.catch((err) => {
console.log("Error connecting to Redis Cluster: " + this.config.redis.host + ":" + this.config.redis.port);
exit(1);
});
Node.js Version
v20.15.0
Redis Server Version
Engine version 7.1
Node Redis Version
No response
Platform
AWS
Logs
No response