socketio / socket.io-adapter

The Socket.IO in-memory adapter
https://socket.io/
197 stars 101 forks source link

v. 2.5.4 timeout reached while waiting for fetchSockets response #87

Closed cesco69 closed 8 months ago

cesco69 commented 8 months ago

Hi, i have @socket.io/redis-adapter at version ^8.2.1. Yesterday, after a pnpm install the peer dependencies socket.io-adapter was updated from 2.5.2 to 2.5.4:

image

after this update, this, line of coce:

io.of(`/${namespace}`).in(room).fetchSockets()

throw error

timeout reached while waiting for fetchSockets response
darrachequesne commented 8 months ago

Hi! I'm not sure this is related to this change.

The "timeout reached" error is thrown when one of the server of the cluster becomes unresponsive. Does the fetchSockets() always fail, or is it a temporary failure?