HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
19.4k stars 2.41k forks source link

aliyun oss: Cannot connect to S3 lit-labelstudio-01 with specified AWS credentials #6402

Open GarrickLin opened 2 months ago

GarrickLin commented 2 months ago

Describe the bug failed to config a aliyun oss s3

To Reproduce Add Source Storage

Expected behavior A clear and concise description of what you expected to happen.

Screenshots WX20240918-193701@2x

Environment (please complete the following information):

Additional context Add any other context about the problem here.

JKYang01 commented 2 months ago

did you set up the s3 permissions? https://labelstud.io/guide/storage#Source-storage-permissions this is the document of how to set up the S3 access permission https://labelstud.io/guide/storage#Configure-access-to-your-S3-bucket

Usually you don't need to put the session token, just use access key id and access secrete key ( which requires you have IAM role account or a limited access user account )

Your issue is also possible that you did not grant S3 access permissions for your IAM role or account so it cannot reach to your s3 bucket.