Error loading Kibana Dashboard

{"statusCode":503,"error":"Service Unavailable","message":"License is not available."}
I'm getting this error when I'm enabled XPACK Security to true. If it is false it is working like a charm.

Hi Katheek, can you share your Kibana log please?

Ok @carly.richmond


root@es-dev:/etc/kibana# cd /var/log/kibana/
root@es-dev:/var/log/kibana# tail kibana.log
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2023-01-18T15:13:30.335+00:00","message":"Session cookies will be transmitted over insecure connections. This is not recommended.","log":{"level":"WARN","logger":"plugins.security.config"},"process":{"pid":9936},"trace":{"id":"86478ee0a2a17b0da4c669ff53c82411"},"transaction":{"id":"511365501cb44076"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2023-01-18T15:13:30.359+00:00","message":"Session cookies will be transmitted over insecure connections. This is not recommended.","log":{"level":"WARN","logger":"plugins.security.config"},"process":{"pid":9936},"trace":{"id":"86478ee0a2a17b0da4c669ff53c82411"},"transaction":{"id":"511365501cb44076"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2023-01-18T15:13:30.367+00:00","message":"Hashed 'xpack.encryptedSavedObjects.encryptionKey' for this instance: iYinoQ/+otG3H2xOiVDKaTg7MWDjIXZVrqy4DPdxOcY=","log":{"level":"INFO","logger":"plugins.encryptedSavedObjects"},"process":{"pid":9936},"trace":{"id":"86478ee0a2a17b0da4c669ff53c82411"},"transaction":{"id":"511365501cb44076"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2023-01-18T15:13:30.382+00:00","message":"Email Service Error: Email connector not specified.","log":{"level":"INFO","logger":"plugins.notifications"},"process":{"pid":9936},"trace":{"id":"86478ee0a2a17b0da4c669ff53c82411"},"transaction":{"id":"511365501cb44076"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2023-01-18T15:13:30.478+00:00","message":"Found 'server.host: "0.0.0.0"' in Kibana configuration. Reporting is not able to use this as the Kibana server hostname. To enable PNG/PDF Reporting to work, 'xpack.reporting.kibanaServer.hostname: localhost' is automatically set in the configuration. You can prevent this message by adding 'xpack.reporting.kibanaServer.hostname: localhost' in kibana.yml.","log":{"level":"WARN","logger":"plugins.reporting.config"},"process":{"pid":9936},"trace":{"id":"86478ee0a2a17b0da4c669ff53c82411"},"transaction":{"id":"511365501cb44076"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2023-01-18T15:13:30.523+00:00","message":"Installing common resources shared between all indices","log":{"level":"INFO","logger":"plugins.ruleRegistry"},"process":{"pid":9936},"trace":{"id":"86478ee0a2a17b0da4c669ff53c82411"},"transaction":{"id":"511365501cb44076"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2023-01-18T15:13:30.560+00:00","message":"Registered task successfully [Task: cloud_security_posture-stats_task]","log":{"level":"INFO","logger":"plugins.cloudSecurityPosture"},"process":{"pid":9936},"trace":{"id":"86478ee0a2a17b0da4c669ff53c82411"},"transaction":{"id":"511365501cb44076"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2023-01-18T15:13:31.089+00:00","message":"Chromium sandbox provides an additional layer of protection, and is supported for Linux Ubuntu 20.04 OS. Automatically enabling Chromium sandbox.","log":{"level":"INFO","logger":"plugins.screenshotting.config"},"process":{"pid":9936},"trace":{"id":"86478ee0a2a17b0da4c669ff53c82411"},"transaction":{"id":"511365501cb44076"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2023-01-18T15:13:31.233+00:00","message":"Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: unable to authenticate user [kibana] for REST request [/_nodes?filter_path=nodes..version%2Cnodes..http.publish_address%2Cnodes.*.ip]","log":{"level":"ERROR","logger":"elasticsearch-service"},"process":{"pid":9936},"trace":{"id":"86478ee0a2a17b0da4c669ff53c82411"},"transaction":{"id":"511365501cb44076"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2023-01-18T15:13:31.611+00:00","message":"Browser executable: /usr/share/kibana/x-pack/plugins/screenshotting/chromium/headless_shell-linux_x64/headless_shell","log":{"level":"INFO","logger":"plugins.screenshotting.chromium"},"process":{"pid":9936},"trace":{"id":"86478ee0a2a17b0da4c669ff53c82411"},"transaction":{"id":"511365501cb44076"}}

this seems to be your problem.

1 Like