问题原因看起来很清楚,就是这句: ERR Client sent AUTH, but no password is set

它的意思就是redis服务器没有设置密码,但客户端向其发送了AUTH请求,于是把程序中所有jedis发送授权的地方都去掉,可是发现异常还是存在!!简直无语了

最后想起在tomcat中还有同步session到redis的配置,这里还设置了password,而且即使是空“”也不行。把整个password干掉,重启,ok啦!

另外:关于redis的启动方式:

1、指定配置文件 $: ./redis-server /usr/local/redis.conf

2、不指定配置:$: ./redis-server &

不指定配置文件启动时采用默认配置,无密码

redis通过属性requirepass 设置访问密码,但没有设置该属性时,客户端向服务端发送AUTH请求,服务端就好返回异常:ERR Client sent AUTH, but no password is set

redis异常解决:JedisDataException: ERR Client sent AUTH, but no password is set相关推荐

  1. 【Redis】redis JedisDataException: ERR Client sent AUTH, but no password is set

    1.概述 redis连接不上 Exception in thread "redis listener thread" redis.clients.jedis.exceptions. ...

  2. 解决问题redis问题:ERR Client sent AUTH, but no password is set

    解决问题redis问题:ERR Client sent AUTH, but no password is set 参考文章: (1)解决问题redis问题:ERR Client sent AUTH, ...

  3. ERR Client sent AUTH, but no password is set. channel: [id: 0xfca52a0c, L:/1

    原文:https://blog.csdn.net/iw1210/article/details/72428824 ERR Client sent AUTH, but no password is se ...

  4. win10 中redis client提示 ERR Client sent AUTH,but no password is set

    [问题原因] Redis服务器没有设置密码,但客户端向其发送了AUTH(authentication,身份验证)请求. [解决办法] 确定Redis启动时指定是哪个配置文件 如上图是 redis.wi ...

  5. RedisClient 连接redis 提示 ERR Client sent AUTH, but no password is set

    使用redisclient连接redis出现上图的错误 在配置中已经找到requirepass修改了密码,但是还是出现上图错误.在网上找了资料在dos设置 出现上图红框中的错误,研究了半天也没有解决. ...

  6. : ERR Client sent AUTH, but no passw redis解决

    开发中 springboot连接redis springboot:redis报错io.lettuce.core.RedisCommandExecutionException: ERR Client s ...

  7. springboot:redis报错io.lettuce.core.RedisCommandExecutionException: ERR Client sent AUTH, but no passw

    一.报错原因:下载安装的redis默认是没有密码的. 所以在项目中配置文件中,连接redis,配置了密码.就会报错. 二.解决:给redis设置密码 1.命令窗口,进入到redis所在的目录下 2.然 ...

  8. redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set

    这种情况往往是设置密码后忘记重启redis服务来生效了,所以 解决方案是: service redis restart

  9. 【异常】redis.clients.jedis.exceptions.JedisDataException: ERR unknown command ‘PSETEX‘

    [异常]redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'PSETEX' 参考文章: (1)[异常]red ...

最新文章

  1. C++ string详解
  2. boost::replace_copy_if相关的测试程序
  3. 文件系统管理相关命令
  4. 实现输入提示 layui_ASP.NET Core SignalR :学习消息通讯,实现一个消息通知
  5. IntelliJ IDEA + Maven环境编写第一个hadoop程序
  6. matplotlib polar 雷达图
  7. H5中CSS3动画的性能优化
  8. hdu1861 游船出租【模拟】
  9. IEEE COMMUNICATIONS LETTERS 写作Latex模板
  10. AirPrint 基础知识
  11. 停车小程序,智能停车场小程序,智能停车源码
  12. http状态码4XX与5XX?
  13. MySQL计算天数差
  14. 404报错:The origin server did not find a current representation for the target resource解决的两种办法
  15. PMBOK(第六版) PMP笔记——《十三》第十三章(项目干系人管理)
  16. 《认文识字•简述》【小结】
  17. 我的机器学习支线「模型复杂度」
  18. Use of Deep Learning in Modern Recommendation System: A Summary of Recent Works(笔记)
  19. Blender软件使用Maps Models Importer插件导入Google地图3d模型(非常简单)
  20. 多波次导弹发射中的规划问题(二)

热门文章

  1. Unexpected key(s) in state_dict: module.backbone.bn1.num_batches_tracked
  2. 循环神经网络(RNN)原理通俗解释
  3. boost库之tcp server(异步)
  4. python随机补边缘border
  5. Juniper SRX340防火墙恢复出厂设置
  6. PMP-【第1章 引论】-2020-12-07(18页-24页)
  7. pycharm怎么写yaml_K8S 如何面向 Yaml 编程
  8. java多线程编程同步方法_实践【Java多线程编程核心技术】系列:同步方法造成的无限等待...
  9. 二叉树c语言程序插入某个成员,关于C ++:二叉树:插入节点算法
  10. 数据源架构模式之表数据入口