skip to Main Content

not able to connect to redis in nodejs

First thing first, the details: node version: v16 Using redislabs cloud (v6.2.3) npm package redis version 4.0.3 Here's the code... const redis = require("redis"); require("dotenv").config(); const client = redis.createClient({ host: process.env.REDIS_URI, port: process.env.REDIS_PORT, password: process.env.REDIS_PASSWORD }); client.on("connect", () => {…

VIEW QUESTION

Engine_version: Redis versions must match <major>.x when using version 6 or higher, or <major>.<minor>.<bug-fix>

I have the following elasticache resource: resource "aws_elasticache_subnet_group" "main" { name = "${var.identifier}-sng" subnet_ids = var.subnet_ids } resource "aws_elasticache_cluster" "main" { cluster_id = var.identifier engine = "redis" node_type = var.node_type num_cache_nodes = var.nodes_count parameter_group_name = var.parameter_group_name engine_version = var.engine_version port…

VIEW QUESTION

Redisson client ; RedisTimeoutException issue

I am using Google cloud managed redis cluster(v5) via redisson(3.12.5) Following are my SingleServer configurations in yaml file singleServerConfig: idleConnectionTimeout: 10000 connectTimeout: 10000 timeout: 3000 retryAttempts: 3 retryInterval: 1500 password: null subscriptionsPerConnection: 5 clientName: null address: "redis://127.0.0.1:6379" subscriptionConnectionMinimumIdleSize: 1 subscriptionConnectionPoolSize:…

VIEW QUESTION
Back To Top
Search