AWS Elasticsearch - xpack_main@6.3.1 Authentication Exception from Kibana on prem


(Jigar Patel) #1

I am trying to connect to ES (6.3.1) in AWS from on prem Kibana(6.3.1) and getting below error on kibana

./kibana
log   [22:47:08.035] [info][status][plugin:kibana@6.3.1] Status changed from uninitialized to green - Ready
log   [22:47:08.065] [info][status][plugin:elasticsearch@6.3.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log   [22:47:08.068] [info][status][plugin:xpack_main@6.3.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log   [22:47:08.072] [info][status][plugin:searchprofiler@6.3.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log   [22:47:08.075] [info][status][plugin:tilemap@6.3.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log   [22:47:08.084] [info][status][plugin:license_management@6.3.1] Status changed from uninitialized to green - Ready
log   [22:47:08.086] [info][status][plugin:index_management@6.3.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log   [22:47:08.198] [info][status][plugin:timelion@6.3.1] Status changed from uninitialized to green - Ready
log   [22:47:08.200] [info][status][plugin:grokdebugger@6.3.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log   [22:47:08.202] [info][status][plugin:dashboard_mode@6.3.1] Status changed from uninitialized to green - Ready
log   [22:47:08.203] [info][status][plugin:logstash@6.3.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log   [22:47:08.219] [info][status][plugin:apm@6.3.1] Status changed from uninitialized to green - Ready
log   [22:47:08.224] [info][status][plugin:console@6.3.1] Status changed from uninitialized to green - Ready
log   [22:47:08.225] [info][status][plugin:console_extensions@6.3.1] Status changed from uninitialized to green - Ready
log   [22:47:08.227] [info][status][plugin:metrics@6.3.1] Status changed from uninitialized to green - Ready
log   [22:47:08.245] [info][listening] Server running at http://10.203.15.121:5601
log   [22:47:09.426] [info][status][plugin:elasticsearch@6.3.1] Status changed from yellow to green - Ready
log   [22:47:10.054] [warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Authentication Exception :: {"path":"/_xpack","statusCode":401,"response":"{\"Message\":\"Your request: '/_xpack' is not allowed.\"}"}
log   [22:47:10.055] [error][status][plugin:xpack_main@6.3.1] Status changed from yellow to red - Authentication Exception
log   [22:47:10.055] [error][status][plugin:searchprofiler@6.3.1] Status changed from yellow to red - Authentication Exception
log   [22:47:10.055] [error][status][plugin:tilemap@6.3.1] Status changed from yellow to red - Authentication Exception
log   [22:47:10.056] [error][status][plugin:index_management@6.3.1] Status changed from yellow to red - Authentication Exception
log   [22:47:10.056] [error][status][plugin:grokdebugger@6.3.1] Status changed from yellow to red - Authentication Exception
log   [22:47:10.057] [error][status][plugin:logstash@6.3.1] Status changed from yellow to red - Authentication Exception
log   [22:47:40.216] [warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Authentication Exception :: {"path":"/_xpack","statusCode":401,"response":"{\"Message\":\"Your request: '/_xpack' is not allowed.\"}"}
log   [22:48:10.377] [warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Authentication Exception :: {"path":"/_xpack","statusCode":401,"response":"{\"Message\":\"Your request: '/_xpack' is not allowed.\"}"}

Kibana Config:

 server.host: "localhost"
 elasticsearch.url: "https://search-somelogs-adfdadffahkmxu.eu-central-1.es.amazonaws.com:443"
 kibana.index: ".kibana"
 elasticsearch.requestTimeout: 90000

 xpack.security.enabled: false
 xpack.graph.enabled: false
 xpack.ml.enabled: false
 xpack.monitoring.enabled: false
 xpack.reporting.enabled: false
 xpack.watcher.enabled: false

Where as curl is working fine:

curl -X GET "https://search-somelogs-abcd.eu-central-1.es.amazonaws.com:443"
{
"name" : "asdfasf",
"cluster_name" : "940810875359:somelogs",
"cluster_uuid" : "asdfadsfuuidadafdsf",
"version" : {
"number" : "6.3.1",
"build_flavor" : "oss",
"build_type" : "zip",
"build_hash" : "e6df130",
"build_date" : "2018-08-01T07:23:36.254471Z",
"build_snapshot" : false,
"lucene_version" : "7.3.1",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}

(Mark Walkom) #2

You cannot use X-Pack with AWS ES sorry to say.


(Jigar Patel) #3

@warkolm I want to use kibana 6.3.1only without X-pack, where can I get it?


(Mark Walkom) #4

https://www.elastic.co/downloads/past-releases/kibana-6-3-1


(Jigar Patel) #5

@warkolm - I was looking for oss which I found here...
https://www.elastic.co/downloads/kibana-oss

Thanks you can close the thread now.


(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.