Kibana not starting up after I installed x-pack

Both Elasticsearch and Kibana version are 6.2.3.Nginx would foward requests from 9201 to 9200.
First,I installed x-pack in Elasticsearch .Then I started up Kibana and it worked .But something was wrong after I installed x-pack in x-pack.When I started up Kibana ,it gived below errors.

log   [07:04:52.703] [error][status][plugin:xpack_main@6.2.3] Status changed from yellow to red - Request Timeout after 3000ms
  log   [07:04:52.704] [error][status][plugin:searchprofiler@6.2.3] Status changed from yellow to red - Request Timeout after 3000ms
  log   [07:04:52.706] [error][status][plugin:ml@6.2.3] Status changed from yellow to red - Request Timeout after 3000ms
  log   [07:04:52.707] [error][status][plugin:tilemap@6.2.3] Status changed from yellow to red - Request Timeout after 3000ms
  log   [07:04:52.708] [error][status][plugin:watcher@6.2.3] Status changed from yellow to red - Request Timeout after 3000ms
  log   [07:04:52.708] [error][status][plugin:graph@6.2.3] Status changed from yellow to red - Request Timeout after 3000ms
  log   [07:04:52.709] [error][status][plugin:reporting@6.2.3] Status changed from yellow to red - Request Timeout after 3000ms
  log   [07:04:52.709] [error][status][plugin:security@6.2.3] Status changed from yellow to red - Request Timeout after 3000ms
  log   [07:04:52.710] [error][status][plugin:logstash@6.2.3] Status changed from yellow to red - Request Timeout after 3000ms
  log   [07:04:52.710] [error][status][plugin:elasticsearch@6.2.3] Status changed from yellow to red - Request Timeout after 3000ms

elasticsearch.yml



cluster.name: my-es-cluster

node.name: tc-1


network.host: 127.0.0.1

http.port: 9200


#x-pack
xpack.security.transport.ssl.enabled: false
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: /usr/local/elasticsearch/config/certs/elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: /usr/local/elasticsearch/config/certs/elastic-certificates.p12

kibana.yml


server.name: "elk-kibana"


elasticsearch.url: "http://localhost:9201"


elasticsearch.username: "elastic"
elasticsearch.password: "${ES_PWD}"

Thanks for your help much!

Hi,

Please read through the documentation, a good starting place is this

Your requests time out because Kibana can't reach Elasticsearch. Are you sure that nginx can still proxy requests to Elasticsearch now that you have enabled TLS in elasticsearch on 9200 ? I could guess that nginx is still configured to proxy to Elasticsearch as a non-TLS backend and that causes the problem ( this would be evident in your Elasticsearch logs )

Also keep in mind that your

xpack.security.transport.ssl. settings affect the transport layer only, not http so if you are trying to disable TLS on http layer for testing, you need: xpack.security.http.ssl.enabled: false instead.

Finally, with TLS disabled (something that we do not suggest you do ) the rest of thexpack.security.transport.ssl. settings are not needed/used.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.