Kibana unable to connect to elatsicsearch


(Rajeshwer rao Madoori) #1

Hi,

I am running Kibana with https

kibana.yml: |
server:
name: "elk-stack-example"
host: 0.0.0.0
port: 5601
elasticsearch.url: "http://es-master:9200"
elasticsearch.requestTimeout: 180000
server.ssl.certificate: /usr/share/kibana/certs/kibana.cert.pem
server.ssl.key: /usr/share/kibana/certs/kibana.key.pem
server.ssl.keyPassphrase: kibana
server.ssl.enabled: true

kibana is stuck with below message
{"type":"log","@timestamp":"2018-09-14T19:08:17Z","tags":["listening","info"],"pid":1,"message":"Server running at https://0.0.0.0:5601"}

{"type":"log","@timestamp":"2018-09-14T19:08:18Z","tags":["status","plugin:elasticsearch@6.3.0","info"],"pid":1,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}

below conf with http endppoint works fine

kibana.yml: |
server:
name: "elk-stack-example"
host: 0.0.0.0
port: 5601
elasticsearch.url: "http://es-master:9200"


(Rajeshwer rao Madoori) #2

log [19:19:42.401] [error][status][plugin:elasticsearch@6.3.0] Status changed from yellow to red - Request Timeout after 3000ms
error [19:20:59.391] [error][client][connection] Error: socket hang up
at TLSSocket. (_tls_wrap.js:876:25)
at emitOne (events.js:121:20)
at TLSSocket.emit (events.js:211:7)
at _handle.close (net.js:567:12)
at Socket.done (_tls_wrap.js:356:7)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:121:20)
at Socket.emit (events.js:211:7)
at TCP._handle.close [as _onclose] (net.js:567:12)
error [19:20:59.396] [error][client][connection] Error: socket hang up
at TLSSocket. (_tls_wrap.js:876:25)
at emitOne (events.js:121:20)
at TLSSocket.emit (events.js:211:7)
at _handle.close (net.js:567:12)
at Socket.done (_tls_wrap.js:356:7)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:121:20)
at Socket.emit (events.js:211:7)
at TCP._handle.close [as _onclose] (net.js:567:12)


(system) #3

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