# Error Installing plugin

**URL:** https://discuss.elastic.co/t/error-installing-plugin/114281
**Category:** Logstash
**Created:** [January 5, 2018, 12:19pm UTC](https://discuss.elastic.co/t/error-installing-plugin/114281 "2018-01-05T12:19:40Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![faoc](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@faoc](https://discuss.elastic.co/u/faoc)
#### Post date: [January 5, 2018, 12:19pm UTC](https://discuss.elastic.co/t/error-installing-plugin/114281/1 "2018-01-05T12:19:40Z")

</div>

Hi,

I'm trying to install a logstash-output-plugin, but every time a get a proxy error.  
I already set HTTP\_PROXY and HTTPS\_PROXY but i'm still with the same issue.

this is the error:  
"Unable to download data from [https://rubygems.org](https://rubygems.org) - Errno::ECONNREFUSED: Connection refused - Failed to open TCP connect  
ion to [api.rubygems.org:443](http://api.rubygems.org:443) (Connection refused - connect(2) for "[api.rubygems.org](http://api.rubygems.org)" port 443) ([https://api.rubygems.org/latest\_specs.4.8.gz](https://api.rubygems.org/latest_specs.4.8.gz))"

Does anyone know how to solve that?

Thank you

---

<div class="post-metadata">

### Author: ![eperry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eperry/32/551_2.png) [@eperry](https://discuss.elastic.co/u/eperry)
#### Post date: [January 5, 2018, 1:53pm UTC](https://discuss.elastic.co/t/error-installing-plugin/114281/2 "2018-01-05T13:53:28Z")

</div>

What version of logstash ar eyou on?

you can try reading this thread [https://discuss.elastic.co/t/5-1-1-plugin-installation-behind-proxy/70454/7](https://discuss.elastic.co/t/5-1-1-plugin-installation-behind-proxy/70454/7)

---

<div class="post-metadata">

### Author: ![faoc](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@faoc](https://discuss.elastic.co/u/faoc)
#### Post date: [January 5, 2018, 2:24pm UTC](https://discuss.elastic.co/t/error-installing-plugin/114281/3 "2018-01-05T14:24:39Z")

</div>

i already tried 5.6.5 and now 6.1.1;  
Do i need to set proxy on JRuby ? i

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [January 5, 2018, 9:21pm UTC](https://discuss.elastic.co/t/error-installing-plugin/114281/4 "2018-01-05T21:21:46Z")

</div>

> I already set HTTP\_PROXY and HTTPS\_PROXY but i'm still with the same issue.

HTTP\_PROXY and HTTPS\_PROXY or http\_proxy and https\_proxy? The variable names are case-sensitive.

---

<div class="post-metadata">

### Author: ![eperry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eperry/32/551_2.png) [@eperry](https://discuss.elastic.co/u/eperry)
#### Post date: [January 5, 2018, 11:26pm UTC](https://discuss.elastic.co/t/error-installing-plugin/114281/5 "2018-01-05T23:26:27Z")

</div>

did you try?

[https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html)

---

<div class="post-metadata">

### Author: ![faoc](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@faoc](https://discuss.elastic.co/u/faoc)
#### Post date: [January 6, 2018, 7:28pm UTC](https://discuss.elastic.co/t/error-installing-plugin/114281/6 "2018-01-06T19:28:28Z")

</div>

thank you for your reply.  
I tried that...but it didnt work.  
I resolve the problem with the offline installation... i downloaded the plugin from gem repository and after i installed it... I could notice that after this step, the gemfile added the path to plugin that i installed offline 🙂

---

<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: [February 3, 2018, 7:28pm UTC](https://discuss.elastic.co/t/error-installing-plugin/114281/7 "2018-02-03T19:28:44Z")

</div>

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