mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Add ranker model by Xinference plugin timeout #180
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cainiaodidi on GitHub (Apr 8, 2025).
Self Checks
Dify version
1.1.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
In the dify-api container,

curl http://192.168.0.6:9997/v1/modelscan get model info of XinferenceThen I add this model in dify as below

The web doesn't raise error, but I see the log in dify-api service, it shows connect timeout。 It seems that CredentialsValidateFailedError is related to Xinference plugin not my config. How to solve it?

✔️ Expected Behavior
No response
❌ Actual Behavior
No response
@dosubot[bot] commented on GitHub (Apr 8, 2025):
I found a similar issue related to connection timeouts when using the Xinference plugin with Dify. Here are some suggested troubleshooting steps that might help resolve the timeout issue:
Increase the Timeout Period: You can increase the timeout period by adding the following to your
docker-compose.yamlfile under theplugin_daemonservice:File System Considerations: If you are using Docker on Windows, consider moving the
dify/dockerdirectory to the WSL filesystem instead of Windows NTFS to improve performance.Set Plugin Working Path: Add the following environment variable to your
.envfile:Use a Mirror URL for Internal Networks: If you are on an internal network, set
PIP_MIRROR_URLinplugin_daemonto use a mirror URL (e.g.,https://pypi.tuna.tsinghua.edu.cn/simple) to improve installation speed [1].These steps should help address the connection timeout issue you are experiencing with the Xinference plugin.
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
@cainiaodidi commented on GitHub (Apr 9, 2025):
@dosu these methods seem that solve installing problems of Xinference plugin, not solve my problem