公司有一台算力服务器,配置还可以,我想着装个 ragflow 玩玩,好不容易镜像都拉下来了,启动后各个容器都正常启动,但是 ragflow-server 服务一直报 ES 集群连接失败,我使用的是下面的 yml 文件启动:
docker-compose-gpu-CN-oc9.yml
报错内容:
Traceback (most recent call last):
File "/ragflow/rag/svr/task_broker.py", line 21, in <module>
from api.db.db_models import Task
File "/ragflow/api/db/db_models.py", line 33, in <module>
from api.settings import DATABASE, stat_logger, SECRET_KEY
File "/ragflow/api/settings.py", line 35, in <module>
from rag.utils import ELASTICSEARCH
File "/ragflow/rag/utils/__init__.py", line 19, in <module>
from .es_conn import ELASTICSEARCH
File "/ragflow/rag/utils/es_conn.py", line 457, in <module>
ELASTICSEARCH = HuEs()
^^^^^^
File "/ragflow/rag/utils/__init__.py", line 12, in _singleton
instances[key] = cls(*args, **kw)
^^^^^^^^^^^^^^^^
File "/ragflow/rag/utils/es_conn.py", line 24, in __init__
raise Exception("Can't connect to ES cluster")
Exception: Can't connect to ES cluster
网上说可以把认证关掉,但我觉得治标不治本,有没有遇到相同问题的小伙伴解决了这个问题的
|