# Logstash Offline Plugin SocketError

**URL:** <https://discuss.elastic.co/t/logstash-offline-plugin-socketerror/234562>\
**Category:** Logstash\
**Created:** [May 27, 2020, 2:21pm UTC](https://discuss.elastic.co/t/logstash-offline-plugin-socketerror/234562 "2020-05-27T14:21:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonnenteich](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@sonnenteich](https://discuss.elastic.co/u/sonnenteich)\
**Post date:** [May 27, 2020, 2:21pm UTC](https://discuss.elastic.co/t/logstash-offline-plugin-socketerror/234562/1 "2020-05-27T14:21:44Z")

</div>

I try to build and install a logstash plugin, so I run `bin/logstash-plugin prepare-offline-pack logstash-filter-http` .

When I run `bin/logstash-plugin install logstash-offline-plugins-7.7.0.zip` in an offline in environment I always get the message: `enterUnable to download data from https://rubygems.org - SocketError: Failed to open TCP connection to rubygems.org:443 (initialize: name or service not known) (https://rubygems.org/latest_specs.4.8.gz) code here` , but it should not download anything.

---

<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 24, 2020, 2:25pm UTC](https://discuss.elastic.co/t/logstash-offline-plugin-socketerror/234562/2 "2020-06-24T14:25:18Z")

</div>

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