Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch version : 1.1
Java rest high level client : 2.6.0
Describe the issue:
We had multiple threads stuck waiting for a response, sometimes for a whole day. Do we know exactly what goes wrong in the HTTP client that can explain this ?
Configuration:
final CredentialsProvider credentialsProvider = new BasicCredentialsProvider();
credentialsProvider.setCredentials(ANY,
new UsernamePasswordCredentials(openSearchProperties.getUsername(), openSearchProperties.getPassword()));
RestClientBuilder builder = RestClient.builder(new HttpHost(openSearchProperties.getHost(), openSearchProperties.getPort(), "https"))
.setHttpClientConfigCallback(httpClientBuilder -> httpClientBuilder
.setDefaultCredentialsProvider(credentialsProvider)
.setSSLHostnameVerifier(INSTANCE)
.setSSLContext(createSSLContext()));
return new RestHighLevelClient(builder);
Relevant Logs or Screenshots: