# Logstash 6.6 - Cannot install logstash-filter-geoip plugin :ERROR

**URL:** https://discuss.elastic.co/t/logstash-6-6-cannot-install-logstash-filter-geoip-plugin-error/166659
**Category:** Logstash
**Created:** [February 1, 2019, 2:11am UTC](https://discuss.elastic.co/t/logstash-6-6-cannot-install-logstash-filter-geoip-plugin-error/166659 "2019-02-01T02:11:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![taku333](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taku333/32/40375_2.png) [@taku333](https://discuss.elastic.co/u/taku333)
#### Post date: [February 1, 2019, 2:11am UTC](https://discuss.elastic.co/t/logstash-6-6-cannot-install-logstash-filter-geoip-plugin-error/166659/1 "2019-02-01T02:11:58Z")

</div>

I attempted to install the logstash-filter-geoip plugin via proxy.  
But installed Faild.

I set and run setting http\_proxy and https\_proxy,but still it did not go well..

> **[Working with plugins | Logstash Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html)**

Is there something wrong with the procedure?

◆Logstash-version:6.6.0  
◆COMMAND: sudo bin/logstash-plugin install logstash-filter-geoip  
◆ERROR: Something went wrong when installing logstash-filter-geoip , message: Failed to open TCP connection to [artifacts.elastic.co:443](http://artifacts.elastic.co:443) (execution expired)

Links of similar events.

> [@Logstash 6.x - Cannot configur logstash-input-jdbc plug in :ERROR](https://discuss.elastic.co/t/logstash-6-x-cannot-configur-logstash-input-jdbc-plug-in-error/104458):
>
> I cannot configu logstash -input-jdbc plug in ./logstash-plugin install logstash-input-jdbc ERROR: Something went wrong when installing logstash-input-jdbc, message: Failed to open TCP connection to ar [ifacts.elastic.co:443](http://ifacts.elastic.co:443) (execution expired)

> [@Error Installing plugin](https://discuss.elastic.co/t/error-installing-plugin/114281):
>
> Hi, I'm trying to install a logstash-output-plugin, but every time a get a proxy error. I already set HTTP\_PROXY and HTTPS\_PROXY but i'm still with the same issue. this is the error: "Unable to download data from [https://rubygems.org](https://rubygems.org) - Errno::ECONNREFUSED: Connection refused - Failed to open TCP connect ion to [api.rubygems.org:443](http://api.rubygems.org:443) (Connection refused - connect(2) for "[api.rubygems.org](http://api.rubygems.org)" port 443) ([https://api.rubygems.org/latest\_specs.4.8.gz](https://api.rubygems.org/latest_specs.4.8.gz))" Does anyone know how to solve that? Thank you

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [February 1, 2019, 1:59pm UTC](https://discuss.elastic.co/t/logstash-6-6-cannot-install-logstash-filter-geoip-plugin-error/166659/2 "2019-02-01T13:59:57Z")

</div>

> [@taku333](#):
>
> I attempted to install the logstash-filter-geoip plugin via proxy.

With 6.6 I would expect geoip to be bundled, so you do not need to install it.

---

<div class="post-metadata">

### Author: ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)
#### Post date: [February 1, 2019, 2:09pm UTC](https://discuss.elastic.co/t/logstash-6-6-cannot-install-logstash-filter-geoip-plugin-error/166659/3 "2019-02-01T14:09:02Z")

</div>

Does [thread not help you?](https://discuss.elastic.co/t/can-not-be-updated-lostash-plugin-if-it-is-via-a-proxy/166334)

as far as I can see it is the same problem..

---

<div class="post-metadata">

### Author: ![taku333](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taku333/32/40375_2.png) [@taku333](https://discuss.elastic.co/u/taku333)
#### Post date: [February 2, 2019, 6:41am UTC](https://discuss.elastic.co/t/logstash-6-6-cannot-install-logstash-filter-geoip-plugin-error/166659/4 "2019-02-02T06:41:20Z")

</div>

Thank you for your reply.  
I mistake to remove geoip plugin.  
So, I have reinstalled it.

---

<div class="post-metadata">

### Author: ![taku333](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taku333/32/40375_2.png) [@taku333](https://discuss.elastic.co/u/taku333)
#### Post date: [February 2, 2019, 6:53am UTC](https://discuss.elastic.co/t/logstash-6-6-cannot-install-logstash-filter-geoip-plugin-error/166659/5 "2019-02-02T06:53:43Z")

</div>

Thank you always and always.

I try edit the file But it did not go well.

‘’‘  
/usr/share/logstash/bin/logstash-plugin  
’‘’

Is there another way?  
There is only offline installation.....

---

<div class="post-metadata">

### Author: ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)
#### Post date: [February 2, 2019, 7:40am UTC](https://discuss.elastic.co/t/logstash-6-6-cannot-install-logstash-filter-geoip-plugin-error/166659/6 "2019-02-02T07:40:34Z")

</div>

Why not just re-install logstash then, assuming you have the package locally. That should fix your plugin problem. Make sure you backup your config...

---

<div class="post-metadata">

### Author: ![taku333](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taku333/32/40375_2.png) [@taku333](https://discuss.elastic.co/u/taku333)
#### Post date: [February 4, 2019, 2:48am UTC](https://discuss.elastic.co/t/logstash-6-6-cannot-install-logstash-filter-geoip-plugin-error/166659/7 "2019-02-04T02:48:42Z")

</div>

@pjanzen  
Thanks!!

---

<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 4, 2019, 2:48am UTC](https://discuss.elastic.co/t/logstash-6-6-cannot-install-logstash-filter-geoip-plugin-error/166659/8 "2019-03-04T02:48:44Z")

</div>

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