[Question]: AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct? Failed to launch ragflow service from source
Self Checks
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (Language Policy).
- [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
- [x] 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
Did your password include some special charactor? What about changing to an easy one?
Did your password include some special charactor? What about changing to an easy one?
Thanks for your tip. Actually, I kept the default REDIS_PASSWORD = infini_rag_flow in the .env file. But the error is still exist.
Did your password include some special charactor? What about changing to an easy one?
The same error with default docker-compose.yml
The same error with default docker-compose.yml
I got this error too!
I got this error too!
It seems that there was a conflict between my local Redis and the Docker Redis. After I uninstalled my local Redis, the error disappeared.
Shut down your local redis will solve your problem