The monitoring plugin frequently takes more than 30s to complete which causes Kibana to fail to start up. Plugin's setup lifecycle should not block Kibana from starting up see https://github.com/elastic/kibana/blob/6042a01f385078587e8e09418ef07f69ec2dadf7/rfcs/text/0007_lifecycle_unblocked.md and #53268
Versions where I've seen this behaviour:
This is most likely caused by the following line:
|
await this.licenseService.refresh(); |
Workarounds:
- Disable monitoring with the following kibana.yml setting:
monitoring.enabled: false
- Upgrade to 7.9.3
- Provide more resources to Elasticsearch so that
GET /_xpack doesn't take longer than 30s to respond
The monitoring plugin frequently takes more than 30s to complete which causes Kibana to fail to start up. Plugin's setup lifecycle should not block Kibana from starting up see https://github.com/elastic/kibana/blob/6042a01f385078587e8e09418ef07f69ec2dadf7/rfcs/text/0007_lifecycle_unblocked.md and #53268
Versions where I've seen this behaviour:
This is most likely caused by the following line:
kibana/x-pack/plugins/monitoring/server/plugin.ts
Line 122 in a88c272
Workarounds:
monitoring.enabled: falseGET /_xpackdoesn't take longer than 30s to respond