Redis (error) ERR operation not allowed

all of a sudden my redis database started throwing errors on some connections:

(error) ERR operation not permitted 

I restarted the redis service and connected to it with the client using the correct auth key, it connects every time, but only allows db operations through the client only for a while.

+7
source share
1 answer

Try the following:

find the line specified in your redis configuration file to check if a password is set:

 requirepass foobared 

If this line is not commented out, you need to do this:

 $redis-cli redis 127.0.0.1:6379> AUTH foobared OK 
+11
source

All Articles