-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[bug]upload file error #11710
Comments
add context
|
Hey @chenzikun! I'm here to help you with bugs, questions, and becoming a contributor. Let's get to the bottom of this together! I found a similar unsolved discussion regarding file URL mismatches in a self-hosted Dify instance using S3, which might be related to your issue. You can view the discussion here [1]. Regarding the error you're encountering, the Here are a few steps you can take to troubleshoot and potentially resolve the issue:
If the issue persists, further investigation into the specific error messages and logs might be necessary to pinpoint the exact cause. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
api/extensions/ext_storage.py
why case StorageType.S3, still use OpenDALStorage? |
The To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
second bug cause by the change code
|
to fix the bug, I have change the code to |
me too |
OpenDAL can also connect to S3, and we plan to use it to support more storage types in the future. Would you be willing to share your S3 configuration after masking sensitive information? This could help us with testing and troubleshooting issues. |
|
Thanks, will fix it in the next version. |
Is there a temporary solution? |
@majian159 |
After our tests, connect to S3 with AK/SK is work well. Do you use AWS managed IAM to access S3? |
My exception message is:
I use minio It seems that the region is not configured. Is there any recommended configuration? |
Try |
Hi @chenzikun, I’ve brought back the boto3-based S3 Storage in #11754, and it should now work seamlessly without any configuration changes. Feel free to give it a try! Also, the updated OpenDAL now supports IAM and offers better performance and retry capabilities. You can update the configuration to start using it. |
Self Checks
Dify version
0.14.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
.env
storage_type=s3
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: