-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix the error of unable to retrieve url from file #10513
base: main
Are you sure you want to change the base?
Conversation
这样只能获取到那个签名url吧,通过这个url获取不到原始数据 |
Are you saying the generated signature URL isn't working? I'll take a look at it later.
…________________________________
发件人: skywalkerfmc ***@***.***>
发送时间: 2024年11月12日 9:17
收件人: langgenius/dify ***@***.***>
抄送: Xiao Ley ***@***.***>; Author ***@***.***>
主题: Re: [langgenius/dify] fix the error of unable to retrieve url from file (PR #10513)
cc @laipz8200<https://github.com/laipz8200> @crazywoola<https://github.com/crazywoola>
这样只能获取到那个签名url吧,通过这个url获取不到原始数据
―
Reply to this email directly, view it on GitHub<#10513 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALBBFFPBTC377XWNTFX2X2T2AHBRPAVCNFSM6AAAAABRQ2MZD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZHE4DSOBRGA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
I just conducted a thorough test, and both user-uploaded files and tool-generated files can be accessed normally. Even using curl, the file data can be retrieved successfully. The image is shown below:
You can take a look at this environment variable: FILES_URL In case there are any issues, please feel free to point them out! 😊 |
Does FILES_URL have to be set to "http://127.0.0.1:5001" . When I set to "http://127.0.0.1:5001", is don't work |
@skywalkerfmc is it working now? |
no, I deployed dify using docker. How should I set the FILES_URL |
how time merging |
Let's have a discussion in #10687 |
Checklist:
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint godsDescription
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. Close issue syntax:
Fixes #<issue number>
, see documentation for more details.Fixes #10514
Close #10590
Type of Change
Testing Instructions
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration