-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: Exception: Can't connect to ES cluster #1135
Comments
Have you checked the FAQ document? |
where is it ? in README.MD. thanks. |
Make sure the code you pull and docker image you pull are on the same version. |
did you mean change the version from of Elastic products |
No. It refers to the version of RAGFlow docker image. |
Again, after git reset --hard HEAD, docker-compose -f docker-compose-base.yml, move out ragflow_erver.py out of the api file folder, then direct run
any idea? or any documents with this debug way. thanks. |
maybe is "" http://es01:9200)" in codebase debug level , the domain of http://es01 is not working , should be replaced with localhost or 0.0.0.0? |
Describe your problem
ping triggled exception for ever requesting from frontend.
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
Traceback (most recent call last):
File "/ragflow/rag/svr/task_executor.py", line 28, in
Traceback (most recent call last):
File "/ragflow/api/ragflow_server.py", line 26, in
from api.db.services.file2document_service import File2DocumentService
File "/ragflow/api/db/services/init.py", line 18, in
from api.apps import app
File "/ragflow/api/apps/init.py", line 26, in
from .user_service import UserService
File "/ragflow/api/db/services/user_service.py", line 22, in
from api.db.db_models import close_connection
File "/ragflow/api/db/db_models.py", line 32, in
from api.db.db_models import DB, UserTenant
File "/ragflow/api/db/db_models.py", line 32, in
from api.settings import DATABASE, stat_logger, SECRET_KEY
File "/ragflow/api/settings.py", line 35, in
from api.settings import DATABASE, stat_logger, SECRET_KEY
File "/ragflow/api/settings.py", line 35, in
from rag.utils.es_conn import ELASTICSEARCH
File "/ragflow/rag/utils/es_conn.py", line 460, in
from rag.utils.es_conn import ELASTICSEARCH
File "/ragflow/rag/utils/es_conn.py", line 460, in
ELASTICSEARCH = ESConnection()
File "/ragflow/rag/utils/init.py", line 12, in _singleton
ELASTICSEARCH = ESConnection()
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
instances[key] = cls(*args, **kw)
File "/ragflow/rag/utils/es_conn.py", line 24, in init
raise Exception("Can't connect to ES cluster")
any idea?
thanks.
maybe it is ES docker image related M1 issue only?
The text was updated successfully, but these errors were encountered: