Description
Self Checks
- I have searched for existing issues search for existing issues, including closed ones.
- I confirm that I am using English to submit this report (Language Policy).
- Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
- Please do not modify this template :) and fill in all the required fields.
Describe your problem
I successfully built and ran the RAGFlow Docker image locally. However, when following the guidance to launch the service from source code, I encountered a Redis authentication error. The Redis passport are defined in the .env file. how to solve it?
`During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/xpa/project/ragflow/rag/utils/redis_conn.py", line 215, in queue_consumer
group_info = self.REDIS.xinfo_groups(queue_name)
File "/home/xpa/project/ragflow/.venv/lib/python3.10/site-packages/valkey/commands/core.py", line 3810, in xinfo_groups
return self.execute_command("XINFO GROUPS", name)
File "/home/xpa/project/ragflow/.venv/lib/python3.10/site-packages/valkey/client.py", line 564, in execute_command
conn = self.connection or pool.get_connection(command_name, **options)
File "/home/xpa/project/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 1107, in get_connection
connection.connect()
File "/home/xpa/project/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 314, in connect
self.on_connect()
File "/home/xpa/project/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 379, in on_connect
auth_response = self.read_response()
File "/home/xpa/project/ragflow/.venv/lib/python3.10/site-packages/valkey/connection.py", line 546, in read_response
response = self._parser.read_response(disable_decoding=disable_decoding)
File "/home/xpa/project/ragflow/.venv/lib/python3.10/site-packages/valkey/_parsers/resp2.py", line 15, in read_response
result = self._read_response(disable_decoding=disable_decoding)
File "/home/xpa/project/ragflow/.venv/lib/python3.10/site-packages/valkey/_parsers/resp2.py", line 38, in _read_response
raise error
valkey.exceptions.AuthenticationError: AUTH 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 called without any password configured for the default user. Are you sure your configuration is correct?
Traceback (most recent call last):
File "/home/xpa/project/ragflow/rag/svr/task_executor.py", line 170, in collect
redis_msg = next(UNACKED_ITERATOR)
StopIteration`