# Logstash 5.4 Plugins - Unable to install plugins - Errors with httparty

**URL:** <https://discuss.elastic.co/t/logstash-5-4-plugins-unable-to-install-plugins-errors-with-httparty/87013>\
**Category:** Logstash\
**Created:** [May 24, 2017, 4:36pm UTC](https://discuss.elastic.co/t/logstash-5-4-plugins-unable-to-install-plugins-errors-with-httparty/87013 "2017-05-24T16:36:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![techpanga](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@techpanga](https://discuss.elastic.co/u/techpanga)\
**Post date:** [May 24, 2017, 4:36pm UTC](https://discuss.elastic.co/t/logstash-5-4-plugins-unable-to-install-plugins-errors-with-httparty/87013/1 "2017-05-24T16:36:12Z")

</div>

Logstash - 5.4, Ruby 1.9 (default comes with logstash)

I do see below errors for `DEBUG=1 bin/logstash-plugin update`.

Due to these errors (httparty), I am unable to install any plugins like email, hipchat etc.

`Gem::InstallError: httparty requires Ruby version >= 2.0.0.`

```
Bundler::InstallError: An error occurred while installing httparty (0.15.5), and Bundler cannot continue.
Make sure that `gem install httparty -v '0.15.5'` succeeds before bundling.
  install_gem_from_spec at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/installer.rb:145
   install_sequentially at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/installer.rb:269
                   each at org/jruby/RubyArray.java:1613
                   each at /usr/share/logstash/vendor/jruby/lib/ruby/1.9/forwardable.rb:201
   install_sequentially at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/installer.rb:268
                    run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/installer.rb:90
                install at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/installer.rb:18
                    run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/cli/update.rb:51
                 update at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/cli.rb:178
                    run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/vendor/thor/lib/thor/command.rb:27
         invoke_command at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:126
               dispatch at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/vendor/thor/lib/thor.rb:359
                  start at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/vendor/thor/lib/thor/base.rb:440
                  start at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/cli.rb:10
        execute_bundler at /usr/share/logstash/lib/bootstrap/bundler.rb:152
                invoke! at /usr/share/logstash/lib/bootstrap/bundler.rb:113
           update_gems! at /usr/share/logstash/lib/pluginmanager/update.rb:67
                execute at /usr/share/logstash/lib/pluginmanager/update.rb:32
                    run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67
                execute at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb:11
                    run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67
                    run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132
                 (root) at /usr/share/logstash/lib/pluginmanager/main.rb:48
```

---

<div class="post-metadata">

**Author:** ![orhiee](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@orhiee](https://discuss.elastic.co/u/orhiee)\
**Post date:** [May 25, 2017, 4:20pm UTC](https://discuss.elastic.co/t/logstash-5-4-plugins-unable-to-install-plugins-errors-with-httparty/87013/2 "2017-05-25T16:20:21Z")

</div>

well i have 5.4.o installe on centos7 via the rpm packages, and i use the below to install plugins and it works, give it a try:

`/usr/share/logstash/bin/logstash-plugin install logstash-filter-translate`

---

<div class="post-metadata">

**Author:** ![techpanga](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@techpanga](https://discuss.elastic.co/u/techpanga)\
**Post date:** [May 26, 2017, 6:17pm UTC](https://discuss.elastic.co/t/logstash-5-4-plugins-unable-to-install-plugins-errors-with-httparty/87013/3 "2017-05-26T18:17:39Z")

</div>

Hi Orhiee,

After trying this, still i got same issue.

i am trying to install logstash-output-hipchat

-Regards, dp

---

<div class="post-metadata">

**Author:** ![orhiee](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@orhiee](https://discuss.elastic.co/u/orhiee)\
**Post date:** [May 29, 2017, 6:14pm UTC](https://discuss.elastic.co/t/logstash-5-4-plugins-unable-to-install-plugins-errors-with-httparty/87013/4 "2017-05-29T18:14:20Z")

</div>

i just tried the below and got errors as well

`sudo /usr/share/logstash/bin/logstash-plugin install logstash-output-hipchat`

Error: it seems to be trying 10 times:  
Make sure that `gem install httparty -v 0.15.5 succeeds before bundling.  
WARNING: SSLSocket#session= is not supported  
Error Bundler::InstallError, retrying 7/10  
An error occurred while installing httparty (0.15.5), and Bundler cannot continue.

tryyed to see if "gem" was installed and it wasnt, did a "yum install gem -y" and than " gem install httparty -v '0.15.5'` " and didnt really help 😕

---

<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:** [June 26, 2017, 6:14pm UTC](https://discuss.elastic.co/t/logstash-5-4-plugins-unable-to-install-plugins-errors-with-httparty/87013/5 "2017-06-26T18:14:22Z")

</div>

Closed on June 26, 2017, 6:14pm UTC

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