# Error while installing jdbc static logstash plug-in

**URL:** <https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094>\
**Category:** Logstash\
**Created:** [April 16, 2019, 1:04pm UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094 "2019-04-16T13:04:29Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohitjejurikar](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@rohitjejurikar](https://discuss.elastic.co/u/rohitjejurikar)\
**Post date:** [April 16, 2019, 1:04pm UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/1 "2019-04-16T13:04:29Z")

</div>

Hi, I'm not able to install logstash jdbc static plug-in... While installing it gives message.. fetching specs from [http://rubygems.org](http://rubygems.org) does 10 attempts and then fails. I even downloaded the plug-in,built it and then tried to install but no luck. I also changed the source in gemspec to a local site before buildong but no luck. Can you please help? Thanks in advance..

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [April 16, 2019, 2:49pm UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/2 "2019-04-16T14:49:21Z")

</div>

Please paste the console output of the online install here (the part showing the 10 attempts).

---

<div class="post-metadata">

**Author:** ![rohitjejurikar](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@rohitjejurikar](https://discuss.elastic.co/u/rohitjejurikar)\
**Post date:** [April 16, 2019, 3:46pm UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/3 "2019-04-16T15:46:05Z")

</div>

here is the output:  
Installing logstash-filter-jdbc\_static  
Error Bundler::HTTPError, retrying 1/10  
Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)  
Error Bundler::HTTPError, retrying 2/10  
Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)  
Error Bundler::HTTPError, retrying 3/10  
Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)  
Error Bundler::HTTPError, retrying 4/10  
Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)  
Error Bundler::HTTPError, retrying 5/10  
Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)  
Error Bundler::HTTPError, retrying 6/10  
Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)  
Error Bundler::HTTPError, retrying 7/10  
Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)  
Error Bundler::HTTPError, retrying 8/10  
Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)  
Error Bundler::HTTPError, retrying 9/10  
Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)  
Error Bundler::HTTPError, retrying 10/10  
Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)  
Too many retries, aborting, caused by Bundler::HTTPError  
ERROR: Installation Aborted, message: Could not fetch specs from [http://rubygems.org/](http://rubygems.org/)

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [April 16, 2019, 4:02pm UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/4 "2019-04-16T16:02:35Z")

</div>

Did you try this again or is the above from the previous attempt?

---

<div class="post-metadata">

**Author:** ![rohitjejurikar](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@rohitjejurikar](https://discuss.elastic.co/u/rohitjejurikar)\
**Post date:** [April 16, 2019, 4:36pm UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/5 "2019-04-16T16:36:32Z")

</div>

Tried it again

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [April 16, 2019, 8:59pm UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/6 "2019-04-16T20:59:53Z")

</div>

Is [rubygems.org](http://rubygems.org) blocked by your DNS resolver?

---

<div class="post-metadata">

**Author:** ![rohitjejurikar](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@rohitjejurikar](https://discuss.elastic.co/u/rohitjejurikar)\
**Post date:** [April 16, 2019, 9:05pm UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/7 "2019-04-16T21:05:11Z")

</div>

No. I can access it via internet.

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [April 16, 2019, 9:06pm UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/8 "2019-04-16T21:06:01Z")

</div>

One the same machine?

A download and manual install might also fail if the install process is trying to get dependencies from [rubygems.org](http://rubygems.org) as well. Try a ping to that domain from the LS machine.

Logstash has an offline plugin install mechanism. On a different machine with LS installed (at the same version) that has full access one prepares an off-line package (zip file, plugin with deps) that is then copied to the machine without full access and installed. [https://www.elastic.co/guide/en/logstash/7.0/offline-plugins.html](https://www.elastic.co/guide/en/logstash/7.0/offline-plugins.html)

---

<div class="post-metadata">

**Author:** ![rohitjejurikar](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@rohitjejurikar](https://discuss.elastic.co/u/rohitjejurikar)\
**Post date:** [April 16, 2019, 9:09pm UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/9 "2019-04-16T21:09:45Z")

</div>

I can access [rubygems.org](http://rubygems.org) from the same machine. I'll check about offline packages and get back to you. Thanks

---

<div class="post-metadata">

**Author:** ![kumar-pratyaksh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar-pratyaksh/32/35050_2.png) [@kumar-pratyaksh](https://discuss.elastic.co/u/kumar-pratyaksh)\
**Post date:** [May 10, 2019, 5:15am UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/10 "2019-05-10T05:15:38Z")

</div>

Hi @rohitjejurikar were you able to install the plugin.

I tried building the gem file but the filter was unable to find the derby jar files.

---

<div class="post-metadata">

**Author:** ![rohitjejurikar](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@rohitjejurikar](https://discuss.elastic.co/u/rohitjejurikar)\
**Post date:** [May 10, 2019, 5:35am UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/11 "2019-05-10T05:35:14Z")

</div>

Hi,

Yes. I was able to install the plug-in. The proxy server was blocking the installation. After we enabled [rubygems.org](http://rubygems.org) I could install the plug-in.

---

<div class="post-metadata">

**Author:** ![kumar-pratyaksh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar-pratyaksh/32/35050_2.png) [@kumar-pratyaksh](https://discuss.elastic.co/u/kumar-pratyaksh)\
**Post date:** [May 10, 2019, 10:27am UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/12 "2019-05-10T10:27:21Z")

</div>

Okay, we also have successfully installed the plugin, however, we are using posrgres as loader db. And the version of jar we are using is not compatible with the jar we are using.

Which db are you using? And is there some page or documentation where its written which jar to use?

---

<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 7, 2019, 10:40am UTC](https://discuss.elastic.co/t/error-while-installing-jdbc-static-logstash-plug-in/177094/13 "2019-06-07T10:40:28Z")

</div>

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