标签:http 解决 启动 led err one img failed code
报错内容:
elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x111dcb4e0>: Failed to establish a new connection: [Errno 61] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x111dcb4e0>: Failed to establish a new connection: [Errno 61] Connection refused)
数据库中一部分表可以修改,一部分表无法修改,刚开始以为是模型的问题,后来【仔细】读了报错内容,发现是因为elasticsearch没启动!!!
之所以一部分表可以修改,一部分表无法修改,因为有些表没在检索范围,而有的表在检索范围,无法新建索引。
解决:
开启 elasticsearch
sudo docker container start elasticsearch
确认一下是否成功打开
sudo docker container ls
再次测试,问题解决
标签:http 解决 启动 led err one img failed code
原文地址:https://www.cnblogs.com/ykit/p/11953508.html