We are using Elasticsearch java, in a lambda function. The below log is in lambda
Apparently this exception is happening when you use the Elastic of other component and quickly trigger the lambda function. Any suggestions?
Request execution cancelled: java.lang.RuntimeException
java.lang.RuntimeException: Request execution cancelled
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:938)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:300)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:288)
at co.elastic.clients.transport.rest_client.RestClientTransport.performRequest(RestClientTransport.java:153)
at co.elastic.clients.elasticsearch.ElasticsearchClient.index(ElasticsearchClient.java:1067)
at co.elastic.clients.elasticsearch.ElasticsearchClient.index(ElasticsearchClient.java:1084)
...
Caused by: java.util.concurrent.CancellationException: Request execution cancelled
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.execute(CloseableHttpAsyncClientBase.java:114)
at org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:138)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:296)
Thanks in advance