Unable to install plugins or add API keys, version 1.0.0 #8817

Closed
opened 2026-02-21 18:27:53 -05:00 by yindo · 2 comments
Owner

Originally created by @MilkTeaNo7 on GitHub (Mar 1, 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

1.0.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Issue: Unable to Install Plugin

Background:

I encountered an issue while trying to install a plugin. The backend does not report any errors. Below are the logs from the plugin daemon:

plugin_daemon-1  | 2025/03/01 12:43:35 runtime_lifetime.go:70: [INFO] init environment for plugin langgenius/groq:0.0.4  
plugin_daemon-1  | 2025/03/01 12:43:35 runtime_lifetime.go:76: [ERROR] init environment failed: failed to create virtual environment: fork/exec /usr/bin/bash: resource temporarily unavailable, output: , retry in 30s  
db-1             | 2025-03-01 12:43:42.577 UTC [27] LOG:  checkpoint complete: wrote 1558 buffers (9.5%); 0 WAL file(s) added, 0 removed, 1 recycled; write=155.720 s, sync=0.017 s, total=155.757 s; sync files=53, longest=0.008 s, average=0.001 s; distance=13939 kB, estimate=13939 kB  
nginx-1          | 192.168.10.21 - - [01/Mar/2025:12:43:53 +0000] "POST /console/api/workspaces/current/model-providers/langgenius/groq/groq HTTP/1.1" 499 0 "http://192.168.10.180/plugins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "-"

When I opened the developer console (F12) in the browser, I saw the following error message:

{
    "code": "invalid_param",
    "message": "Credentials validation failed with status code 404",
    "status": 400
}

Additionally, when I clicked on "Configure API" and then "Confirm," there was no response. The current version I am using is 1.0. I am unsure if this version has any known issues. However, the problem seems to resolve itself after some time. I have already tried restarting the system. The installation is done via Docker, and I believe the hardware resources are sufficient.

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @MilkTeaNo7 on GitHub (Mar 1, 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 1.0.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ### Issue: Unable to Install Plugin **Background:** I encountered an issue while trying to install a plugin. The backend does not report any errors. Below are the logs from the plugin daemon: ``` plugin_daemon-1 | 2025/03/01 12:43:35 runtime_lifetime.go:70: [INFO] init environment for plugin langgenius/groq:0.0.4 plugin_daemon-1 | 2025/03/01 12:43:35 runtime_lifetime.go:76: [ERROR] init environment failed: failed to create virtual environment: fork/exec /usr/bin/bash: resource temporarily unavailable, output: , retry in 30s db-1 | 2025-03-01 12:43:42.577 UTC [27] LOG: checkpoint complete: wrote 1558 buffers (9.5%); 0 WAL file(s) added, 0 removed, 1 recycled; write=155.720 s, sync=0.017 s, total=155.757 s; sync files=53, longest=0.008 s, average=0.001 s; distance=13939 kB, estimate=13939 kB nginx-1 | 192.168.10.21 - - [01/Mar/2025:12:43:53 +0000] "POST /console/api/workspaces/current/model-providers/langgenius/groq/groq HTTP/1.1" 499 0 "http://192.168.10.180/plugins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0" "-" ``` When I opened the developer console (F12) in the browser, I saw the following error message: ``` { "code": "invalid_param", "message": "Credentials validation failed with status code 404", "status": 400 } ``` Additionally, when I clicked on "Configure API" and then "Confirm," there was no response. The current version I am using is 1.0. I am unsure if this version has any known issues. However, the problem seems to resolve itself after some time. I have already tried restarting the system. The installation is done via Docker, and I believe the hardware resources are sufficient. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 18:27:53 -05:00
yindo closed this issue 2026-02-21 18:27:53 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 1, 2025):

@MilkTeaNo7 Hello there! I'm here to help you with any bugs, questions, or contributions. Let's work together to resolve your issue.

I found a similar unsolved discussion regarding plugin installation issues in Dify version 1.0.0 [1].

For the plugin installation issue, there is a known problem in Dify version 1.0.0 where you might encounter an error related to plugin verification. To resolve this, you can add the line FORCE_VERIFYING_SIGNATURE=false to your .env configuration file. This will allow the installation of plugins that are not verified in the Dify Marketplace [2].

Regarding the error message "code": "invalid_param", "message": "Credentials validation failed with status code 404", this typically indicates an issue with the parameters or credentials used. A 400 error with invalid_param suggests invalid input parameters, while a 404 status code might imply incorrect credentials or a non-existent resource [3].

For the API key configuration issue, ensure that your Dify instance has internet access and verify network and firewall settings. If using a self-hosted instance, make sure it's accessible from the public internet [4].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 1, 2025): <!-- Greeting --> @MilkTeaNo7 Hello there! I'm here to help you with any bugs, questions, or contributions. Let's work together to resolve your issue. <!-- Answer --> I found a similar unsolved discussion regarding plugin installation issues in Dify version 1.0.0 <sup>[[1]](https://github.com/langgenius/dify/discussions/12825)</sup>. For the plugin installation issue, there is a known problem in Dify version 1.0.0 where you might encounter an error related to plugin verification. To resolve this, you can add the line `FORCE_VERIFYING_SIGNATURE=false` to your `.env` configuration file. This will allow the installation of plugins that are not verified in the Dify Marketplace <sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/en/learn-more/faq/plugins.md)</sup>. Regarding the error message `"code": "invalid_param", "message": "Credentials validation failed with status code 404"`, this typically indicates an issue with the parameters or credentials used. A `400` error with `invalid_param` suggests invalid input parameters, while a `404` status code might imply incorrect credentials or a non-existent resource <sup>[[3]](https://github.com/langgenius/dify/blob/main/web/app/components/develop/template/template_advanced_chat.zh.mdx)</sup>. For the API key configuration issue, ensure that your Dify instance has internet access and verify network and firewall settings. If using a self-hosted instance, make sure it's accessible from the public internet <sup>[[4]](https://github.com/langgenius/dify-docs/blob/main/en/learn-more/use-cases/dify-schedule.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/c643ae32-1ba6-4d3b-aa50-acc039bcdd81?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/c643ae32-1ba6-4d3b-aa50-acc039bcdd81?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/c643ae32-1ba6-4d3b-aa50-acc039bcdd81?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/c643ae32-1ba6-4d3b-aa50-acc039bcdd81?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c643ae32-1ba6-4d3b-aa50-acc039bcdd81?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/c643ae32-1ba6-4d3b-aa50-acc039bcdd81?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c643ae32-1ba6-4d3b-aa50-acc039bcdd81?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Mar 1, 2025):

Duplicated

@crazywoola commented on GitHub (Mar 1, 2025): Duplicated
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8817