dify如何获取到minio中的文件URL地址 #20169
tianshiqingge
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
I correctly configured Minio using S3 in DIFY, and the files in DIFY can be uploaded to Minio normally. The configuration is as follows:
STORAGE_TYPE=s3
S3_ENDPOINT= http://minio:9000
S3_REGION=us-east-1
S3_BUCKET_NAME=difyai
S3_ACCESS_KEY=xxxx
S3_SECRET_KEY=xxxx
My problem is that when I use MinerU tool to convert PDF files in the workflow, the converted image address cannot be opened properly. My Files_URL= https://intense-game-marlin.ngrok-free.app/difyai If configured in this way (this address is Minio's external network address), the tool will report content errors such as: Failed to conversion tool message: PluginInvokeError: {"args":{},"error_type":"Exception","message":" The application failed to upload the URL. Status: 401, result: {"traceId": "81328028b2f3", "msgCode": "A0202", "msg": "User verification failed", "data": null, "success": false, "total": 0} "}. If Files_URL= http://api:5001 If configured in this way, MinerU will not encounter errors when converting files, but the URL address of the parsed image cannot be opened. My MinerU is using the official API.How should I configure it?
Beta Was this translation helpful? Give feedback.
All reactions