【问题标题】:Spring Boot & Elastic Search - failed to get node info for {#transport#-1}Spring Boot 和 Elasticsearch - 无法获取 {#transport#-1} 的节点信息
【发布时间】:2018-03-28 20:28:48
【问题描述】:

我正在尝试通过 spring boot 和端口 9300 连接到弹性搜索。我可以连接到本地弹性搜索安装。但是远程的会带来以下错误:

未能获取 {#transport#-1} 的节点信息

我尝试通过 telnet 进行连接,它有效。有人给我提示吗?

日志:

2017-10-17 13:49:05.392  INFO 19733 --- [           main] o.s.d.e.c.TransportClientFactoryBean     : adding transport node : myurl...:9300
2017-10-17 13:49:05.487  INFO 19733 --- [           main] org.elasticsearch.client.transport       : [Armory] failed to get node info for {#transport#-1}{myurl...}{192.168.xx.xx:9300}, disconnecting...

org.elasticsearch.transport.NodeDisconnectedException: [][192.168.xx.xx:9300][cluster:monitor/nodes/liveness] disconnected

【问题讨论】:

    标签: spring elasticsearch spring-boot connection


    【解决方案1】:

    后来的日志文件向我展示了 sysout 从未做过的事情:(到目前为止还没有。所以我必须仔细检查我的依赖项并更新到最新的 elasticsearch 服务器版本...

    【讨论】:

      猜你喜欢
      • 2020-09-17
      • 1970-01-01
      • 1970-01-01
      • 2015-01-31
      • 2016-06-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多