You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
Upon starting up the application, I get and error stating "Unsuccessful product check call" .
The errors don't prevent me from sending/saving logging data to ES, so I don't understand why I am getting the error at startup
My Web front end and API's all have ES as a dependency
I get an error upon running the application with docker compose
Caught exception while performing bulk operation to Elasticsearch: 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 unknown 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.
---> System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The response ended prematurely.
Please describe the expected behavior?
Application should start without any errors logged to console
If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem
I am not sure if its a bug or something I have misconfigured on my end. Any help appreciated.
The text was updated successfully, but these errors were encountered:
I've looked briefly through the ES client code. I think code comment bellow explains what happens:
// Any response besides a 200, 401 or 403 is considered a failure and the check is considered incomplete and marked as a likely transient failure.// This means that the check will run on subsequent requests until we have a valid response to evaluate.// By returning false, the failure to perform the product check will be included in the audit log.if(!response.Success){_connectionPool.ProductCheckStatus=ProductCheckStatus.TransientFailure;returnfalse;}
This is the source code lines, as it was in Elasticsearch.NET client version 7.17.5. So, most likely some kind of redirect, file-not-changed or something similar being issued by ES server or docker's port-forwarding logic. I think this issue has nothing to do with Serilog.Sinks.Elasticsearchv9.0.0.
Does this issue relate to a new feature or an existing bug?
What version of Serilog.Sinks.Elasticsearch is affected? Please list the related NuGet package.
Serilog.Sinks.Elasticsearch 9.0
What is the target framework and operating system? See target frameworks & net standard matrix.
.Net 7
Please describe the current behavior?
My application consists of the following components
.Net 7
Docker Desktop
I am using ElasticSearch 8.6.1 and Serilog.Sinks.Elasticsearch 9.0
docker compose configuration
My projects all use a common library for logging. Here is a snippet of the code in the library that sets up logging to ES
AppSettings for the different areas of the application
Upon starting up the application, I get and error stating "Unsuccessful product check call" .
The errors don't prevent me from sending/saving logging data to ES, so I don't understand why I am getting the error at startup
My Web front end and API's all have ES as a dependency
I get an error upon running the application with docker compose
Caught exception while performing bulk operation to Elasticsearch: 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 unknown 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.
---> System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The response ended prematurely.
Please describe the expected behavior?
Application should start without any errors logged to console
If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem
I am not sure if its a bug or something I have misconfigured on my end. Any help appreciated.
The text was updated successfully, but these errors were encountered: