
redis
卜困
大家一起喜羊羊
展开
-
--Redis入坑--RedisPipelineException:Pipeline contained one or more invalid commands;WRONGTYPE ...
异常说明最近在写代码的时候,redis报了如下错误:org.springframework.data.redis.connection.RedisPipelineException: Pipeline contained one or more invalid commands; nested exception is io.lettuce.core.RedisCommandException: WRONGTYPE Operation against a key holding the wrong k原创 2021-04-21 13:16:39 · 9368 阅读 · 0 评论 -
--Redis入坑2--jedis.exceptions.JedisConnectionException: Could not get a resource from the pool 解决方法
问题描述在我用jedis连接虚拟机上的redis(3.2.1)的6380端口时,发现报了如下错误:Exception in thread “main” redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool,然后用了之前的方法发现没用,就只能一步步排查了。排查思路首先查看对应的redis服务是否开启。查看服务开启的对应端口是否为配置文件中所指定的。(注意:我是用原创 2020-10-06 11:26:32 · 1701 阅读 · 0 评论 -
--Redis入坑--redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool
问题描述今天在测试连接到本地VM里的Redis时,发现给我报了个这么个错误:Exception in thread “main” redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool就很纳闷是啥子情况,明明本地防火墙iptables也配置了相关规则,端口已经开放了,然后连接地址和端口也没错,照道理是进得去的,可是偏偏又报了这个错误。相关规格参数名称版本本机系统原创 2020-08-03 22:11:53 · 763 阅读 · 0 评论