-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
self.client = aliyun_s3.Bucket( TypeError: Bucket.__init__() got an unexpected keyword argument 'region' #4361
Comments
The error you're encountering with the To address this issue, you should first verify whether the self.client = aliyun_s3.Bucket(
oss_auth,
app_config.get('ALIYUN_OSS_ENDPOINT'),
self.bucket_name,
connect_timeout=30
# Removed region parameter
) If your application's functionality relies on specifying a region, consider updating to a version of the Additionally, Dify version 0.6.8 introduced new configurations for Alibaba Cloud OSS bucket initialization, including the authentication version ( Reviewing Dify's release notes or documentation for version 0.6.8 might provide further insights into any additional changes regarding Alibaba Cloud OSS bucket initialization or
|
为什么同样配置0.6.6版本就可以,我在0.6.8版本上无论怎么配置都不行,就是会报这个错误 |
The issue you're facing with Dify version 0.6.8, where the same configuration works in version 0.6.6 but not in 0.6.8, is likely due to changes in how the To address this, you should verify the version of the This situation suggests a compatibility issue between Dify versions and the
|
因为我是docker部署,我想问一下,你们下一个版本0.6.9版,能否在程序中处理掉这块的逻辑问题 |
还有就是我把版本设置为v4后,又报错了AttributeError: module 'oss2' has no attribute 'AuthV4'. Did you mean: 'AuthV2'? |
Self Checks
Dify version
0.6.8
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
配置阿里云oss存储报错,之前0.6.6版本正常
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: