skip to Main Content

Redis – @user_script:1: WRONGTYPE Operation against a key holding the wrong kind of value

Following is my lua script if redis.call('sismember',KEYS[1],ARGV[1])==1 then redis.call('srem',KEYS[1],ARGV[1]) else return 0 end store = tonumber(redis.call('hget',KEYS[2],'capacity')) store = store + 1 redis.call('hset',KEYS[2],'capacity',store) return 1 when I run this srcipt in Java, An exception like @user_script:1: WRONGTYPE Operation against a key…

VIEW QUESTION

RedisInsight contains malware

I installed RedisInsight -win.1.2.0 a few days ago. I checked the Installation-Files with VirusTotal. Only one scanner reported an infection with a trojan. This seems to me as a false alarm. But today windows defender stopped the file. If i…

VIEW QUESTION

Connecting Redis localhost from Docker

I have a Node.js application where I use Redis, I am trying to connect the Docker container and the locally running Redis. Tried solutions: vim /usr/local/etc/redis.conf Updated bind 127.0.0.1 To bind 0.0.0.0 Stopped the redis and start it again and…

VIEW QUESTION
Back To Top
Search