The error does not occur when using a just 2 single connections to one of 3 masters or there is no redis setup at all, jsut a single server...
0|index | TypeError: pub.send_command is not a function
0|index | at Redis.clients (D:\Development\GIT\Quintessa\Quintessa\node_modules\socket.io-redis\index.js:438:9)
0|index | at D:\Development\GIT\Quintessa\Quintessa\src\back-end\io\admin-sockets-namespace\events\signout\index.js:15:26
0|index | at Socket.<anonymous> (D:\Development\GIT\Quintessa\Quintessa\src\back-end\io\index.js:93:17)
0|index | at Socket.emit (events.js:311:20)
0|index | at Socket.EventEmitter.emit (domain.js:482:12)
0|index | at D:\Development\GIT\Quintessa\Quintessa\node_modules\socket.io\lib\socket.js:528:12
0|index | at processTicksAndRejections (internal/process/task_queues.js:79:11)
0|index | 8256 Tue, 26 May 2020 17:39:46 GMT [MetalDust]: TypeError: pub.send_command is not a function
0|index | at Redis.clients (D:\Development\GIT\Quintessa\Quintessa\node_modules\socket.io-redis\index.js:438:9)
0|index | at D:\Development\GIT\Quintessa\Quintessa\src\back-end\io\admin-sockets-namespace\events\signout\index.js:15:26
0|index | at Socket.<anonymous> (D:\Development\GIT\Quintessa\Quintessa\src\back-end\io\index.js:93:17)
0|index | at Socket.emit (events.js:311:20)
0|index | at Socket.EventEmitter.emit (domain.js:482:12)
0|index | at D:\Development\GIT\Quintessa\Quintessa\node_modules\socket.io\lib\socket.js:528:12
0|index | at processTicksAndRejections (internal/process/task_queues.js:79:11)
I tried to investigate with the following code, I hope it helps. It seems like pub/sub between servers doesnt work ?
Hello,
I'm using redis-clustr to initialize a clustr connection providing only a server list (host, port).
Packages
Code
Redis
My setup is 3 masters with the with the following conf files:
Error
The error does not occur when using a just 2 single connections to one of 3 masters or there is no redis setup at all, jsut a single server...
I tried to investigate with the following code, I hope it helps. It seems like pub/sub between servers doesnt work ?
Output:
And new error after push.send_command: