1. 程式人生 > >logstash 安裝插件慢 WARNING: SSLSocket#session= is not supported

logstash 安裝插件慢 WARNING: SSLSocket#session= is not supported

logstash 安裝插件慢

問題:安裝插件慢
root@ip-172-31-2-121:/work/opt/logstash# bin/logstash-plugin install logstash-output-kinesis
Validating logstash-output-kinesis
Installing logstash-output-kinesis
WARNING: SSLSocket#session= is not supported


解決:

更換為國內源

[ec2-user@ip-xxx-xxx-xxx-xxx logstash-2.3.0]$ cat Gemfile | grep source  
source "https://rubygems.org"需要將gem source修改為國內的源,  
  
[ec2-user@ip-xxx-xxx-xxx-xxx logstash-2.3.0]$ vim Gemfile  
  
# This is a Logstash generated Gemfile.  
# If you modify this file manually all comments and formatting will be lost.  
  
#source "https://rubygems.org"  
source "https://ruby.taobao.org/"  
......執行

logstash 安裝插件慢 WARNING: SSLSocket#session= is not supported