# AWS Elasticsearch - xpack\_main@6.3.1 Authentication Exception from Kibana on prem

**URL:** https://discuss.elastic.co/t/aws-elasticsearch-xpack-main-6-3-1-authentication-exception-from-kibana-on-prem/152726
**Category:** Kibana
**Created:** [October 16, 2018, 11:06pm UTC](https://discuss.elastic.co/t/aws-elasticsearch-xpack-main-6-3-1-authentication-exception-from-kibana-on-prem/152726 "2018-10-16T23:06:17Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Jigar\_Patel1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jigar_patel1/32/47985_2.png) [@Jigar\_Patel1](https://discuss.elastic.co/u/Jigar_Patel1)
#### Post date: [October 16, 2018, 11:06pm UTC](https://discuss.elastic.co/t/aws-elasticsearch-xpack-main-6-3-1-authentication-exception-from-kibana-on-prem/152726/1 "2018-10-16T23:06:17Z")

</div>

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"
}
```

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 16, 2018, 11:08pm UTC](https://discuss.elastic.co/t/aws-elasticsearch-xpack-main-6-3-1-authentication-exception-from-kibana-on-prem/152726/2 "2018-10-16T23:08:16Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Jigar\_Patel1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jigar_patel1/32/47985_2.png) [@Jigar\_Patel1](https://discuss.elastic.co/u/Jigar_Patel1)
#### Post date: [October 17, 2018, 5:57pm UTC](https://discuss.elastic.co/t/aws-elasticsearch-xpack-main-6-3-1-authentication-exception-from-kibana-on-prem/152726/3 "2018-10-17T17:57:41Z")

</div>

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

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 17, 2018, 8:58pm UTC](https://discuss.elastic.co/t/aws-elasticsearch-xpack-main-6-3-1-authentication-exception-from-kibana-on-prem/152726/4 "2018-10-17T20:58:41Z")

</div>

[https://www.elastic.co/downloads/past-releases/kibana-6-3-1](https://www.elastic.co/downloads/past-releases/kibana-6-3-1)

---

<div class="post-metadata">

### Author: ![Jigar\_Patel1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jigar_patel1/32/47985_2.png) [@Jigar\_Patel1](https://discuss.elastic.co/u/Jigar_Patel1)
#### Post date: [October 18, 2018, 7:19pm UTC](https://discuss.elastic.co/t/aws-elasticsearch-xpack-main-6-3-1-authentication-exception-from-kibana-on-prem/152726/5 "2018-10-18T19:19:05Z")

</div>

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

Thanks you can close the thread now.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 15, 2018, 7:19pm UTC](https://discuss.elastic.co/t/aws-elasticsearch-xpack-main-6-3-1-authentication-exception-from-kibana-on-prem/152726/6 "2018-11-15T19:19:06Z")

</div>

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