elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.77k stars 8.17k forks source link

Kibana server is not ready yet #62544

Closed iBelow closed 4 years ago

iBelow commented 4 years ago

localnetwork No docker no clusters one host for kibana and ES

status:

 ⚡ root@apollodebian  ~  systemctl status kibana.service
● kibana.service - Kibana
   Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-04-04 15:07:07 MSK; 32min ago
 Main PID: 5893 (node)
    Tasks: 11 (limit: 4915)
   Memory: 315.8M
   CGroup: /system.slice/kibana.service
           └─5893 /usr/share/kibana/bin/../node/bin/node /usr/share/kibana/bin/../src/cli -c /etc/kibana/kibana.yml

апр 04 15:07:23 apollodebian kibana[5893]: {"type":"log","@timestamp":"2020-04-04T12:07:23Z","tags":["info","plugins","home"],"pid":5893,"message":"Setting up plugin"}
апр 04 15:07:23 apollodebian kibana[5893]: {"type":"log","@timestamp":"2020-04-04T12:07:23Z","tags":["info","plugins","spaces"],"pid":5893,"message":"Setting up plugin"}
апр 04 15:07:23 apollodebian kibana[5893]: {"type":"log","@timestamp":"2020-04-04T12:07:23Z","tags":["info","plugins","cloud"],"pid":5893,"message":"Setting up plugin"}
апр 04 15:07:23 apollodebian kibana[5893]: {"type":"log","@timestamp":"2020-04-04T12:07:23Z","tags":["info","plugins","apm"],"pid":5893,"message":"Setting up plugin"}
апр 04 15:07:23 apollodebian kibana[5893]: {"type":"log","@timestamp":"2020-04-04T12:07:23Z","tags":["info","plugins","graph"],"pid":5893,"message":"Setting up plugin"}
апр 04 15:07:23 apollodebian kibana[5893]: {"type":"log","@timestamp":"2020-04-04T12:07:23Z","tags":["info","plugins","bfetch"],"pid":5893,"message":"Setting up plugin"}
апр 04 15:07:23 apollodebian kibana[5893]: {"type":"log","@timestamp":"2020-04-04T12:07:23Z","tags":["info","savedobjects-service"],"pid":5893,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objectsапр 04 15:07:23 apollodebian kibana[5893]: {"type":"log","@timestamp":"2020-04-04T12:07:23Z","tags":["info","savedobjects-service"],"pid":5893,"message":"Starting saved objects migrations"}
апр 04 15:07:53 apollodebian kibana[5893]: Could not create APM Agent configuration: Request Timeout after 30000ms
апр 04 15:07:53 apollodebian kibana[5893]: {"type":"log","@timestamp":"2020-04-04T12:07:53Z","tags":["warning","savedobjects-service"],"pid":5893,"message":"Unable to connect to Elasticsearch. Error: Request Timeout after 30000ms"}
lines 1-19/19 (END)

terminal

✘ ⚡ root@apollodebian  ~  curl -X GET 192.168.61.46:9200
{
  "name" : "apollodebian",
  "cluster_name" : "elastic",
  "cluster_uuid" : "_na_",
  "version" : {
    "number" : "7.6.2",
    "build_flavor" : "default",
    "build_type" : "deb",
    "build_hash" : "ef48eb35cf30adf4db14086e8aabd07ef6fb113f",
    "build_date" : "2020-03-26T06:34:37.794943Z",
    "build_snapshot" : false,
    "lucene_version" : "8.4.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}
 ⚡ root@apollodebian  ~  curl -X GET localhost:9200    
{
  "name" : "apollodebian",
  "cluster_name" : "elastic",
  "cluster_uuid" : "_na_",
  "version" : {
    "number" : "7.6.2",
    "build_flavor" : "default",
    "build_type" : "deb",
    "build_hash" : "ef48eb35cf30adf4db14086e8aabd07ef6fb113f",
    "build_date" : "2020-03-26T06:34:37.794943Z",
    "build_snapshot" : false,
    "lucene_version" : "8.4.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

how to fix it?

configs: # cluster.name: elastic # node.name: apollodebian network.host: local OR network.host: 0.0.0.0 OR network.host: 192.168.61.46 dont fix it

joelgriffith commented 4 years ago

@iBelow this looks like a configuration problem, and not necessarily a bug per-se. Would you mind taking the discussion over to https://discuss.elastic.co/?

I'd also post your entire Kibana config as well since I don't see it here. Kibana isn't able to reach your ES instance, so something there isn't right...

kaivean commented 4 years ago

@joelgriffith

I'm getting the same issue when using the kibana:7.6.2 docker image. Are there some solutions?

Elasticsearch works and I only run the command:

docker run \
    -e ELASTICSEARCH_URL=http://192.168.234.93:9200 \
    -e SERVER_HOST=0.0.0.0 \
    --name kibana \
    -d kibana:7.6.2