hi all
I am using logstash version 6.6.0 on windows, and now I am interested of logstash plugin installation. for this purpose, i ran following command in CMD which gives me Error.
C:\logstash-6.6.0\bin>logstash-plugin install logstash-input-jmx
Validating logstash-input-jmx
Unable to download data from https://rubygems.org - Errno::ECONNREFUSED: Connection refused - Failed to open TCP connection to localhost:3128 (Connection refused - connect(2) for "localhost" port 3128) (https://api.rubygems.org/latest_specs.4.8.gz)
ERROR: Installation aborted, verification failed for logstash-input-jmx
to handle this issue I set HTTP_PROXY and HTTPS_PROXY in terminal, but the same error can be found:
C:\logstash-6.6.0\bin>set HTTP_PROXY=http://localhost:3128
C:\logstash-6.6.0\bin>set HTTPS_PROXY=http://localhost:3128
C:\logstash-6.6.0\bin>logstash-plugin install logstash-input-jmx
Validating logstash-input-jmx
Unable to download data from https://rubygems.org - Errno::ECONNREFUSED: Connection refused - Failed to open TCP connection to localhost:3128 (Connection refused - connect(2) for "localhost" port 3128) (https://api.rubygems.org/latest_specs.4.8.gz)
ERROR: Installation aborted, verification failed for logstash-input-jmx
how can i handle this issue? any advise will be so appreciated