socket.io-redis-adapter
socket.io-redis-adapter copied to clipboard
Adapter to enable broadcasting of events to multiple separate socket.io server nodes.
[email protected] [email protected] Calls made to the adapter methods as follows: ` const sockets = await io.of('/').adapter.sockets(); console.log(sockets); // a Set containing all the connected socket ids // this method is...
some links were broken in the table of contents and some didn't exist
My App works flawlessly using the ol' `[email protected]`. But after upgrading to `@socket.io/redis-adapter` (I tried all versions from `7.0.0`), the app gets this problem: ``` TypeError: object is not iterable...
Hello, Would it be possible to have/recreate a full Socket from fetchSockets instead of the partial RemoteSocket ? Currently, if the socket is not local, it lacks some EventEmitter methods...
Hello, I actually use redis adapter to improve scalability of my websocket application. When dispatching a message to a room containing a user(client) sometime this message is not received. I...
Hi, wondering if I am looking at this right. It seems that heroku implements redis version 6 or 7 (and no longer supports 4 and below) but when i look...
The latest release checks for Redis v4 but doesn't check if the user enabled legacyMode. If legacyMode is enabled, subscribe functions are causing errors. Unfortunately the Redis client API currently...
Using[ this snippet from the README](https://github.com/socketio/socket.io-redis-adapter#redisadapterallrooms), `const rooms = await io.of('/').adapter.allRooms();` Got a typescript error that allRooms does not exist on adapter ^^ Please update with what works to get...
Hey there, we are currently facing multiple issues with `fetchSockets()` in a Nest.js backend using `@socket.io/redis-adapter`. First, we tried to use `server.to("room").fetchSockets().then((socket) => ...)` to emit to all sockets across...
Getting following error `"socket.io": "^4.4.1"` `"@socket.io/redis-adapter": "^7.1.0"` ``` Apr 15 07:48:12 ip-172-31-30-80 web: REDIS ADAPTOR DISCONNECTED ON pubClient Error: read ECONNRESET Apr 15 07:48:12 ip-172-31-30-80 web: at TCP.onStreamRead (internal/stream_base_commons.js:209:20) {...