node-redis icon indicating copy to clipboard operation
node-redis copied to clipboard

Redis Node.js client

Results 360 node-redis issues
Sort by recently updated
recently updated
newest added

### Description ## Steps to Reproduction 1. Create a Redis client and subscribe to a channel 2. Connection timeout occurs when connecting to the server 3. Wait for client to...

Bug

### Description I encountered an infinite loop while using the **SCAN** command with pattern matching in Redis via AWS ElastiCache. The issue arises when querying Redis for keys using a...

Bug

## Description When attempting to subscribe to Redis channels in a Redis Cluster environment, the client throws the following error: ```sh Cluster issue for channel: general:{So11111111111111111111111111111111111111112}:{4yrHms7ekgTBgJg77zJ33TsWrraqHsCXDtuSZqUsuGHb}. This is a known...

Bug

### Motivation When using the node-redis package in TypeScript, it's not immediately clear what the correct type for a Redis client should be. Currently, attempting to use the RedisClientType leads...

### Description When a pub/sub client reconnects to a host after an error or a socket disconnect, it attempts to resubscribe to previously subscribed channels: https://github.com/redis/node-redis/blob/33cdc007466b336f7f7c82669e8312d06df83a31/packages/client/lib/client/pub-sub.ts#L325-L345 It does this by...

Bug

### Description I need to perform a multi.mGet(...) but return values as Buffers. This works outside of multi: ``` client.mGet(commandOptions({returnBuffers:true}), ) ``` But fails with a type error for multi...

Bug

### Description Hello, I tried to use the sentinel mode in version 5.0.0-next.5 but I have a problem with this error when I use the createSentinel from @redis/client. I'm in...

Bug

### Description The RedisClientType type appears to be missing the on method. This causes a type-checking error when using `.on` to handle events. Below is an example that triggers the...

Bug

### Description In **Node.js versions >= 20.x**, forking child processes that import the Redis package while the application operates under the **FIFO CPU scheduling policy** causes both parent and child...

Bug

### Description Here is the exception: ``` "TypeError: Cannot read properties of null (reading 'length')\n at transformTuplesReply *** at transformStreamMessageReply (*** )\n at Array.map ()\n at transformStreamMessagesReply (***)\n at ***@redis/client/dist/lib/commands/generic-transformers.js:95:19\n...

Bug