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

問題:安裝插件慢
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/"  
......執行

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章