Kibana version: 8.9
Elasticsearch version: 8.9
Server OS version: Windows10
Describe the bug:
Unable to start kibana.
Steps to reproduce:
- start Elasticsearch, browser access
http://localhost:9200/
, get the following results:
{
"name" : "DESKTOP-BOPN713",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "kGYw7u0yTXK6BOUA8qYM0Q",
"version" : {
"number" : "8.9.0",
"build_flavor" : "default",
"build_type" : "zip",
"build_hash" : "8aa461beb06aa0417a231c345a1b8c38fb498a0d",
"build_date" : "2023-07-19T14:43:58.555259655Z",
"build_snapshot" : false,
"lucene_version" : "9.7.0",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}
- start
kibana
withkibana.bat
, got the following log:
[2023-08-07T14:03:41.341+08:00][INFO ][node] Kibana process configured with roles: [background_tasks, ui]
[2023-08-07T14:04:38.065+08:00][INFO ][plugins-service] Plugin "cloudChat" is disabled.
[2023-08-07T14:04:38.071+08:00][INFO ][plugins-service] Plugin "cloudExperiments" is disabled.
[2023-08-07T14:04:38.072+08:00][INFO ][plugins-service] Plugin "cloudFullStory" is disabled.
[2023-08-07T14:04:38.072+08:00][INFO ][plugins-service] Plugin "cloudGainsight" is disabled.
[2023-08-07T14:04:38.169+08:00][INFO ][plugins-service] Plugin "profiling" is disabled.
[2023-08-07T14:04:38.187+08:00][INFO ][plugins-service] Plugin "serverless" is disabled.
[2023-08-07T14:04:38.188+08:00][INFO ][plugins-service] Plugin "serverlessObservability" is disabled.
[2023-08-07T14:04:38.188+08:00][INFO ][plugins-service] Plugin "serverlessSearch" is disabled.
[2023-08-07T14:04:38.188+08:00][INFO ][plugins-service] Plugin "serverlessSecurity" is disabled.
[2023-08-07T14:04:38.328+08:00][INFO ][http.server.Preboot] http server running at http://localhost:5601
[2023-08-07T14:04:38.511+08:00][INFO ][plugins-system.preboot] Setting up [1] plugins: [interactiveSetup]
[2023-08-07T14:04:38.515+08:00][INFO ][preboot] "interactiveSetup" plugin is holding setup: Validating Elasticsearch connection configuration…
[2023-08-07T14:04:38.551+08:00][INFO ][root] Holding setup until preboot stage is completed.
[2023-08-07T14:04:38.587+08:00][WARN ][config.deprecation] The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set "xpack.reporting.roles.enabled" to "false" to adopt the future behavior before upgrading.
[2023-08-07T14:04:39.565+08:00][INFO ][plugins-system.standard] Setting up [137] plugins: [usageCollection,telemetryCollectionManager,telemetryCollectionXpack,taskManager,kibanaUsageCollection,cloud,translations,share,screenshotMode,newsfeed,savedObjectsFinder,monitoringCollection,licensing,mapsEms,globalSearch,globalSearchProviders,features,guidedOnboarding,banners,licenseApiGuard,customBranding,ftrApis,fieldFormats,expressions,screenshotting,charts,esUiShared,customIntegrations,contentManagement,dataViews,home,searchprofiler,painlessLab,management,cloudDataMigration,advancedSettings,spaces,security,telemetry,licenseManagement,snapshotRestore,lists,files,encryptedSavedObjects,eventLog,actions,notifications,grokdebugger,console,bfetch,data,watcher,savedSearch,savedObjectsTagging,savedObjectsManagement,unifiedSearch,graph,embeddable,uiActionsEnhanced,presentationUtil,expressionShape,expressionRevealImage,expressionRepeatImage,expressionMetric,expressionImage,controls,fileUpload,ingestPipelines,ecsDataQualityDashboard,dataViewFieldEditor,visualizations,visTypeXy,visTypeVislib,visTypeVega,visTypeTimeseries,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypeMetric,visTypeMarkdown,visTypeHeatmap,inputControlVis,expressionTagcloud,expressionPartitionVis,visTypePie,expressionMetricVis,expressionLegacyMetricVis,expressionHeatmap,expressionGauge,visTypeGauge,eventAnnotation,expressionXY,dashboard,lens,maps,aiops,dashboardEnhanced,dataViewManagement,alerting,triggersActionsUi,transform,stackConnectors,stackAlerts,ruleRegistry,cases,timelines,sessionView,kubernetesSecurity,threatIntelligence,discover,reporting,reportingExportTypes,canvas,fleet,osquery,indexManagement,rollup,remoteClusters,crossClusterReplication,indexLifecycleManagement,cloudSecurityPosture,cloudDefend,observability,observabilityOnboarding,discoverEnhanced,dataVisualizer,ml,synthetics,securitySolution,essSecurity,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,assetManager]
[2023-08-07T14:04:39.572+08:00][INFO ][plugins.taskManager] TaskManager is identified by the Kibana UUID: 809a9da6-2a01-4256-b8bf-08e49ebd857d
[2023-08-07T14:04:39.609+08:00][INFO ][custom-branding-service] CustomBrandingService registering plugin: customBranding
[2023-08-07T14:04:39.696+08:00][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2023-08-07T14:04:39.697+08:00][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
[2023-08-07T14:04:39.737+08:00][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2023-08-07T14:04:39.738+08:00][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.
[2023-08-07T14:04:39.758+08:00][WARN ][plugins.encryptedSavedObjects] Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2023-08-07T14:04:39.762+08:00][WARN ][plugins.actions] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2023-08-07T14:04:39.768+08:00][INFO ][plugins.notifications] Email Service Error: Email connector not specified.
[2023-08-07T14:04:40.469+08:00][WARN ][plugins.alerting] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2023-08-07T14:04:40.600+08:00][WARN ][plugins.reporting.config] Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
[2023-08-07T14:04:40.716+08:00][INFO ][plugins.cloudSecurityPosture] Registered task successfully [Task: cloud_security_posture-stats_task]
[2023-08-07T14:04:40.725+08:00][INFO ][plugins.alerting] Registering resources for context "observability.slo".
[2023-08-07T14:04:40.769+08:00][INFO ][plugins.alerting] Registering resources for context "observability.uptime".
[2023-08-07T14:04:40.799+08:00][INFO ][plugins.alerting] Registering resources for context "security".
[2023-08-07T14:04:40.844+08:00][INFO ][plugins.alerting] Registering resources for context "observability.logs".
[2023-08-07T14:04:40.846+08:00][INFO ][plugins.alerting] Registering resources for context "observability.metrics".
[2023-08-07T14:04:40.970+08:00][INFO ][plugins.alerting] Registering resources for context "observability.apm".
[2023-08-07T14:04:40.973+08:00][INFO ][plugins.assetManager] Asset manager plugin [tech preview] is NOT enabled
[2023-08-07T14:04:41.128+08:00][INFO ][plugins.screenshotting.config] Chromium sandbox provides an additional layer of protection, and is supported for Win32 OS. Automatically enabling Chromium sandbox.
[2023-08-07T14:04:41.183+08:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. security_exception
Root causes:
security_exception: missing authentication credentials for REST request [/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip]
- Visit
http://localhost:5601/
and get the resultKibana server is not ready yet.
- I only modified
xpack.security.http.ssl.enabled: false
in theelasticsearch-8.9.0/config/elasticsearch.yml
file, and other configurations remained unchanged.