Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application Crashes When MONITOR command is entered via console #424

Open
VamsiKrishna-av96 opened this issue Nov 27, 2020 · 1 comment
Open

Comments

@VamsiKrishna-av96
Copy link

scanning: 1: 1
setUpConnection (R:undefined:undefined:undefined) Redis error Error: Command queue state error. If you can reproduce this, please report it. Last reply: 0,
at DataHandler.shiftCommand (/usr/local/lib/node_modules/redis-commander/node_modules/ioredis/built/DataHandler.js:164:27)
at DataHandler.returnReply (/usr/local/lib/node_modules/redis-commander/node_modules/ioredis/built/DataHandler.js:50:27)
at JavascriptRedisParser.returnReply (/usr/local/lib/node_modules/redis-commander/node_modules/ioredis/built/DataHandler.js:21:22)
at JavascriptRedisParser.execute (/usr/local/lib/node_modules/redis-commander/node_modules/redis-parser/lib/parser.js:544:14)
at Socket. (/usr/local/lib/node_modules/redis-commander/node_modules/ioredis/built/DataHandler.js:25:20)
at Socket.emit (node:events:327:20)
at addChunk (node:internal/streams/readable:304:12)
at readableAddChunk (node:internal/streams/readable:279:9)
at Socket.Readable.push (node:internal/streams/readable:218:10)
at TCP.onStreamRead (node:internal/stream_base_commons:192:23)

/usr/local/lib/node_modules/redis-commander/node_modules/standard-as-callback/built/index.js:6
throw e;
^

TypeError: serverInfo.split is not a function
at /usr/local/lib/node_modules/redis-commander/lib/routes/apiv1.js:212:8
at tryCatcher (/usr/local/lib/node_modules/redis-commander/node_modules/standard-as-callback/built/utils.js:11:23)
at /usr/local/lib/node_modules/redis-commander/node_modules/standard-as-callback/built/index.js:19:49
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:93:5)
screenshot

sseide added a commit to sseide/redis-commander that referenced this issue Dec 2, 2020
@sseide
Copy link
Collaborator

sseide commented Dec 2, 2020

same reason why #385 is there. MONITOR command blocks current redis connection, therefore no other commands possible to redraw the tree view and so on (only one connection used for everything). By now MONITOR command will be blocked in cli and can be reenabled after #385 is solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants