![[Question]: AUTH called without any password configured for the default user. Are you sure your configuration is correct? Failed to launch r](https://www.chat-gpts.plus/wp-content/uploads/2026/07/5975-e51cac90.jpg)
[Question]: AUTH called without any password configured for the default user. Are you sure your configuration is correct? Failed to launch r
快速结论:这个报错通常发生在从源码启动 RAGFlow 服务时,Redis 认证失败。优先排查本地是否已经运行了一个 Redis 实例(与 Docker 启动的 Redis 冲突),关闭本地 Redis 服务通常可以解决问题。
问题场景
用户成功构建并运行了 RAGFlow Docker 镜像,但按照指南从源码启动服务时遇到 Redis 认证错误。.env 文件中已配置 Redis 密码(默认密码为 infini_rag_flow),错误仍存在。
报错原文
valkey.exceptions.AuthenticationError: AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?
2025-03-12 16:05:14,915 ERROR 3133708 RedisDB.queue_consumer rag_flow_svr_queue got exception: AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?
原因分析
可能原因:本地环境中已运行的 Redis 实例(非 Docker 容器内的 Redis)与 RAGFlow 服务连接时发生冲突。本地 Redis 默认没有配置密码,但 RAGFlow 源码启动时会尝试使用 .env 中配置的 Redis 密码进行认证,导致认证失败。
环境排查
- 确认本地是否已安装并运行 Redis 服务。
- 检查 .env 文件中的 REDIS_PASSWORD 配置项。
- 确认是否有其他 Redis 进程占用了默认端口(6379)。
解决步骤
- 检查本地 Redis 服务状态:
systemctl status redis或ps aux | grep redis。 - 如果本地 Redis 正在运行,停止该服务:
systemctl stop redis或sudo service redis-server stop。 - 重启 RAGFlow 服务,确认错误是否消失。
- 如果问题仍然存在,可优先尝试修改 .env 文件中 REDIS_PASSWORD 为简单密码(如 infini_rag_flow)后再试。
验证方法
停止本地 Redis 后,重新启动 RAGFlow 服务,查看日志中不再出现 AuthenticationError 报错,服务可以正常启动。



