‘The client noticed that the server is not a supported distribution of Elasticsearch‘ error and solution

Keith
2 min readSep 27, 2021

The django project is running very well, but suddenly the interface query error.

{
“code”: 400102,
“message”: “请求错误”,
“data”: {
“detail”: “The client noticed that the server is not a supported distribution of Elasticsearch”
}
}

Search Baidu there is no result, just search Google Query to the news link

Links:

The main meaning is that in order to fight aws, es no longer supports the apach 2.0 open source protocol in the new version.

https://www.oschina.net/news/154014/aws-fork-clients-of-elasticsearch

Therefore, it is necessary to reduce the dependency version of the es client of the python project or adopt the open source version of opensearch newly pulled by aws. However, opensearch can not be used in the…

--

--