OpenAI-API-compatible Plugin cannot installed in Local Area Network(intranet but not internet) #349

Closed
opened 2026-02-16 10:19:05 -05:00 by yindo · 3 comments
Owner

Originally created by @SpencerKD on GitHub (Jun 8, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

based on 1.4.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

We want to deploy the newest version of the dify which is 1.4.1 in our intranet(local area, no internet). And then, we downloaded the newest(and some other versions) OpenAI-API-compatible Plugin and install it by the "install plugin" button, but unfortunately it failed! So, we viewed the logs and found it that the installing involved internet!!

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @SpencerKD on GitHub (Jun 8, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version based on 1.4.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce We want to deploy the newest version of the dify which is 1.4.1 in our intranet(local area, no internet). And then, we downloaded the newest(and some other versions) OpenAI-API-compatible Plugin and install it by the "install plugin" button, but unfortunately it failed! So, we viewed the logs and found it that the installing involved internet!! ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-16 10:19:05 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jun 8, 2025):

Hi @SpencerKD! I'm Dosu and I’m helping the dify team.

The plugin installation fails in your intranet setup because Dify tries to fetch plugin packages or dependencies from the internet (Marketplace or GitHub) when using the "install plugin" button. For offline/self-hosted environments, Dify supports installing plugins directly from local files, but all dependencies must also be provided locally—if any dependency points to Marketplace or GitHub, the install will fail without internet access cite.

To install plugins offline, you need to pre-download all required plugin packages and dependencies as .pkg or .difybndl files in an environment with internet access. Then, transfer these files to your intranet and use the "install from local package" option in Dify. The backend and frontend both support this, and no internet connection is required if all dependencies are included cite.

There is no automated way to convert remote dependencies to local ones, so you must ensure your bundle is complete and self-contained. If you need more details on how to prepare these files, let me know!

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Jun 8, 2025): <!-- Greeting --> Hi @SpencerKD! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify team. <!-- Answer --> The plugin installation fails in your intranet setup because Dify tries to fetch plugin packages or dependencies from the internet (Marketplace or GitHub) when using the "install plugin" button. For offline/self-hosted environments, Dify supports installing plugins directly from local files, but all dependencies must also be provided locally—if any dependency points to Marketplace or GitHub, the install will fail without internet access [cite](https://github.com/langgenius/dify/blob/65c7c01d90e5af44d4c9ff41689a855a7a82c772/api/core/plugin/entities/bundle.py). To install plugins offline, you need to pre-download all required plugin packages and dependencies as `.pkg` or `.difybndl` files in an environment with internet access. Then, transfer these files to your intranet and use the "install from local package" option in Dify. The backend and frontend both support this, and no internet connection is required if all dependencies are included [cite](https://github.com/langgenius/dify/blob/65c7c01d90e5af44d4c9ff41689a855a7a82c772/web/app/components/plugins/install-plugin/install-from-local-package/index.tsx). There is no automated way to convert remote dependencies to local ones, so you must ensure your bundle is complete and self-contained. If you need more details on how to prepare these files, let me know! <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/1c5d4237-98c7-4f8c-a9c4-1c68e97f9fdb?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/1c5d4237-98c7-4f8c-a9c4-1c68e97f9fdb?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/1c5d4237-98c7-4f8c-a9c4-1c68e97f9fdb?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/1c5d4237-98c7-4f8c-a9c4-1c68e97f9fdb?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1c5d4237-98c7-4f8c-a9c4-1c68e97f9fdb?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/1c5d4237-98c7-4f8c-a9c4-1c68e97f9fdb?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1c5d4237-98c7-4f8c-a9c4-1c68e97f9fdb?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/20799)
Author
Owner

@lianzhao commented on GitHub (Jun 17, 2025):

To install plugins offline, you need to pre-download all required plugin packages and dependencies as .pkg or .difybndl files in an environment with internet access.

@dosu could you tell us how?

@lianzhao commented on GitHub (Jun 17, 2025): > To install plugins offline, you need to pre-download all required plugin packages and dependencies as .pkg or .difybndl files in an environment with internet access. @dosu could you tell us how?
Author
Owner

@dosubot[bot] commented on GitHub (Aug 20, 2025):

Hi, @SpencerKD. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that installing the OpenAI-API-compatible plugin in Dify v1.4.1 fails on a self-hosted intranet without internet access due to online dependency fetching.
  • It was explained that offline installation is possible by pre-downloading all plugin packages and dependencies as .pkg or .difybndl files in an internet-connected environment.
  • There is no automated way to convert remote dependencies to local ones, so the bundle must be complete for offline installation.
  • Another user requested guidance on how to pre-download these required files.
  • The issue was resolved by confirming that manual pre-downloading and local installation works for offline setups.

Next Steps:

  • Please confirm if this offline installation method is still relevant and working for your current version of dify-official-plugins.
  • If it is, feel free to keep the discussion open by commenting; otherwise, I will automatically close this issue in 5 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 20, 2025): Hi, @SpencerKD. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that installing the OpenAI-API-compatible plugin in Dify v1.4.1 fails on a self-hosted intranet without internet access due to online dependency fetching. - It was explained that offline installation is possible by pre-downloading all plugin packages and dependencies as .pkg or .difybndl files in an internet-connected environment. - There is no automated way to convert remote dependencies to local ones, so the bundle must be complete for offline installation. - Another user requested guidance on how to pre-download these required files. - The issue was resolved by confirming that manual pre-downloading and local installation works for offline setups. **Next Steps:** - Please confirm if this offline installation method is still relevant and working for your current version of dify-official-plugins. - If it is, feel free to keep the discussion open by commenting; otherwise, I will automatically close this issue in 5 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#349