socket.io-redis-adapter
socket.io-redis-adapter copied to clipboard
Adapter to enable broadcasting of events to multiple separate socket.io server nodes.
When I use callbacks and I follow this pattern `client-1 -> server -> client-2 -> callback-to-server -> callback-to-client-1` the adapter appears to send messages twice to client-2. Here is replication...
Hi Team, I'm facing issue with fetchSockets() When I'm calling function fetchSockets() it's throwing following error. `Cannot read properties of undefined (reading 'then')\n at RedisAdapter.getNumSub ` It's going inside following...
```diff dependencies: - @socket.io/redis-adapter 8.2.1 + @socket.io/redis-adapter 8.3.0 ``` ``` /Users/pnodet/backend/node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@socket.io/redis-adapter/dist/sharded-adapter.js:27 class ShardedRedisAdapter extends socket_io_adapter_1.ClusterAdapter { ^ TypeError: Class extends value undefined is not a constructor or null at Object....
A critical vulnerability was detected in `ws` and fixed yesterday. Please update dependencies here with new version. Related task in socket.io: https://github.com/socketio/socket.io/issues/5051 Should be a simple fix: bump the dependencies...
The adapter constructor always adds an error to the redis clients here: https://github.com/socketio/socket.io-redis-adapter/blob/cdb55353f83c78cabe9788683e4dd93ac4cd50c9/lib/index.ts#L193 The handler just logs a warning if there are no other error handlers it ``` if (this.listenerCount("error")...
related: https://github.com/socketio/socket.io-redis-adapter/issues/407 the `publishOnSpecificResponseChannel` config should also improve [namespace.serverSideEmit()](https://socket.io/docs/v4/server-api/#namespaceserversideemiteventname-args) code change similar to: https://github.com/socketio/socket.io-redis-adapter/commit/f66de114a4581b692da759015def0373c619aab7#diff-d5a4b3a0309f2337144861084c1014523cced561eb722cb9684c63f5e41e0567R391-R395 GitHub CI test passed: https://github.com/dr-js/socket.io-redis-adapter/actions/runs/8614387767
I'm encountering an unexpected error when utilizing the socket.io/redis-adapter in my application. Below are the error logs for your reference: **Environment:** - Node.js Version: 18.15.0 - Redis Instance Version: redis:7.0.11-alpine...
I'm encountering an unexpected error when utilizing the socket.io/redis-adapter in my application. Below are the error logs for your reference: Environment: Node.js Version: v20.9.0 Redis Instance Version: AWS ElastiCache 7.0.7...
We're encountering a timeout error when attempting to use the remoteJoin function from the socket.io-redis adapter. The error occurs when a client initially connects to the default (main) namespace, and...