I can't install any logstash plugin

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

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

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