Briefly, this error occurs when a request made to Elasticsearch is cancelled before it could be completed. This could be due to a timeout, network issue, or the request being manually cancelled. To resolve this, you can increase the timeout limit, ensure the network connection is stable, or check if there’s any process that could be cancelling the request prematurely. Also, ensure that the Elasticsearch cluster is not overloaded with requests, as this could also lead to cancellations.
This guide will help you check for common problems that cause the log ” Get [” + uri + “] was cancelled. ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.
Log Context
Log “Get [” + uri + “] was cancelled.” class name is JwtUtil.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :
listener.onFailure(new ElasticsearchSecurityException("Get [" + uri + "] failed."; e)); } @Override public void cancelled() { listener.onFailure(new ElasticsearchSecurityException("Get [" + uri + "] was cancelled.")); } }); return null; }); }
[ratemypost]