Invalid NEST response built from a unsuccessful () low level call on POST: /logs-%2A/_search?typed_keys=true

# Audit trail of this API call:

- [1] ProductCheckOnStartup: Took: 00:00:03.0728820

- [2] ProductCheckFailure: Node: https://*******.aws.found.io:9243/ Took: 00:00:03.0531380

# OriginalException: Elasticsearch.Net.ElasticsearchClientException: The client is unable to verify that the server is Elasticsearch due to an unsuccessful product check call. Some functionality may not be compatible if the server is running an unsupported product. Call: Status code 200 from: GET /

---> Elasticsearch.Net.PipelineException: The client is unable to verify that the server is Elasticsearch due to an unsuccessful product check call. Some functionality may not be compatible if the server is running an unsupported product.

at Elasticsearch.Net.RequestPipeline.ThrowIfTransientProductCheckFailure()

at Elasticsearch.Net.RequestPipeline.Ping(Node node)

at Elasticsearch.Net.Transport`1.Ping(IRequestPipeline pipeline, Node node)

at Elasticsearch.Net.Transport`1.Request[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters)

--- End of inner exception stack trace ---

# Request:

<Request stream not captured or already read to completion by serializer. Set DisableDirectStreaming() on ConnectionSettings to force it to be set on the response.>

# Response:
If your question relates to core Elasticsearch functionality, please head over to the Elasticsearch category for assistance.

*PS - Please delete this text before posting your topic
*var elasticConfig = ElasticSearchConfiguration.Bind(configurationRoot); var settings = elasticConfig.URI==null ? null : new ConnectionSettings(new Uri(elasticConfig.URI)) .BasicAuthentication(elasticConfig.User, elasticConfig.Password);

Hi @Sunil_Bisht,

Welcome to the community! I've changed the topic and tags to Elasticsearch and language-clients.

Can you confirm which version of the .NET Nest client you are using, and against which version of Elasticsearch? The error suggests you are communicating with a product other than Elasticsearch.

1 Like

Hey Carly, Thanks for updates and quick response :slight_smile:
I'm using NEST 7.0.0 dotnet core client against the Elasticsearch version Version 8.11.3.

https://us-dev-*******.aws.found.io:9243 using this URI

 var elasticConfig = ElasticSearchConfiguration.Bind(configurationRoot);
    var settings = elasticConfig.URI==null ? null : new ConnectionSettings(new Uri(elasticConfig.URI))
      .BasicAuthentication(elasticConfig.User, elasticConfig.Password);
    
    registry.ForSingletonOf<IElasticClient>().Use(s => new ElasticClient(settings));

I was doing mistake on giving product name ! This is resolved now !

1 Like

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