-
Notifications
You must be signed in to change notification settings - Fork 846
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
Authorization mechanism not supported. #4
Comments
Hi @modeler If this is regarding this lab presign-url-s3-upload, I just verified the steps and it's working for me. |
I'll share a couple of links that have some pointers on what you can try to make this work : |
This may be the reason why your upload is failing Referencehttps://docs.aws.amazon.com/general/latest/gr/signature-version-2.html |
You should set signatureVersion: 'v4' in config to use new signature version in aws: If you are using boto3 then there will be a different work around. But the error is just because the region doesn't support V2 and V4 must be used. |
Hi, Thank you both for following this up. I just tried again and it worked fine, no idea what the problem was on my previous attempt! |
Your welcome @modeler and Its great to hear that. Anyway just clone the repo again as i made the changes to work only with V4. I am sure it will work just fine. |
Signed URLs created using this method no longer work as described, the error message returned by S3 is:
I assume some further tweaking needs to be done, but I haven't found out what yet.
The text was updated successfully, but these errors were encountered: