请选择 进入手机版 | 继续访问电脑版

crm 服务启动提示ES访问异常

悟空CRM-Spring交流 悟空CRM-Spring交流 45 人阅读 | 0 人回复

发表于 2021-6-9 18:35:29 | 显示全部楼层 |阅读模式

部署了悟空开源JAVA版后台
crm服务启动报ES访问异常, ES相关配置已写,具体如下图:
2021-06-09 18:31:14 crm ERROR org.springframework.boot.SpringApplication - Application run failed
java.lang.IllegalStateException: Failed to execute ApplicationRunner
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:778)
        at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:765)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:322)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
        at com.kakarote.crm.CrmApplication.main(CrmApplication.java:29)
Caused by: org.elasticsearch.ElasticsearchStatusException: method [HEAD], host [http://192.168.0.226:9200], URI [/wk_single_leads?ignore_throttled=false&include_type_name=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true], status line [HTTP/1.1 400 Bad Request]
        at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:2027)
        at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1777)
        at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1734)
        at org.elasticsearch.client.IndicesClient.exists(IndicesClient.java:1109)
        at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.indexExists(ElasticsearchRestTemplate.java:840)
        at com.kakarote.crm.common.InitEsIndexRunner.run(InitEsIndexRunner.java:66)
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:775)
        ... 5 common frames omitted
Caused by: org.elasticsearch.client.ResponseException: method [HEAD], host [http://192.168.0.226:9200], URI [/wk_single_leads?ignore_throttled=false&include_type_name=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true], status line [HTTP/1.1 400 Bad Request]
        at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:936)
        at org.elasticsearch.client.RestClient.performRequest(RestClient.java:233)
        at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1764)
        ... 10 common frames omitted


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

huanglei

发表主题 2