Hi,
I have followed documentation - to setup kibana development environment for creating custom plugin. However the server crashes due to following error -
[oracle@obdcnode7 kibana] yarn start
yarn run v1.10.1
sh ./bin/kibana --dev
watching for changes (1740 files)
log [11:25:40.913] [info][server] starting basepath proxy server at http://172.18.27.86:5601/ywz
server log [11:25:47.641] [info][status][plugin:kibana@6.4.4] Status changed from uninitialized to green - Ready
server log [11:25:47.672] [info][status][plugin:elasticsearch@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:47.675] [info][status][plugin:xpack_main@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:47.680] [info][status][plugin:searchprofiler@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:47.683] [info][status][plugin:ml@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:47.735] [info][status][plugin:tilemap@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:47.738] [info][status][plugin:watcher@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:47.753] [info][status][plugin:license_management@6.4.4] Status changed from uninitialized to green - Ready
server log [11:25:47.756] [info][status][plugin:index_management@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:49.038] [info][status][plugin:timelion@6.4.4] Status changed from uninitialized to green - Ready
server log [11:25:49.040] [info][status][plugin:graph@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:49.050] [info][status][plugin:monitoring@6.4.4] Status changed from uninitialized to green - Ready
server log [11:25:49.058] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
server log [11:25:49.061] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
server log [11:25:49.069] [info][status][plugin:security@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:49.091] [info][status][plugin:grokdebugger@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:49.095] [info][status][plugin:dashboard_mode@6.4.4] Status changed from uninitialized to green - Ready
server log [11:25:49.097] [info][status][plugin:logstash@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:49.113] [info][status][plugin:apm@6.4.4] Status changed from uninitialized to green - Ready
server log [11:25:49.119] [info][status][plugin:console@6.4.4] Status changed from uninitialized to green - Ready
server log [11:25:49.121] [info][status][plugin:console_extensions@6.4.4] Status changed from uninitialized to green - Ready
server log [11:25:49.126] [info][status][plugin:notifications@6.4.4] Status changed from uninitialized to green - Ready
server log [11:25:49.129] [info][status][plugin:metrics@6.4.4] Status changed from uninitialized to green - Ready
server log [11:25:49.848] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
server log [11:25:49.850] [info][status][plugin:reporting@6.4.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
server log [11:25:49.868] [warning] You're running Kibana 6.4.4 with some different versions of Elasticsearch. Update Kibana or Elasticsearch to the same version to prevent compatibility issues: v6.4.2 @ 172.18.27.101:9200 (172.18.27.101)
server log [11:25:49.877] [info][status][plugin:elasticsearch@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.912] [info][license][xpack] Imported license information from Elasticsearch for the [data] cluster: mode: basic | status: active
server log [11:25:49.915] [info][status][plugin:xpack_main@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.916] [info][status][plugin:searchprofiler@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.916] [info][status][plugin:ml@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.917] [info][status][plugin:tilemap@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.917] [info][status][plugin:watcher@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.918] [info][status][plugin:index_management@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.918] [info][status][plugin:graph@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.919] [info][status][plugin:grokdebugger@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.920] [info][status][plugin:logstash@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.920] [info][status][plugin:reporting@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.921] [info][kibana-monitoring][monitoring-ui] Starting monitoring stats collection
server log [11:25:49.924] [info][status][plugin:security@6.4.4] Status changed from yellow to green - Ready
server log [11:25:49.962] [info][license][xpack] Imported license information from Elasticsearch for the [monitoring] cluster: mode: basic | status: active
server error [11:25:50.754] [fatal] Error: self signed certificate in certificate chain
at TLSSocket. (_tls_wrap.js:1105:38)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket._finishInit (_tls_wrap.js:639:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:469:38)
FATAL { Error: self signed certificate in certificate chain
at TLSSocket. (_tls_wrap.js:1105:38)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket._finishInit (_tls_wrap.js:639:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:469:38) code: 'SELF_SIGNED_CERT_IN_CHAIN' }
server crashed with status code 1
optmzr log [11:26:28.841] [info][optimize] Optimization success in 41.60 seconds
optmzr log [11:26:35.207] [info][optimize] Optimization success in 5.21 seconds
As a result I am not able to connect to kibana UI.
Environment - Redhat Linux 7
Yarn - 1.10.1
Node - 8.11.4
Thanks.