This help site has been deprecated. Please send your requests to support@rubygems.org

ERROR: Installation aborted, verification failed for logstash-input-mongodb

Rashmi Mishra's Avatar

Rashmi Mishra

08 Apr, 2021 08:19 AM

Hi Team ,

I am trying to install logstash-inpur-mongodb plugin and getting bellow error.

logstash-plugin install logstash-input-mongodb --debug
Validating logstash-input-mongodb
Unable to download data from https://rubygems.org - timed out (https://rubygems.
org/latest_specs.4.8.gz)
ERROR: Installation aborted, verification failed for logstash-input-mongodb

I am able hit https://rubygems.org from my browser and got downloaded https://rubygems.
org/latest_specs.4.8.gz .

after going through so many thread found it can be due to IPV6 which is not working.
https://help.rubygems.org/discussions/problems/31074-timeout-error

I am not having system admin role in my host so could not disable IPV6 , please help me out with this.

Thanks and regards
Rashmi Mishra
7981129964

  1. Support Staff 1 Posted by sonalkr132 on 08 Apr, 2021 08:41 AM

    sonalkr132's Avatar

    Hi Rashmi,

    Can you please update to the latest rubygem:

    jruby -S gem update --system
    
    and set export IPV4_FALLBACK_ENABLED=true env. Check https://github.com/rubygems/rubygems/pull/2662 for details.
  2. 2 Posted by Rashmi Mishra on 08 Apr, 2021 08:50 AM

    Rashmi Mishra's Avatar

    Hi ,

    getting same timeout error while tried to update also
    C:\Users\mishras\logstash-7.12.0-windows-x86_64\logstash-7.12.0\vendor\jruby\bin
    >jruby -S gem update --system
    ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
        timed out (https://rubygems.org/specs.4.8.gz)

    thanks

  3. Support Staff 3 Posted by sonalkr132 on 08 Apr, 2021 09:10 AM

    sonalkr132's Avatar

    Please download the latest rubygem manually and install it from the local file:

    wget https://rubygems.org/gems/rubygems-update-3.2.15.gem
    jruby -S gem install rubygems-update-3.2.15.gem
    jruby -S update_rubygems
    jruby -S gem -v
    

Discussions are closed to public comments.
If you need help with RubyGems.org please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac