# Bin/logstash-plugin not using private artifactory

**URL:** <https://discuss.elastic.co/t/bin-logstash-plugin-not-using-private-artifactory/131047>\
**Category:** Logstash\
**Created:** [May 8, 2018, 6:20pm UTC](https://discuss.elastic.co/t/bin-logstash-plugin-not-using-private-artifactory/131047 "2018-05-08T18:20:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smbullet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smbullet/32/27833_2.png) [@smbullet](https://discuss.elastic.co/u/smbullet)\
**Post date:** [May 8, 2018, 6:20pm UTC](https://discuss.elastic.co/t/bin-logstash-plugin-not-using-private-artifactory/131047/1 "2018-05-08T18:20:54Z")

</div>

```
$ cat logstash/Gemfile | grep source
source "http://artifactory.myserver.com/artifactory/api/gems/ruby-repos/"
$ PATH=/home/smbullet/logstash/vendor/jruby/bin:$PATH logstash/bin/logstash-plugin install logstash-filter-myfilter
ERROR: Something went wrong when installing logstash-filter-myfilter, message: Failed to open TCP connection to artifacts.elastic.co:443 (execution expired)

```

It seems `logstash-plugin` isn't trying to use my private artifactory but instead [artifacts.elastic.co](http://artifacts.elastic.co). Is there anything else I should be updating other than the gem source to get this to work?

---

<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:** [June 5, 2018, 6:20pm UTC](https://discuss.elastic.co/t/bin-logstash-plugin-not-using-private-artifactory/131047/2 "2018-06-05T18:20:54Z")

</div>

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