-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ElasticLowLevelClient with SniffingConnectionPool fails to make any request due to SniffResponse deserialization failure #3582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you so much for reporting this this was introduced in: As part of #3483 This brought This affects the low level client starting from We will rectify this as soon as possible |
…used netstandard and netfx exceptions when deserializing sniff responses, but would light up in different places as well
Cool! Waiting for updated package on nuget :-) |
@AndrewKostousov the fix for this is now in 6.5.1 on nuget |
Thanks! |
…fined which caused netstandard and netfx exceptions when deserializing sniff responses, but would light up in different places as well (elastic#3586) (cherry picked from commit 0c5c092)
NEST/Elasticsearch.Net version: 6.5.0 and master
Elasticsearch version: 6.2.3 (I believe server version is irrelevant for this issue)
Description of the problem including expected versus actual behavior:
When using
SniffingConnectionPool
inElasticLowLevelClient
basically every its method fails withElasticsearch.Net.PipelineException : Failed sniffing cluster state.
Steps to reproduce:
Stacktrace obtained on master (SHA-1: 682a8f7):
Some analysis:
#if NETFX_CORE || DOTNETCORE
directive was removed for#define SIMPLE_JSON_TYPEINFO
inSimpleJson.cs
. At least when I commented out this#define SIMPLE_JSON_TYPEINFO
directive my test has passed.The text was updated successfully, but these errors were encountered: