tus / tusd

Reference server implementation in Go of tus: the open protocol for resumable file uploads
https://tus.github.io/tusd
MIT License
3.09k stars 480 forks source link

unable to create multipart upload:\noperation error S3: CreateMultipartUpload #1181

Closed softpottk closed 2 months ago

softpottk commented 2 months ago

Question i use MinIO S3 with Tusd as described in official docs
when i upload files i got error 2024/09/02 19:34:20.077452 level=ERROR event=InternalServerError method=POST path="" requestId=e683ce1c-5be0-469a-ba92-bf131de6679c message="s3store: unable to create multipart upload:\noperation error S3: CreateMultipartUpload, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, request canceled, context deadline exceeded" 2024/09/02 19:34:20.077452 level=INFO event=ResponseOutgoing method=POST path="" requestId=e683ce1c-5be0-469a-ba92-bf131de6679c status=500 body="ERR_INTERNAL_SERVER_ERROR: s3store: unable to create multipart upload:\noperation error S3: CreateMultipartUpload, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, request canceled, context deadline exceeded\n"

I only specify AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. Do i need other credentials like AWS_REGION too?

Setup details