# Installing x-pack for elasticsearch with a proxy authentification problem

**URL:** <https://discuss.elastic.co/t/installing-x-pack-for-elasticsearch-with-a-proxy-authentification-problem/135371>\
**Category:** Elasticsearch\
**Created:** [June 11, 2018, 1:41pm UTC](https://discuss.elastic.co/t/installing-x-pack-for-elasticsearch-with-a-proxy-authentification-problem/135371 "2018-06-11T13:41:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Goluche](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Paul\_Goluche](https://discuss.elastic.co/u/Paul_Goluche)\
**Post date:** [June 11, 2018, 1:41pm UTC](https://discuss.elastic.co/t/installing-x-pack-for-elasticsearch-with-a-proxy-authentification-problem/135371/1 "2018-06-11T13:41:33Z")

</div>

Hi, I've been trying to install x-pack with a proxy on Elasticsearch for a while now and i've been having the following error when i try :

> <https://gist.github.com/PGoluche/c33562563d4be29a3598a877d5ba15e4>

I'm using a proxy and the line we can find in the elasticsearch documentation to do my installation :

> <https://gist.github.com/PGoluche/cf34662f577e09466c8ff7f55277b457>

I do understand that there is an identification problem but I can't get where it comes from, I've used my ID and password as following (this is what I have found on other subjects) :

> <https://gist.github.com/PGoluche/a1819a77bf2eb8a68de651c9726d5836>

> <https://gist.github.com/PGoluche/c1933d9910c2928729d6ae0969c241b1>

Other info :  
Xubuntu 18.04  
elasticsearch 6.2.4  
openjdk version "1.8.0\_171"

---

<div class="post-metadata">

**Author:** ![Yogesh\_Gaikwad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yogesh_gaikwad/32/27025_2.png) [@Yogesh\_Gaikwad](https://discuss.elastic.co/u/Yogesh_Gaikwad)\
**Post date:** [June 12, 2018, 12:06am UTC](https://discuss.elastic.co/t/installing-x-pack-for-elasticsearch-with-a-proxy-authentification-problem/135371/2 "2018-06-12T00:06:18Z")

</div>

Hi @Paul_Goluche,

Could you please check what authentication does scheme does your proxy require : `Basic`, `Digest`, `NTLM` etc.?

Also I would try with curl/wget to see if I can visit in verbose mode so the proxy settings work, just to verify credentials.

Thanks and Regards,  
Yogesh Gaikwad

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [June 12, 2018, 3:56am UTC](https://discuss.elastic.co/t/installing-x-pack-for-elasticsearch-with-a-proxy-authentification-problem/135371/3 "2018-06-12T03:56:05Z")

</div>

Have you considered just doing an offline install?  
You can manually download x-pack and then install it from a local file.

---

<div class="post-metadata">

**Author:** ![Paul\_Goluche](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Paul\_Goluche](https://discuss.elastic.co/u/Paul_Goluche)\
**Post date:** [June 12, 2018, 7:27am UTC](https://discuss.elastic.co/t/installing-x-pack-for-elasticsearch-with-a-proxy-authentification-problem/135371/4 "2018-06-12T07:27:10Z")

</div>

Hi, my proxy requires a Http Basic authentification.  
I can use elasticsearch with no problem using the curl and xget, xput. I have also been able to use kibana with no trouble.  
I will try to provide you more info via the verbose mode this evening

Thanks and Regards,  
Paul Goluche

---

<div class="post-metadata">

**Author:** ![Paul\_Goluche](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Paul\_Goluche](https://discuss.elastic.co/u/Paul_Goluche)\
**Post date:** [June 12, 2018, 7:28am UTC](https://discuss.elastic.co/t/installing-x-pack-for-elasticsearch-with-a-proxy-authentification-problem/135371/5 "2018-06-12T07:28:34Z")

</div>

I'm trying right now, but I would still like to understand the problem linked to the proxy so it doesn't happen again the day I can only install from a command line..

---

<div class="post-metadata">

**Author:** ![Paul\_Goluche](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Paul\_Goluche](https://discuss.elastic.co/u/Paul_Goluche)\
**Post date:** [June 12, 2018, 7:40am UTC](https://discuss.elastic.co/t/installing-x-pack-for-elasticsearch-with-a-proxy-authentification-problem/135371/6 "2018-06-12T07:40:16Z")

</div>

And I managed to install with no problem thanks !

---

<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:** [July 10, 2018, 7:40am UTC](https://discuss.elastic.co/t/installing-x-pack-for-elasticsearch-with-a-proxy-authentification-problem/135371/7 "2018-07-10T07:40:25Z")

</div>

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