# I can't install any logstash plugin

**URL:** <https://discuss.elastic.co/t/i-cant-install-any-logstash-plugin/164393>\
**Category:** Logstash\
**Created:** [January 16, 2019, 12:43am UTC](https://discuss.elastic.co/t/i-cant-install-any-logstash-plugin/164393 "2019-01-16T00:43:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Gonzalez1](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@Daniel\_Gonzalez1](https://discuss.elastic.co/u/Daniel_Gonzalez1)\
**Post date:** [January 16, 2019, 12:43am UTC](https://discuss.elastic.co/t/i-cant-install-any-logstash-plugin/164393/1 "2019-01-16T00:43:40Z")

</div>

Hello!

I want to install the elapsed plugin or 1p2location for logstash, and when I enter the command to install the plugin, I see this message:

```
Validating logstash-filter-ip2location
IOError: No route to host
                      send at org/jruby/ext/socket/RubyUDPSocket.java:441
                      send at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/resolv.rb:803
                   request at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/resolv.rb:680
   block in fetch_resource at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/resolv.rb:536
           block in resolv at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/resolv.rb:1108
                      each at org/jruby/RubyArray.java:1734
           block in resolv at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/resolv.rb:1106
                      each at org/jruby/RubyArray.java:1734
           block in resolv at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/resolv.rb:1105
                      each at org/jruby/RubyArray.java:1734
                    resolv at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/resolv.rb:1103
            fetch_resource at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/resolv.rb:527
             each_resource at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/resolv.rb:517
               getresource at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/resolv.rb:498
              api_endpoint at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/lib/bootstrap/patches/remote_fetcher.rb:8
                   api_uri at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/rubygems/source.rb:47
                load_specs at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/rubygems/source.rb:187
                tuples_for at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/rubygems/spec_fetcher.rb:267
  block in available_specs at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/rubygems/spec_fetcher.rb:231
                      each at org/jruby/RubyArray.java:1734
               each_source at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/rubygems/source_list.rb:98
           available_specs at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/rubygems/spec_fetcher.rb:227
     search_for_dependency at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/rubygems/spec_fetcher.rb:103
       spec_for_dependency at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/jruby/lib/ruby/stdlib/rubygems/spec_fetcher.rb:167
          logstash_plugin? at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/lib/pluginmanager/util.rb:29
           validate_plugin at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/lib/pluginmanager/install.rb:119
   block in verify_remote! at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/lib/pluginmanager/install.rb:113
                      each at org/jruby/RubyArray.java:1734
            verify_remote! at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/lib/pluginmanager/install.rb:111
                   execute at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/lib/pluginmanager/install.rb:57
                       run at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67
                   execute at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb:11
                       run at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67
                       run at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132
                    <main> at /Users/daniel/Documents/TRABAJO/Elastic/logstash-6.5.4/lib/pluginmanager/main.rb:48

```

I'm using a mac with OS Mojave

---

<div class="post-metadata">

**Author:** ![GaryChewter](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@GaryChewter](https://discuss.elastic.co/u/GaryChewter)\
**Post date:** [January 18, 2019, 8:22am UTC](https://discuss.elastic.co/t/i-cant-install-any-logstash-plugin/164393/2 "2019-01-18T08:22:18Z")

</div>

Have you check is your Logstash machine able to connect to the internet?

---

<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 15, 2019, 8:22am UTC](https://discuss.elastic.co/t/i-cant-install-any-logstash-plugin/164393/3 "2019-02-15T08:22:33Z")

</div>

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