# Logstash 5.2.0 - Cannot install any plugin on Windows 10

**URL:** <https://discuss.elastic.co/t/logstash-5-2-0-cannot-install-any-plugin-on-windows-10/73976>\
**Category:** Logstash\
**Created:** [February 5, 2017, 10:03am UTC](https://discuss.elastic.co/t/logstash-5-2-0-cannot-install-any-plugin-on-windows-10/73976 "2017-02-05T10:03:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Hatas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/martin_hatas/32/1742_2.png) [@Martin\_Hatas](https://discuss.elastic.co/u/Martin_Hatas)\
**Post date:** [February 5, 2017, 10:03am UTC](https://discuss.elastic.co/t/logstash-5-2-0-cannot-install-any-plugin-on-windows-10/73976/1 "2017-02-05T10:03:09Z")

</div>

C:\Java\temperature\logstash-5.2.0  
λ bin\logstash-plugin install logstash-input-beats  
Validating logstash-input-beats  
Encoding::UndefinedConversionError: ""o\x01"" from UTF-16LE to Windows-1252  
encode at org/jruby/RubyString.java:7623  
initialize at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/win32/registry.rb:172  
exception at org/jruby/RubyException.java:112  
check at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/win32/registry.rb:228  
QueryValue at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/win32/registry.rb:281  
read at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/win32/registry.rb:584  
read\_s at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/win32/registry.rb:634  
get\_info at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/win32/resolv.rb:147  
open at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/win32/registry.rb:386  
open at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/win32/registry.rb:493  
get\_info at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/win32/resolv.rb:137  
get\_resolv\_info at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/win32/resolv.rb:20  
default\_config\_hash at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/resolv.rb:909  
lazy\_initialize at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/resolv.rb:926  
synchronize at org/jruby/ext/thread/Mutex.java:149  
lazy\_initialize at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/resolv.rb:919  
lazy\_initialize at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/resolv.rb:347  
synchronize at org/jruby/ext/thread/Mutex.java:149  
lazy\_initialize at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/resolv.rb:345  
each\_resource at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/resolv.rb:499  
getresource at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/1.9/resolv.rb:480  
api\_endpoint at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/shared/rubygems/remote\_fetcher.rb:92  
api\_uri at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/shared/rubygems/source.rb:46  
load\_specs at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/shared/rubygems/source.rb:182  
tuples\_for at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/shared/rubygems/spec\_fetcher.rb:261  
available\_specs at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/shared/rubygems/spec\_fetcher.rb:226  
each at org/jruby/RubyArray.java:1613  
each\_source at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/shared/rubygems/source\_list.rb:97  
available\_specs at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/shared/rubygems/spec\_fetcher.rb:222  
search\_for\_dependency at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/shared/rubygems/spec\_fetcher.rb:102  
spec\_for\_dependency at C:/Java/temperature/logstash-5.2.0/vendor/jruby/lib/ruby/shared/rubygems/spec\_fetcher.rb:166  
logstash\_plugin? at C:/Java/temperature/logstash-5.2.0/lib/pluginmanager/util.rb:28  
validate\_plugin at C:/Java/temperature/logstash-5.2.0/lib/pluginmanager/install.rb:89  
verify\_remote! at C:/Java/temperature/logstash-5.2.0/lib/pluginmanager/install.rb:83  
each at org/jruby/RubyArray.java:1613  
verify\_remote! at C:/Java/temperature/logstash-5.2.0/lib/pluginmanager/install.rb:81  
execute at C:/Java/temperature/logstash-5.2.0/lib/pluginmanager/install.rb:58  
run at C:/Java/temperature/logstash-5.2.0/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67  
execute at C:/Java/temperature/logstash-5.2.0/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb:11  
run at C:/Java/temperature/logstash-5.2.0/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67  
run at C:/Java/temperature/logstash-5.2.0/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132  
(root) at C:\Java\temperature\logstash-5.2.0\lib\pluginmanager\main.rb:46

---

<div class="post-metadata">

**Author:** ![Kiljung\_Kim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kiljung_kim/32/16000_2.png) [@Kiljung\_Kim](https://discuss.elastic.co/u/Kiljung_Kim)\
**Post date:** [March 2, 2017, 5:46am UTC](https://discuss.elastic.co/t/logstash-5-2-0-cannot-install-any-plugin-on-windows-10/73976/2 "2017-03-02T05:46:18Z")

</div>

Hi.

I have same error~~!! I need help..

My environment is Windows7 32bit.

Error msg is below.

C:\Temp\logstash\bin\>logstash-plugin install beats  
JAVA\_OPTS was set to [ -Xmx1g -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSP  
arallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX:CMSIniti  
atingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutO  
fMemoryError -XX:HeapDumpPath="C:\Temp\logstash/heapdump.hprof"]. Logstash will  
trust these options, and not set any defaults that it might usually set  
Validating beats  
Encoding::UndefinedConversionError: ""\xC0\xC9"" from UTF-16LE to ASCII-8BIT  
encode at org/jruby/RubyString.java:7623  
initialize at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/win32/regi  
stry.rb:172  
exception at org/jruby/RubyException.java:112  
check at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/win32/regi  
stry.rb:228  
QueryValue at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/win32/regi  
stry.rb:281  
read at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/win32/regi  
stry.rb:584  
read\_s at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/win32/regi  
stry.rb:634  
get\_info at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/win32/reso  
lv.rb:147  
open at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/win32/regi  
stry.rb:386  
open at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/win32/regi  
stry.rb:493  
get\_info at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/win32/reso  
lv.rb:137  
get\_resolv\_info at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/win32/reso  
lv.rb:20  
default\_config\_hash at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/resolv.rb:  
909  
lazy\_initialize at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/resolv.rb:  
926  
synchronize at org/jruby/ext/thread/Mutex.java:149  
lazy\_initialize at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/resolv.rb:  
919  
lazy\_initialize at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/resolv.rb:  
347  
synchronize at org/jruby/ext/thread/Mutex.java:149  
lazy\_initialize at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/resolv.rb:  
345  
each\_resource at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/resolv.rb:  
499  
getresource at C:/Temp/logstash/vendor/jruby/lib/ruby/1.9/resolv.rb:  
480  
api\_endpoint at C:/Temp/logstash/vendor/jruby/lib/ruby/shared/rubygem  
s/remote\_fetcher.rb:92  
api\_uri at C:/Temp/logstash/vendor/jruby/lib/ruby/shared/rubygem  
s/source.rb:46  
load\_specs at C:/Temp/logstash/vendor/jruby/lib/ruby/shared/rubygem  
s/source.rb:182  
tuples\_for at C:/Temp/logstash/vendor/jruby/lib/ruby/shared/rubygem  
s/spec\_fetcher.rb:261  
available\_specs at C:/Temp/logstash/vendor/jruby/lib/ruby/shared/rubygem  
s/spec\_fetcher.rb:226  
each at org/jruby/RubyArray.java:1613  
each\_source at C:/Temp/logstash/vendor/jruby/lib/ruby/shared/rubygem  
s/source\_list.rb:97  
available\_specs at C:/Temp/logstash/vendor/jruby/lib/ruby/shared/rubygem  
s/spec\_fetcher.rb:222  
search\_for\_dependency at C:/Temp/logstash/vendor/jruby/lib/ruby/shared/rubygem  
s/spec\_fetcher.rb:102  
spec\_for\_dependency at C:/Temp/logstash/vendor/jruby/lib/ruby/shared/rubygem  
s/spec\_fetcher.rb:166  
logstash\_plugin? at C:/Temp/logstash/lib/pluginmanager/util.rb:28  
validate\_plugin at C:/Temp/logstash/lib/pluginmanager/install.rb:89  
verify\_remote! at C:/Temp/logstash/lib/pluginmanager/install.rb:83  
each at org/jruby/RubyArray.java:1613  
verify\_remote! at C:/Temp/logstash/lib/pluginmanager/install.rb:81  
execute at C:/Temp/logstash/lib/pluginmanager/install.rb:58  
run at C:/Temp/logstash/vendor/bundle/jruby/1.9/gems/clamp-0  
.6.5/lib/clamp/command.rb:67  
execute at C:/Temp/logstash/vendor/bundle/jruby/1.9/gems/clamp-0  
.6.5/lib/clamp/subcommand/execution.rb:11  
run at C:/Temp/logstash/vendor/bundle/jruby/1.9/gems/clamp-0  
.6.5/lib/clamp/command.rb:67  
run at C:/Temp/logstash/vendor/bundle/jruby/1.9/gems/clamp-0  
.6.5/lib/clamp/command.rb:132  
(root) at C:\Temp\logstash\lib\pluginmanager\main.rb:46

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 30, 2017, 5:46am UTC](https://discuss.elastic.co/t/logstash-5-2-0-cannot-install-any-plugin-on-windows-10/73976/3 "2017-03-30T05:46:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
