Kibana 7.1.0 HTTPS No Living Connections

Hi

I have a problem to connect ES From Kibana
my system is CentOs 7, ES-7.1.0, Kibana-7.1.0

my elasticsearch.yml

# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
node.name: node-1
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: /var/lib/elasticsearch
#
# Path to log files:
#
path.logs: /var/log/elasticsearch
# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
http.host: 192.168.0.92
#
# Set a custom port for HTTP:
#
http.port: 9200
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
discovery.seed_hosts: ["192.168.0.92"]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
cluster.initial_master_nodes: ["node-1"]
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.keystore.password: "password"
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.password: "password"


xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: elastic-certificates.p12
xpack.security.http.ssl.keystore.password: "password"
xpack.security.http.ssl.truststore.path: elastic-certificates.p12
xpack.security.http.ssl.truststore.password: "password"

my kibana.yml

server.port: 5601
server.host: "192.168.0.92"
elasticsearch.hosts: ["https://192.168.0.92:9200"]
elasticsearch.username: "elastic"
elasticsearch.password: "password"
server.ssl.enabled: true
server.ssl.certificate: /etc/kibana/instance/instance.crt
server.ssl.key: /etc/kibana/instance/instance.key
elasticsearch.ssl.certificateAuthorities: ["/etc/kibana/elastic-ca.pem"]

my systemctl status kibana -l

 5월 31 11:55:32 localhost.localdomain kibana[32074]: {"type":"log","@timestamp":"2019-05-31T02:55:32Z","tags":["warning","elasticsearch","admin"],"pid":32074,"message":"Unable to revive connection: https://192.168.0.92:9200/"}
 5월 31 11:55:32 localhost.localdomain kibana[32074]: {"type":"log","@timestamp":"2019-05-31T02:55:32Z","tags":["warning","elasticsearch","admin"],"pid":32074,"message":"No living connections"}
 5월 31 11:55:34 localhost.localdomain kibana[32074]: {"type":"log","@timestamp":"2019-05-31T02:55:34Z","tags":["warning","elasticsearch","data"],"pid":32074,"message":"Unable to revive connection: https://192.168.0.92:9200/"}
 5월 31 11:55:34 localhost.localdomain kibana[32074]: {"type":"log","@timestamp":"2019-05-31T02:55:34Z","tags":["warning","elasticsearch","data"],"pid":32074,"message":"No living connections"}
 5월 31 11:55:34 localhost.localdomain kibana[32074]: {"type":"log","@timestamp":"2019-05-31T02:55:34Z","tags":["license","warning","xpack"],"pid":32074,"message":"License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Error: No Living connections"}
 5월 31 11:55:35 localhost.localdomain kibana[32074]: {"type":"log","@timestamp":"2019-05-31T02:55:35Z","tags":["warning","elasticsearch","admin"],"pid":32074,"message":"Unable to revive connection: https://192.168.0.92:9200/"}
 5월 31 11:55:35 localhost.localdomain kibana[32074]: {"type":"log","@timestamp":"2019-05-31T02:55:35Z","tags":["warning","elasticsearch","admin"],"pid":32074,"message":"No living connections"}
 5월 31 11:55:35 localhost.localdomain kibana[32074]: {"type":"log","@timestamp":"2019-05-31T02:55:35Z","tags":["warning","elasticsearch","admin"],"pid":32074,"message":"Unable to revive connection: https://192.168.0.92:9200/"}
 5월 31 11:55:35 localhost.localdomain kibana[32074]: {"type":"log","@timestamp":"2019-05-31T02:55:35Z","tags":["warning","elasticsearch","admin"],"pid":32074,"message":"No living connections"}
 5월 31 11:55:35 localhost.localdomain kibana[32074]: {"type":"log","@timestamp":"2019-05-31T02:55:35Z","tags":["warning","task_manager"],"pid":32074,"message":"PollError No Living connections"}

my curl -k -u elastic:"password" https://192.168.0.92:9200

{
  "name" : "node-1",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "h8EzxHyvQyiMyU2I6gzaZQ",
  "version" : {
    "number" : "7.1.0",
    "build_flavor" : "default",
    "build_type" : "rpm",
    "build_hash" : "606a173",
    "build_date" : "2019-05-16T00:43:15.323135Z",
    "build_snapshot" : false,
    "lucene_version" : "8.0.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

I want to solve this problem.
please help me.
Thanks.

Hi there, have you followed the steps of first setting up the built-in users and then using the built-in user in your Kibana settings? When I followed these steps I was able to fix the error message you reported.

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