NOTE - I HAVE TRIED SETTING GEM SOURCE TO HTTP TEMP AND STILL NOTHING!!!
TLS is set to use 1.2 all the way on up to modern. I can hit other https sites just fine.
xxx@xxx:~ sudo /usr/share/logstash/bin/logstash-plugin install logstash-codec-sflow
Unable to download data from https://rubygems.org - Connection reset by peer (https://api.rubygems.org/latest_specs.4.8.gz)
ERROR: Installation aborted, verification failed for logstash-codec-sflow
xxx@xxx:~ ping api.rubygems.org
PING rubygems.org (220.127.116.11) 56(84) bytes of data.
64 bytes from 18.104.22.168 (22.214.171.124): icmp_seq=1 ttl=55 time=40.2 ms
64 bytes from 126.96.36.199 (188.8.131.52): icmp_seq=2 ttl=55 time=40.1 ms
64 bytes from 184.108.40.206 (220.127.116.11): icmp_seq=3 ttl=55 time=52.6 ms
64 bytes from 18.104.22.168 (22.214.171.124): icmp_seq=4 ttl=55 time=41.1 ms
--- rubygems.org ping statistics ---
I am running Ubuntu 18.04 (and tried disco dingo as well) - elastic stack 7.1 (elasticsearch, kibana, logstash), and on bare metal server. No nat and no firewalls are blocking.