# Installing Plugins for Logstash 5.0

**URL:** <https://discuss.elastic.co/t/installing-plugins-for-logstash-5-0/65642>\
**Category:** Logstash\
**Created:** [November 10, 2016, 11:11am UTC](https://discuss.elastic.co/t/installing-plugins-for-logstash-5-0/65642 "2016-11-10T11:11:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahdy\_S](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Mahdy\_S](https://discuss.elastic.co/u/Mahdy_S)\
**Post date:** [November 10, 2016, 11:11am UTC](https://discuss.elastic.co/t/installing-plugins-for-logstash-5-0/65642/1 "2016-11-10T11:11:32Z")

</div>

Hi There,

I'm trying to install the memorize plugin for Logstash on Ubuntu 14.04. The problem is that my Logstash server is connected through a proxy. So when using the normal `bin/logstash-plugin install logstash-filter-memorize` command I get the error `Unable to download data from https://rubygems.org - SocketError: initialize: name or service not known (https://rubygems.org/latest_specs.4.8.gz)`. I have tried to use the following commands:

> ```
> export http_proxy=http://user:password@host:port
> export https_proxy=http://user:password@host:port
> 
> ```

As described in [Installing plugins in logstash 1.5.0 using proxy ? · Issue #3314 · elastic/logstash · GitHub](https://github.com/elastic/logstash/issues/3314) but I still got the same error. I downloaded the gem file and tried to install it locally as described in [Working with plugins | Logstash Reference [8.11] | Elastic](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html#installing-local-plugins) but I got the following error:

> ```
> Error Bundler::InstallError, retrying 1/10
> An error occurred while installing logstash-core-event-java (5.0.0), and Bundler cannot continue.
> Make sure that `gem install logstash-core-event-java -v '5.0.0'` succeeds before bundling.
> 
> ```

I have tried to run the command `gem install logstash-core-event-java -v '5.0.0'` and it ran successfully but when trying to install the plugin I still got the same error. `sudo update-ca-certificates -f` didn't help either.  
Any insights on this?

---

<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:** [December 8, 2016, 11:11am UTC](https://discuss.elastic.co/t/installing-plugins-for-logstash-5-0/65642/2 "2016-12-08T11:11:47Z")

</div>

Closed on December 8, 2016, 11:11am UTC

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