Hi,
im getting the following exception though i set the timeout to 60s:
java.io.IOException: listener timeout after waiting for [30000] ms
at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:663)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:222)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:194)
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:488)
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:474)
at org.elasticsearch.client.RestHighLevelClient.bulk(RestHighLevelClient.java:246)
Java snippet:
client = new RestHighLevelClient(RestClient.builder(new HttpHost("gateway", 9200, "http"), new HttpHost("gateway", 9201, "http")).setRequestConfigCallback(requestConfigBuilder -> requestConfigBuilder.setConnectTimeout(60000)
.setSocketTimeout(60000)));
What am i missing on the High(/Low)LevelRestclient configuration?
Best regards,
twk