Getting this error out of a sudden java.lang.IllegalStateException: Request cannot be executed; I/O reactor status: STOPPED
I'm using httpcore-nio-4.4.5.jar. I'm using the elasticsearch RestHighLevelClient to interact with our elasticsearch servers. This all works fine except for some time we get I/O reactor stopped error out of a sudden. Everything seems fine on ES side. No strange behaviour. That's how i'm initializing my ES client. public synchronized RestHighLevelClient getHighLevelClient() throws ManagerException { if (highLevelClient != null) { return highLevelClient; } Map<String, Integer> map = getEsServers(esAddresses); HttpHost[] hosts = new HttpHost[map.size()]; int i = 0; for (Map.Entry<String, Integer>
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.