Comments (6)
You should set signatureVersion: 'v4' in config to use new signature version in aws:
AWS.config.update
({
signatureVersion: 'v4'
});
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.
from aws-labs.
Hi @modeler If this is regarding this lab presign-url-s3-upload, I just verified the steps and it's working for me.
from aws-labs.
I'll share a couple of links that have some pointers on what you can try to make this work :
- https://stackoverflow.com/questions/26533245/the-authorization-mechanism-you-have-provided-is-not-supported-please-use-aws4
- https://stackoverflow.com/questions/43985866/boto-error-in-scrapy-the-authorization-mechanism-you-have-provided-is-not-supp
from aws-labs.
This may be the reason why your upload is failing
Reference
https://docs.aws.amazon.com/general/latest/gr/signature-version-2.html
from aws-labs.
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!
from aws-labs.
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.
Thanks
from aws-labs.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-labs.