Version Spring Data Elasticsearch: 4.0.0.RELEASE
Version Elasticsearch Client in build: 7.6.2
Version Elasticsearch Client used: 7.6.2
e:Request processing failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Timeout connecting to [elasticsearch.
I am trying connecting springboot application with elasticsearch
Timeout connecting to [url/ip]
Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.
Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.
It would be great if you could update your post to solve this and share also the full logs and may be your code.
at org.apache.http.nio.pool. RouteSpecificPool. timeout (RouteSpecificPool.java:169)
at org.apache.http.nio.pool. AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:632)
at org.apache.http.nio.pool. AbstractNIOConnPool$Internal SessionRequestCallback. timeout(AbstractNIOConnPool.java:898)
at org.apache.http.impl.nio.reactor. SessionRequest Impl. timeout (SessionRequest Impl.java:198)
at org.apache.http.impl.nio.reactor. DefaultConnectingIOReactor.processTimeouts (DefaultConnectingIOReactor.java: 213)
at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents (DefaultConnectingIOReactor.java:158)
at org.apache.http.impl.nio.reactor. AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java: 351)
at org.apache.http.impl.nio.conn. PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnection Manager.java:221)
at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
at
java.base/java.lang.Thread.run(Thread.java:829)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.