Skip to content

Could not create an instance of type Nest.IHttpInputAuthentication while executed GetWatch #3237

@gam4er

Description

@gam4er

NEST/Elasticsearch.Net version: 6.1.0

Elasticsearch version: 5.6.3

It seems, that ElasticClient.GetWatch not work property

Steps to reproduce:
So,
`
var node9 = new Uri("http://IP:9200");
IConnectionPool pool = new SniffingConnectionPool(new[] {node9 });
ConnectionSettings connectionSettings_watcher = new ConnectionSettings(pool);
connectionSettings_watcher.BasicAuthentication("USER", "PASS");
connectionSettings_watcher.RequestTimeout(TimeSpan.FromMinutes(10));
connectionSettings_watcher.PrettyJson(true);

//just simple call
elasticClient_watcher.GetWatch("watcher_ID_that_actually_exists");
//cause an exception
`

default

But it is an client issue: server send correct data to client. But that data cannot be parsed into IGetWatchResponse

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions