Relative Content

Tag Archive for node.jsredis

Redis [NOAUTH Authentication required] error in Node.js

Use node.js to connect to the Redis server running on AWS EC2. It works fine when connecting to the Redis server from outside, but if you run the server on an instance where Redis is running, the Redis connection log is the same, but you get an error when you try to inquiry and modify data.

how to save and set expire Redis entry with single comand

const { Client, Entity, Schema } = require(‘redis-om’); const id = await this.repository.save(…..); await this.repository.expire(id, 10000); but if server crash or something going wrong and .expire not get executed the record stack with No Limit TTL in Redis. Is there a way to save and set expire by single command: node.js redis

Not able to work with binary data (gzip) with Redis for Node.js

Description It’s impossible to retrieve the data; although it’s set correctly, when I attempt to decompress the data from Redis, I receive an error saying that the header is invalid. However, the data within Redis appears to be fine, and decompressing the original compressed data works without issues. As you can see, the data is […]