# Unable to install plugin on windows

**URL:** <https://discuss.elastic.co/t/unable-to-install-plugin-on-windows/89312>\
**Category:** Logstash\
**Created:** [June 14, 2017, 7:23am UTC](https://discuss.elastic.co/t/unable-to-install-plugin-on-windows/89312 "2017-06-14T07:23:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BayBay\_Hu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baybay_hu/32/19103_2.png) [@BayBay\_Hu](https://discuss.elastic.co/u/BayBay_Hu)\
**Post date:** [June 14, 2017, 7:23am UTC](https://discuss.elastic.co/t/unable-to-install-plugin-on-windows/89312/1 "2017-06-14T07:23:10Z")

</div>

Hi,all:

I could not install logstash plugin on windows 7. Here are my steps:

1. download logstash zip and unzip it.
2. open cmd and move to \logstash-5.4.1\bin
3. logstash-plugin install logstash-input-heroku

But it gives me there errors:

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

I also try to install other plugin but it shows the same error messages.  
Could anyone give me suggestion?

---

<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:** [July 12, 2017, 7:23am UTC](https://discuss.elastic.co/t/unable-to-install-plugin-on-windows/89312/2 "2017-07-12T07:23:39Z")

</div>

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