MinerU tool plugin error when upload from local file #142

Closed
opened 2026-02-16 10:18:13 -05:00 by yindo · 2 comments
Owner

Originally created by @xiayucai on GitHub (Mar 28, 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 Dify issues & Dify Official Plugins, 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.1.3

Plugin version

mineru 0.0.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. create a workflow.
  2. add mineu tool after start node, set file parameter.
  3. run the workflow. or just run the tool node, upload file from local.

✔️ Error log

Failed to transform tool message: PluginInvokeError: {"args":{},"error_type":"UnsupportedProtocol","message":"Request URL is missing an 'http://' or 'https://' protocol."}

Image
Originally created by @xiayucai on GitHub (Mar 28, 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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/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.1.3 ### Plugin version mineru 0.0.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. create a workflow. 2. add mineu tool after start node, set file parameter. 3. run the workflow. or just run the tool node, upload file from local. ### ✔️ Error log Failed to transform tool message: PluginInvokeError: {"args":{},"error_type":"UnsupportedProtocol","message":"Request URL is missing an 'http://' or 'https://' protocol."} <img width="833" alt="Image" src="https://github.com/user-attachments/assets/44fdd54a-84da-4a10-8e17-88fee25063d2" />
yindo added the bug label 2026-02-16 10:18:13 -05:00
yindo closed this issue 2026-02-16 10:18:13 -05:00
Author
Owner

@samandqq commented on GitHub (Mar 30, 2025):

我也遇到了同样的问题,从本地上传的文件会报这个错误

Image 图片中第14行url参数报错

@samandqq commented on GitHub (Mar 30, 2025): 我也遇到了同样的问题,从本地上传的文件会报这个错误 ![Image](https://github.com/user-attachments/assets/85ae95fe-79dc-45d2-8604-b75b8609dda0) 图片中第14行url参数报错
Author
Owner

@samandqq commented on GitHub (Mar 31, 2025):

解决了,是配置缺失引起的,dify .env文件中需要配置FILES_URL参数,配置后就不会报这个错误了:

File preview or download Url prefix.

used to display File preview or download Url to the front-end or as Multi-model inputs;

Url is signed and has expiration time.

FILES_URL=http://192.168.0.24 这里假如是docker compose启动的,可以直接配置宿主机的IP。 修改后docker-compose down, docker-compose up -d就可以了,因为默认是空,导致preview URL 没有协议关键字导致的

@samandqq commented on GitHub (Mar 31, 2025): 解决了,是配置缺失引起的,dify .env文件中需要配置FILES_URL参数,配置后就不会报这个错误了: # File preview or download Url prefix. # used to display File preview or download Url to the front-end or as Multi-model inputs; # Url is signed and has expiration time. FILES_URL=http://192.168.0.24 这里假如是docker compose启动的,可以直接配置宿主机的IP。 修改后docker-compose down, docker-compose up -d就可以了,因为默认是空,导致preview URL 没有协议关键字导致的
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#142