org.elasticsearch.transport.ReceiveTimeoutTransportException: [][192.168.147.111:9200][cluster:monitor/nodes/liveness] request_id [1] timed out after [5000ms]
at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:698) ~[elasticsearch-2.4.5.jar:2.4.5]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_101]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]
ES是发布在docker中。外部可以访问到9200端口,但是访问不了9300端口。
4 个回复
guoliang_1992 - 90 IT
赞同来自:
kepmoving - 90后
赞同来自:
byj2018
赞同来自:
版本问题
使用的:springboot
<version>2.0.0.M3</version>
Elasticsearch5.5
启动成功。
参考文档:
https://github.com/spring-proj ... earch
http://docs.spring.io/spring-b ... ngle/
caishoubin
赞同来自:
这是我得pom文件
这是我配置文件
想问一下你写的<version>2.0.0.M3</version>这是那里的版本?