tus / tusd

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

"s3store: unable to create multipart upload" in 2.0.0 with S3-compatible storage #1058

Closed maltsev closed 5 months ago

maltsev commented 6 months ago

After upgrading to version 2.0.0 file uploading via Uppy.js fails with the following error:

ERR_INTERNAL_SERVER_ERROR: s3store: unable to create multipart upload:
operation error S3: CreateMultipartUpload, failed to resolve service endpoint, endpoint rule error, Custom endpoint `s3.sto1.safedc.net` was not a valid URI

Setup details

Acconut commented 5 months ago

Does it work if you explicitly mention the protocol, so the value becomes a valid URI?

-s3-endpoint=https://s3.sto1.safedc.net

maltsev commented 5 months ago

Yes, now it works (both with v2 and v1). Thanks a lot for your help!