ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: elastic_transport.ConnectionError: Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError

Open siriusforgit opened this issue 1 week ago • 1 comments

Describe your problem

When I parse English documents, I get the following error: Paper with the parsing method selected, every time the OCR starts, it fails quickly, and then it tries again, and it fails after 3 times.

2025-02-18 22:01:00,653 ERROR 17 NotFoundError(404, 'index_not_found_exception', 'no such index [ragflow_942ba7d8ecff11ef9c410242ac120006]', ragflow_942ba7d8ecff11ef9c410242ac120006, index_or_alias) Traceback (most recent call last): File "/ragflow/api/apps/kb_app.py", line 305, in knowledge_graph sres = settings.retrievaler.search(req, search.index_name(kb.tenant_id), [kb_id]) File "<@beartype(rag.nlp.search.Dealer.search) at 0x7f37309552d0>", line 95, in search File "/ragflow/rag/nlp/search.py", line 95, in search res = self.dataStore.search(src, [], filters, [], orderBy, offset, limit, idx_names, kb_ids) File "/ragflow/rag/utils/es_conn.py", line 256, in search raise e File "/ragflow/rag/utils/es_conn.py", line 242, in search res = self.es.search(index=indexNames, File "/ragflow/.venv/lib/python3.10/site-packages/elasticsearch/_sync/client/utils.py", line 446, in wrapped return api(*args, **kwargs) File "/ragflow/.venv/lib/python3.10/site-packages/elasticsearch/_sync/client/init.py", line 3836, in search return self.perform_request( # type: ignore[return-value] File "/ragflow/.venv/lib/python3.10/site-packages/elasticsearch/_sync/client/_base.py", line 320, in perform_request raise HTTP_EXCEPTIONS.get(meta.status, ApiError)( elasticsearch.NotFoundError: NotFoundError(404, 'index_not_found_exception', 'no such index [ragflow_942ba7d8ecff11ef9c410242ac120006]', ragflow_942ba7d8ecff11ef9c410242ac120006, index_or_alias)

siriusforgit avatar Feb 19 '25 00:02 siriusforgit