# Azure Blob Storage Plugin

**URL:** https://meta.discourse.org/t/azure-blob-storage-plugin/79392
**Category:** Plugin
**Tags:** broken
**Created:** [January 30, 2018, 9:28pm UTC](https://meta.discourse.org/t/azure-blob-storage-plugin/79392 "2018-01-30T21:28:29Z")
**Posts on this page:** 1
**Showing post:** 103

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [April 26, 2021, 6:32am UTC](https://meta.discourse.org/t/azure-blob-storage-plugin/79392/103 "2021-04-26T06:32:25Z")

</div>

OK, I’m really baffled here. Turns out that the plugin is still not correct.

Whenever it tries to store a file, it comes back with:

```plaintext
Blob can not be stored: missing dependency for Faraday::Adapter::NetHttpPersistent: cannot load such file -- net/http/persistent
Url: //chenhsongweb.blob.core.windows.net/support/original/2X/e/e5224c77df15646017fb5e4747576206c33904f6.jpeg

```

So obviously somewhere I’m missing a `require 'net/http/persistent'`, but I tried adding it to _everywhere_ and it still gives this error.

For example, I’m adding it to `plugin.rb` and `lib/azure_blob_store.rb`… still this error.

The error came from a call to `cache_file`:

```plaintext
/var/www/discourse/plugins/discourse-azure-blob-storage/lib/azure_blob_store.rb:27:in `rescue in store_file'
/var/www/discourse/plugins/discourse-azure-blob-storage/lib/azure_blob_store.rb:17:in `store_file'
/var/www/discourse/plugins/discourse-azure-blob-storage/lib/azure_blob_store.rb:9:in `store_upload'

```

Can some kind soul teach me how to get rid of the missing dependency error?

---

_[View the full topic](https://meta.discourse.org/t/azure-blob-storage-plugin/79392)._
