Unable to verify that the server is ElasticSearch due to unsuccesful product check call

Hello,

We have an application connecting with NEST to ES Version 7.17. Intermitently we are facing this issue

Unable to verify that the server is ElasticSearch due to unsuccesful product check call. Some functionality may not be compatible if the server is running an unsupported product. Call: Status code unkown from: GET /

We did manual curl from the microservice and all of them were successful

Any idea what could be wrong ?

Hi, @charlot_Attard,

On the first request, the client performs a product check to verify a compatible server. If for any reason the server response fails, we add this warning to the debug information. Is there where you are seeing it? We will attempt to verify the next requests until we have successfully validated the server. The most likely cause is transient network issue.

Are you reusing the same ElasticClient instance? Once the first requests succeeds, you should no longer receive the warning on subsequent requests.

Thanks for your reply.

Please note that ES is logging this as an Error. The issue is intermittent so when the application which uses NEST client connects with ES sometimes it does return this error and sometimes it does work.

This is a 5 node cluster, and I don't have an idea if the application tries to reuse the same node it connect to. I don't think it does.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.