dify icon indicating copy to clipboard operation
dify copied to clipboard

When using version 1.0.0 and trying to save a key, the SiliconFlow plugin does not save

Open thinwonton opened this issue 1 year ago • 15 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [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

When using version 1.0.0 and trying to save a key, the SiliconFlow plugin does not save.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

thinwonton avatar Feb 28 '25 10:02 thinwonton

同遇到了

Image

CorrectRoadH avatar Feb 28 '25 11:02 CorrectRoadH

同样遇到,我没法保存任何模型提供商的配置

sqkkyzx avatar Mar 01 '25 04:03 sqkkyzx

me too

maruilav avatar Mar 01 '25 05:03 maruilav

me too, in fact I met "Internal Server Error" in every plugin, and it's also hard to install a plugin, which may stuck or fail. There is at least 30 issues about this problem what a critical bug.

BinaryCheater avatar Mar 01 '25 15:03 BinaryCheater

me too, so sad :(

50ZAIofficial avatar Mar 01 '25 17:03 50ZAIofficial

me too, in fact I met "Internal Server Error" in every plugin, and it's also hard to install a plugin, which may stuck or fail. There is at least 30 issues about this problem what a critical bug.

It seems that we can only wait for the official bug fix.

zbaos260 avatar Mar 03 '25 03:03 zbaos260

Does it will be fixed in next release of dify?

CorrectRoadH avatar Mar 04 '25 03:03 CorrectRoadH

Same problem here, try Global VPN, problem still there.

panxxpan avatar Mar 04 '25 14:03 panxxpan

me too, so sad :() come bro!!!!!

AndriodStudent avatar Mar 05 '25 06:03 AndriodStudent

are there any detailed logs or screenshots of it? just try docker logs -f docker-plugin_daemon-1 or docker logs -f docker-api-1

for a temp solution if you are using internal network, adding an environment PIP_MIRROR_URL to plugin_daemon and use your mirror url like https://pypi.tuna.tsinghua.edu.cn/simple may solve the problem

Yeuoly avatar Mar 05 '25 08:03 Yeuoly

Initially, I tried using the HTTP_PROXY and HTTPS_PROXY variables, but they didn't have any effect.

Additionally, I observed in the plugin_daemon that the dependencies have actually been installed successfully.

sqkkyzx avatar Mar 05 '25 10:03 sqkkyzx

Would you mind provide some logs inside both api and daemon container? As I can not reproduce this internal server error, logs are required to trace the bug

Yeuoly avatar Mar 06 '25 05:03 Yeuoly

The same situation. In addition, when configuring ollama, there is also no response when saving

app2smile avatar Mar 06 '25 09:03 app2smile

The same situation. In addition, when configuring ollama, there is also no response when saving

pls add my wechat: Yeuoly, I guess we need to dig it out in your environment

Yeuoly avatar Mar 06 '25 10:03 Yeuoly

The same situation. In addition, when configuring ollama, there is also no response when saving

pls add my wechat: Yeuoly, I guess we need to dig it out in your environment

I have solved this problem By observing the logs of the plugin, I found that the reason for this situation is that the plugin did not initialize successfully. Although the frontend shows that the plugin was installed successfully, it was actually not successful

Error log: [ERROR]init environment failed: failed to install dependencies: signal: killed, output: init process exited due to no activity for 120 seconds, retry in 30s

Solution: Add the following configuration line after line 560 in the docker-compose.yaml file to increase the Python environment initialization timeout (plugin_daemon) PYTHON_ENV_INIT_TIMEOUT: 2400

app2smile avatar Mar 07 '25 06:03 app2smile