redis-proxy icon indicating copy to clipboard operation
redis-proxy copied to clipboard

Redis-proxy command error

Open SureshSc opened this issue 11 years ago • 1 comments

My redis-proxy setup working fine with Master Slave setup But when i m listening to port 9999 (default setting port) and try to do get operation or other like info, monitor i am getting below error. Please help me to rectify this error. /Output/ info: mutating command info: server:localhost:6399

/usr/local/lib/node_modules/redis-proxy/lib/server.js:60 return conn.sendRaw(command, cb); ^ TypeError: Object #<RedisClient> has no method 'sendRaw' at /usr/local/lib/node_modules/redis-proxy/lib/server.js:60:17 at take (/usr/local/lib/node_modules/redis-proxy/node_modules/connection_pool/lib/connection_pool.js:53:12) at Server.sendCommand (/usr/local/lib/node_modules/redis-proxy/lib/server.js:55:20) at RedisProxy.readsToSlaves (/usr/local/lib/node_modules/redis-proxy/lib/redis_proxy.js:105:23) at Socket. (/usr/local/lib/node_modules/redis-proxy/server.js:30:17) at Socket.EventEmitter.emit (events.js:95:17) at Socket. (stream_readable.js:746:14) at Socket.EventEmitter.emit (events.js:92:17) at emitReadable (_stream_readable.js:408:10) at emitReadable (_stream_readable.js:404:5)

SureshSc avatar Jan 18 '14 07:01 SureshSc

Please have a look in to my setup

/home/suresh └─┬ [email protected] ├── [email protected] ├─┬ [email protected] │ ├── [email protected] │ ├── [email protected] │ └─┬ [email protected] │ ├── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ ├── [email protected] │ └── [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├── [email protected] │ └── [email protected] ├─┬ [email protected] │ └── [email protected] ├─┬ [email protected] │ ├── [email protected] │ └── [email protected] ├─┬ [email protected] │ └── [email protected] ├── [email protected] ├── [email protected] └─┬ [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected]

└── [email protected]

suresh@ubuntu:~$ ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] My error still same

info: mutating command info: server:localhost:6399

/usr/local/lib/node_modules/redis-proxy/lib/server.js:60 return conn.sendRaw(command, cb); ^ TypeError: Object #<RedisClient> has no method 'sendRaw' at /usr/local/lib/node_modules/redis-proxy/lib/server.js:60:17 at take (/usr/local/lib/node_modules/redis-proxy/node_modules/connection_pool/lib/connection_pool.js:53:12) at Server.sendCommand (/usr/local/lib/node_modules/redis-proxy/lib/server.js:55:20) at RedisProxy.readsToSlaves (/usr/local/lib/node_modules/redis-proxy/lib/redis_proxy.js:105:23) at Socket. (/usr/local/lib/node_modules/redis-proxy/server.js:30:17) at Socket.EventEmitter.emit (events.js:95:17) at Socket. (stream_readable.js:746:14) at Socket.EventEmitter.emit (events.js:92:17) at emitReadable (_stream_readable.js:408:10) at emitReadable (_stream_readable.js:404:5)

SureshSc avatar Jan 20 '14 05:01 SureshSc