mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
Using MinerU in Dify reports a ConnectError #896
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 @fruitage on GitHub (Dec 24, 2025).
Self Checks
Dify version
1.11.1
Plugin version
0.5.1
Cloud or Self Hosted
Cloud, Self Hosted (Source)
Steps to reproduce
It worked fine in version 1.7.2, but after upgrading Dify to version 1.11.1, using a locally deployed mineru-api throws a ConnectError.
✔️ Error log
An error occurred in the langgenius/mineru/mineru, please contact the author of langgenius/mineru/mineru for help, error type: ConnectError, error details: [Errno -2] Name or service not knownFAIL
运行时间
1.048s
总 token 数
0 Tokens
An error occurred in the langgenius/mineru/mineru, please contact the author of langgenius/mineru/mineru for help, error type: ConnectError, error details: [Errno -2] Name or service not known
流程中有 1 个节点运行异常,请前往追踪查看日志。
@dosubot[bot] commented on GitHub (Dec 24, 2025):
Hi @fruitage! I'm Dosu and I’m helping the dify-official-plugins team.
The ConnectError ([Errno -2] Name or service not known) after upgrading is caused by stricter validation in recent MinerU plugin and Dify versions: the plugin now requires the base_url for your local mineru-api to be a resolvable LAN IP address, not localhost or 127.0.0.1. Any hostname that can't be resolved from the Dify environment will trigger this error immediately.
To fix this:
If you still see the error after these steps, check for network or firewall issues between Dify and mineru-api, and try running network diagnostics from within the Dify environment to confirm connectivity.
References:
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other