描述你的问题:
[警告] [2024-04-19 16:18:02,544] [_transport.perform_request] [行号:395]:在失败后重试请求(尝试3次)
Traceback (most recent call last):
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/elastic_transport/_transport.py", line 328, in perform_request
meta, raw_data = node.perform_request(
^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py11/lib/python3.11/site-packages/elastic_transport/_node/_http_urllib3.py", line 202, in perform_request
raise err from None
elastic_transport.ConnectionError:由连接错误引起的:NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fd492f53ed0>: Failed to establish a new connection: [Errno 111] Connection refused)
[警告] [2024-04-19 16:18:02,546] [_node_pool.mark_dead] [行号:249]:节点 <Urllib3HttpNode( 在连续4次失败后,将超时设置为8秒
但是:
curl http://127.0.0.1:1200
{
"name" : "es01",
"cluster_name" : "rag_flow",
"cluster_uuid" : "urFFAOYGSjGue_CWCj5enw",
"version" : {
"number" : "8.11.3",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "64cf052f3b56b1fd4449f5454cb88aca7e739d9a",
"build_date" : "2023-12-08T11:33:53.634979452Z",
"build_snapshot" : false,
"lucene_version" : "9.8.0",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
4条答案
按热度按时间zd287kbt1#
它可能会遇到服务限制。
9cbw7uwe2#
在本地尝试设置时也遇到了相同的问题。@KevinHuSh 服务限制是什么?
7vux5j2d3#
我遇到了完全相同的问题,按照这里的建议重启docker-compose解决了问题:#348(评论)
oxiaedzo4#
在本地尝试设置时遇到了相同的问题。@KevinHuSh 服务限制是什么?
我的意思是,由于内存或CPU不足,机器无法提供服务。