Intermittent connection closure when performing GET operations

Hi there,

We are experiencing some intermittent issues when performing GET operations with our cluster 6.2.3 and client is 6.2.x (JAVA). Every now and then we get a ConnectionClosedException. Below is the stack trace for the same:

2018-08-03 13:02:14 715e6f08-971d-11e8-b75c-01060c4cd7ce ERROR ElasticSearchAccountsDB:40 - An exception was thrown by Elasticsearch for query: get [accounts][_doc][1234567891011]: routing [1234567891011]
org.apache.http.ConnectionClosedException: Connection closed unexpectedly
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.closed(HttpAsyncRequestExecutor.java:140) ~[Apache-HttpComponents-HttpCore-4.4.x.jar:?]
at org.apache.http.impl.nio.client.InternalIODispatch.onClosed(InternalIODispatch.java:71) ~[httpasyncclient-4.1.x.jar:?]
at org.apache.http.impl.nio.client.InternalIODispatch.onClosed(InternalIODispatch.java:39) ~[httpasyncclient-4.1.x.jar:?]
at org.apache.http.impl.nio.reactor.AbstractIODispatch.disconnected(AbstractIODispatch.java:100) ~[Apache-HttpComponents-HttpCore-4.4.x.jar:?]
at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionClosed(BaseIOReactor.java:279) ~[Apache-HttpComponents-HttpCore-4.4.x.jar:?]
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processClosedSessions(AbstractIOReactor.java:440) ~[Apache-HttpComponents-HttpCore-4.4.x.jar:?]
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:283) ~[Apache-HttpComponents-HttpCore-4.4.x.jar:?]
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) ~[Apache-HttpComponents-HttpCore-4.4.x.jar:?]
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588) ~[Apache-HttpComponents-HttpCore-4.4.x.jar:?]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_141]

Apart from this intermittent issue, the client is properly processing thousands of requests and there are no changes in the configuration of the client or its code or the infrastructure.

Thanks,
Ashish

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