【问题标题】:Kibana service running, but no response from browserKibana 服务正在运行,但浏览器没有响应
【发布时间】:2016-09-28 10:11:23
【问题描述】:

我的 kibana 运行正常,但无法从浏览器打开链接。

请在下面找到 Kibana 日志,

  log   [14:09:05.036] [info][status][plugin:kibana] Status changed from uninitialized to green - Ready
  log   [14:09:05.065] [info][status][plugin:elasticsearch] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [14:09:05.100] [info][status][plugin:shield] Status changed from uninitialized to green - Ready
  log   [14:09:05.103] [info][status][plugin:kbn_vislib_vis_types] Status changed from uninitialized to green - Ready
  log   [14:09:05.111] [info][status][plugin:markdown_vis] Status changed from uninitialized to green - Ready
  log   [14:09:05.116] [info][status][plugin:metric_vis] Status changed from uninitialized to green - Ready
  log   [14:09:05.118] [info][status][plugin:spyModes] Status changed from uninitialized to green - Ready
  log   [14:09:05.128] [info][status][plugin:statusPage] Status changed from uninitialized to green - Ready
  log   [14:09:05.132] [info][status][plugin:table_vis] Status changed from uninitialized to green - Ready
  log   [14:09:05.136] [info][status][plugin:elasticsearch] Status changed from yellow to green - Kibana index ready
  log   [14:09:05.140] [info][listening] Server running at https://0.0.0.0:5600

我尝试了弹性搜索

curl localhost:9200

它显示,

{
  "name" : "Scream",
  "cluster_name" : "elasticsearch",
  "version" : {
    "number" : "2.3.3",
    "build_hash" : "218bdf10790eef486ff2c41a3df5cfa32dadcfde",
    "build_timestamp" : "2016-05-17T15:40:04Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.0"
  },
  "tagline" : "You Know, for Search"
}

但对于 kibana:

curl localhost:5600

curl: (52) Empty reply from server

请找到我的 kibana 配置,

port: 5600
# The host to bind the server to.
host: "0.0.0.0"
# The Elasticsearch instance to use for all your queries.
elasticsearch_url: "http://localhost:9200"

【问题讨论】:

  • 你看到任何 node.js 进程正在运行吗?
  • 嗨@MrunalGosar,我ps -ef|grep node.js,但什么也没看到。
  • 试试ps -ef | grep node(没有.js)你应该看到一个进程正在运行bin/../node/bin/node bin/../src/cli
  • @Val 我现在可以找到该过程。 ./bin/../node/bin/node ./bin/../src/cli这个过程应该怎么做?我认为这意味着 Kibana 进程正在运行
  • 只是确保它正在运行...不知道为什么你得到一个空的回复。您是否在浏览器中尝试过?

标签: elasticsearch kibana kibana-4


【解决方案1】:

问题已经很老了,但万一有人在这里结束 - 请务必使用“https”。
细则确实说“忽略自签名证书错误”:)

【讨论】:

  • 是的,这不直观,因为即使在 localhost 上,您也必须指定 https,然后继续处理错误。
【解决方案2】:

我在同一个问题上是堆栈。 我认为问题是在您进行端口转发时发生的。

您必须将 0.0.0.0:5601 设置为源端口。

【讨论】:

  • 嘿@kusa,我试过你的解决方案kubectl port-forward svc/kibana-http 5601 --address='0.0.0.0',但还是不行,你是这个意思吗?
【解决方案3】:

我运行了最新的 GitHub 5.5.0 安装,当我尝试打开 localhost 时,IE 只是说 Kibana LOADING...

但是,我安装了 Chrome 并立即弹出 Kibana。所以解决方案是使用不同的浏览器。

【讨论】:

    猜你喜欢
    • 2022-01-22
    • 2016-10-10
    • 2020-06-12
    • 2016-04-26
    • 1970-01-01
    • 1970-01-01
    • 2021-07-30
    • 2018-03-16
    • 1970-01-01
    相关资源
    最近更新 更多