kibana页面报错:Config: Request failed with status code

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了kibana页面报错:Config: Request failed with status code相关的知识,希望对你有一定的参考价值。

前提:

kibana 6.2.4 升级 6.4.2 完成升级后首次打开kibana页面。

升级过程详见: http://blog.51cto.com/michaelkang/2298677

报错内容:

浏览器打开kibana页面后:

左上角提示:
Help us improve the Elastic Stack by providing basic feature usage statistics? We will never share this data outside of Elastic. Read more

点击 yes or no  报错如下:

Config: Request failed with status code: 503

详细报错内容:
Error: Request failed with status code: 503
    at _callee$ (https://cnkbhbak.ptmind.com/bundles/commons.bundle.js:3:878828)
    at tryCatch (https://cnkbhbak.ptmind.com/bundles/vendors.bundle.js:43:602785)
    at Generator.invoke [as _invoke] (https://cnkbhbak.ptmind.com/bundles/vendors.bundle.js:43:606667)
    at Generator.prototype.(anonymous function) [as next] (https://cnkbhbak.ptmind.com/bundles/vendors.bundle.js:43:603908)
    at step (https://cnkbhbak.ptmind.com/bundles/commons.bundle.js:3:879600)
    at https://cnkbhbak.ptmind.com/bundles/commons.bundle.js:3:879726

排查步骤:

打开浏览器工程模式查看浏览器返回错误信息:
{statusCode: 503, error: "Service Unavailable",

 message: "Automatic index creation failed",…} 《== 核心报错内容

code: "ES_AUTO_CREATE_INDEX_ERROR"
error: "Service Unavailable"
message: "Automatic index creation failed"
statusCode: 503
以上报错信息基本可以确定是集群不能自动创建索引导致的,先临时打开试一下。

临时开启允许es集群允许创建索引

PUT _cluster/settings
{
    "transient" : 
        {
      "action.auto_create_index": "true"
        }
}
然后点击 yes or no都将不会再报错 ! 问题解决。

以上是关于kibana页面报错:Config: Request failed with status code的主要内容,如果未能解决你的问题,请参考以下文章

kibana页面报错Data too large

kibana 启动报错

视觉SLAM十四讲 报错 Could not find a configuration file for package “OpenCV“ that is compatible with reques

kibana 启动报错

docker安装kibana,报错Kibana server is not ready yet,未解决

kibana显示报错