The client noticed that the server is not a supported distribution of Elasticsearch (NEST 7.16 to Elasticsearch 7.9.0)
See original GitHub issueNEST/Elasticsearch.Net version: 7.16.0
Elasticsearch version: 7.9.0
.NET runtime version: 4.7.2
Operating system version: Windows 10 / Server 2019
Description of the problem including expected versus actual behavior: I was previously using NEST/Elasticsearch.NET 7.9.0, but we are looking to upgrade to 7.16.2 for the LOG4J vurnability. Looking at your official documentation I noticed the following:
I have a 7.0 server, what client should I use?
Always use the latest minor version of the client within that major version, so in this instance, at time of writing, this is version 7.14.0. The reason being is that 7.14.x will contain many bug fixes not present in the 7.0.0 version of the client.
Client methods which call endpoints added to Elasticsearch since 7.0.0 will fail due to those endpoints not existing on the server.
So I upgraded my NEST/ElasticSearch to the latest minor version (7.16). Now when I try to connect to our Elastic Cluster I get the exception “The client noticed that the server is not a supported distribution of Elasticsearch”.
I would expect this to just work, according to your official documentation?
Steps to reproduce:
- Have ElasticSearch 7.9.0
- Have NEST/ElasticSearch 7.16.0
- Try to connect to ElasticSearch 7.9.0
Expected behavior I expected to be able to connect to the ElasticSearch cluster.
Provide ConnectionSettings
(if relevant):
Provide DebugInformation
(if relevant):
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
@Schoof-T You’re most welcome! I’ll close this issue for now since the client is behaving correctly. We can re-open if anything fails after the upgrade.
I will test again after upgrading to 7.16.2 using the ZIP file. Thanks for the advice.