Node.js redis节点之间的Socket.io fetchSockets()错误

Node.js redis节点之间的Socket.io fetchSockets()错误,node.js,socket.io,socket.io-redis,Node.js,Socket.io,Socket.io Redis,我们在socket.io redis节点中使用server.fetchSockets()时遇到问题。当服务器调用此函数时,其他服务器会引发此异常: C:\path\node\u modules\socket.io redis\dist\index.js:212 response=JSON.stringify({ ^ TypeError:将循环结构转换为JSON -->从构造函数为“Pool”的对象开始 |属性'config'->构造函数为'PoolConfig'的对象 |属性“connectio

我们在socket.io redis节点中使用server.fetchSockets()时遇到问题。当服务器调用此函数时,其他服务器会引发此异常:

C:\path\node\u modules\socket.io redis\dist\index.js:212 response=JSON.stringify({ ^

TypeError:将循环结构转换为JSON -->从构造函数为“Pool”的对象开始 |属性'config'->构造函数为'PoolConfig'的对象 |属性“connectionConfig”->构造函数为“connectionConfig”的对象 ---属性“pool”关闭该循环 在JSON.stringify()上 在RedisAdapter.onrequest(C:\Users\pach\Documents\trace gaming\new\node\node\u modules\socket.io redis\dist\index.js:212:33) 在处理和拒绝时(节点:内部/处理/任务队列:94:5)

调用该函数的服务器将获得一个超时

发送和接收事件工作正常

socket.io 4.1.1 socket.io-redis 6.1.1