I am trying to use "translate" plugin (logstash-filter-translate) on one of the intranet system. Since "translate" plugin is not part of logstash standard plugins, I am trying to prepare an offline plugin pack for translate plugin on a staging server as per the instructions - https://www.elastic.co/guide/en/logstash/5.2/offline-plugins.html
This staging server connects to the internet through a proxy and proxy environmental variable "HTTP_PROXY" is set and I am able to access the internet without any issues. Still, I am getting the following error:
bin/logstash-plugin prepare-offline-pack logstash-filter-translate
SocketError: initialize: name or service not known
initialize at org/jruby/ext/socket/RubyTCPSocket.java:129
open at org/jruby/RubyIO.java:1197
connect
at /usr/share/logstash/vendor/jruby/lib/ruby/1.9/net/http.rb:763
timeout at org/jruby/ext/timeout/Timeout.java:98
connect
at /usr/share/logstash/vendor/jruby/lib/ruby/1.9/net/http.rb:763
do_start
at /usr/share/logstash/vendor/jruby/lib/ruby/1.9/net/http.rb:756
start
at /usr/share/logstash/vendor/jruby/lib/ruby/1.9/net/http.rb:745
request
at /usr/share/logstash/vendor/jruby/lib/ruby/1.9/net/http.rb:1293
get
at /usr/share/logstash/vendor/jruby/lib/ruby/1.9/net/http.rb:1035
download_file
at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/paquet-0.2.0/lib/paquet/utils.rb:21
download_gem
at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/paquet-0.2.0/lib/paquet/gem.rb:106
package_gems
at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/paquet-0.2.0/lib/paquet/gem.rb:48
each at org/jruby/RubyArray.java:1613
package_gems
at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/paquet-0.2.0/lib/paquet/gem.rb:42
pack
at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/paquet-0.2.0/lib/paquet/gem.rb:33
execute
at /usr/share/logstash/lib/pluginmanager/offline_plugin_packager.rb:90
package
at /usr/share/logstash/lib/pluginmanager/offline_plugin_packager.rb:117
execute
at /usr/share/logstash/lib/pluginmanager/prepare_offline_pack.rb:26
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:46
Does the process of building offline plugin pack support proxy?