QAnything [BUG] < title>develop1.5版本 milvus insert error上传文件失败

du7egjpx  于 5个月前  发布在  其他
关注(0)|答案(1)|浏览(115)

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
milvus insert error
如题


具体保错:
2024-08-09 07:25:07,048 - [PID: 197][Sanic-Server-0-0] - [Function: process_data] - ERROR - milvus insert error: Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 1025, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs)
File "uvloop/loop.pyx", line 2039, in create_connection
File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspace/QAnything/qanything_kernel/dependent_server/insert_files_serve/insert_files_server.py", line 129, in process_data
chunks_number, insert_time_record = await retriever.insert_documents(local_file.docs, chunk_size)
File "/workspace/QAnything/qanything_kernel/utils/general_utils.py", line 146, in inner
res = await func(*args, **kwargs) # 注意这里使用 await 来调用异步函数
File "/workspace/QAnything/qanything_kernel/core/retriever/parent_retriever.py", line 189, in insert_documents
return await self.retriever.aadd_documents(embed_docs, backup_vectorstore=self.backup_vectorstore,
File "/workspace/QAnything/qanything_kernel/core/retriever/parent_retriever.py", line 107, in aadd_documents
res = await self.vectorstore.aadd_texts(texts, metadatas, **kwargs)
File "/workspace/QAnything/qanything_kernel/utils/general_utils.py", line 146, in inner
res = await func(*args, **kwargs) # 注意这里使用 await 来调用异步函数
File "/workspace/QAnything/qanything_kernel/connector/embedding/embedding_for_online_client.py", line 38, in aembed_documents
results = await asyncio.gather(*tasks)
File "/workspace/QAnything/qanything_kernel/connector/embedding/embedding_for_online_client.py", line 28, in _get_embedding_async
async with session.post(self.url, json=data) as response:
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 1197, in aenter
self._resp = await self._coro
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 581, in _request
conn = await self._connector.connect(
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 544, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 944, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/usr/local/lib/python3.10/site-packages/aiohttp

相关问题