Sniffer disconnect client connection [Rest API]

Hi

I'm setting up a High Level Rest API conenction (7.4.*) and all seems fine till I added a sniffer:

RestClientBuilder restClientBuilder = RestClient.builder(hosts)
		.setHttpClientConfigCallback(httpClientBuilder -> httpClientBuilder
				.setDefaultCredentialsProvider(credentialsProvider));
RestHighLevelClient restHighLevelClient = new RestHighLevelClient(restClientBuilder);

till this code all works fine and the connection stay established:

BUT adding a sniffer cause connection refused after few minues (1-2):

sniffer = Sniffer.builder(restHighLevelClient.getLowLevelClient()).build();

Any idea why it's happen and what would I do?

Maven ES Version: 7.4.1
ES on machine: 7.4.2

Thanks!

Someone?

I got an answer from ES support,

There is a bug in 7.4.1, please use 7.4.2.. just FYI..

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