Hello, after installed x-pack in elasticsearch and kibana, I start both. And I arrived on this error
.There is kibana's logs.
log [11:13:58.020] [info][status][plugin:kibana@6.1.3] Status changed from uninitialized to green - Ready log [11:13:58.052] [info][status][plugin:elasticsearch@6.1.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:13:58.070] [info][status][plugin:xpack_main@6.1.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:13:58.076] [info][status][plugin:graph@6.1.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:13:58.083] [error][status][plugin:xpack_main@6.1.3] Status changed from yellow to red - Authentication Exception log [11:13:58.084] [error][status][plugin:graph@6.1.3] Status changed from yellow to red - Authentication Exception log [11:13:58.084] [error][status][plugin:elasticsearch@6.1.3] Status changed from yellow to red - Authentication Exception log [11:13:58.090] [info][status][plugin:monitoring@6.1.3] Status changed from uninitialized to green - Ready log [11:13:58.101] [warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } :: {"path":"/_xpack","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication token for REST request [/_xpack]\",\"header\":{\"WWW-Authenticate\":\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"}}],\"type\":\"security_exception\",\"reason\":\"missing authentication token for REST request [/_xpack]\",\"header\":{\"WWW-Authenticate\":\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"}},\"status\":401}","wwwAuthenticateDirective":"Basic realm=\"security\" charset=\"UTF-8\""} log [11:13:58.102] [error][status][plugin:xpack_main@6.1.3] Status changed from red to red - [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } log [11:13:58.102] [error][status][plugin:graph@6.1.3] Status changed from red to red - [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } log [11:14:00.299] [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 log [11:14:00.303] [error][status][plugin:reporting@6.1.3] Status changed from uninitialized to red - [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } log [11:14:00.328] [error][status][plugin:security@6.1.3] Status changed from uninitialized to red - [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } log [11:14:00.330] [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 log [11:14:00.334] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended. log [11:14:00.355] [error][status][plugin:searchprofiler@6.1.3] Status changed from uninitialized to red - [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } log [11:14:00.359] [error][status][plugin:ml@6.1.3] Status changed from uninitialized to red - [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } log [11:14:00.389] [error][status][plugin:tilemap@6.1.3] Status changed from uninitialized to red - [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } log [11:14:00.391] [error][status][plugin:watcher@6.1.3] Status changed from uninitialized to red - [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } log [11:14:00.407] [info][status][plugin:grokdebugger@6.1.3] Status changed from uninitialized to green - Ready log [11:14:00.411] [info][status][plugin:dashboard_mode@6.1.3] Status changed from uninitialized to green - Ready log [11:14:00.418] [error][status][plugin:logstash@6.1.3] Status changed from uninitialized to red - [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } log [11:14:00.438] [info][status][plugin:apm@6.1.3] Status changed from uninitialized to green - Ready log [11:14:00.441] [info][status][plugin:license_management@6.1.3] Status changed from uninitialized to green - Ready log [11:14:00.445] [info][status][plugin:console@6.1.3] Status changed from uninitialized to green - Ready log [11:14:00.455] [info][status][plugin:metrics@6.1.3] Status changed from uninitialized to green - Ready log [11:14:00.575] [info][status][plugin:timelion@6.1.3] Status changed from uninitialized to green - Ready log [11:14:00.580] [info][listening] Server running at http://localhost:5601 log [11:14:28.119] [warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. [security_exception] missing authentication token for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } :: {"path":"/_xpack","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication token for REST request [/_xpack]\",\"header\":{\"WWW-Authenticate\":\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"}}],\"type\":\"security_exception\",\"reason\":\"missing authentication token for REST request [/_xpack]\",\"header\":{\"WWW-Authenticate\":\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"}},\"status\":401}","wwwAuthenticateDirective":"Basic realm=\"security\" charset=\"UTF-8\""}
Could someone help me?
Thanks