You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zihua Li edited this page Feb 28, 2022
·
3 revisions
By default, after connecting to the Redis server, ioredis sends an "INFO" command to the server in order to:
Make sure the connection actually works.
Make sure the Redis server is ready to accept commands. For example, the server may be not available when it just started and is still loading data from disks, and in this case, ioredis will wait until the server finishes loading.
This way, ioredis won't perform the ready check. So the flow looks like:
emit "connect" event -> emit "ready" event
NOPERM
When you got this warning, it means the server disallows the current user to invoke the "INFO" command. You can either disable ready check at all or give the current user the permit for the "INFO" command: https://redis.io/topics/acl.