Comments (16)
This is the output from boto using the same credentials:
send: 'POST / HTTP/1.1\r\nAccept-Encoding: identity\r\nContent-Length: 63\r\nUser-Agent: Boto/2.32.1 Python/2.7.6 Linux/3.13.0-35-generic\r\nHost: ec2.cn-north-1.amazonaws.com.cn\r\nX-Amz-Date: 20141014T005114Z\r\nContent-Type: application/x-www-form-urlencoded; charset=UTF-8\r\nAuthorization: AWS4-HMAC-SHA256 Credential=AKIAOTSXDIKK75XAFENQ/20141014/cn-north-1/ec2/aws4_request,SignedHeaders=host;x-amz-date,Signature=1e2a1c00069f9f4859323578e61180f9e4557779a874237b5368df4038116ba3\r\n\r\nAction=DescribeImages&ImageId.1=ami-56bd2f6f&Version=2014-05-01'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: text/xml;charset=UTF-8
header: Transfer-Encoding: chunked
header: Vary: Accept-Encoding
header: Date: Tue, 14 Oct 2014 00:51:14 GMT
header: Server: AmazonEC2
from goamz.
+1 this
from goamz.
@ritksm I ended up hacking something together to make it work with cn-north-1 (at least for ec2 services) if you are interested: ziyan@10cf078
Seems cn-north-1 really want V4 signatures. I contacted AWS China and they have not responded yet.
from goamz.
@ziyan I will try it out. Thanks for your great work.
from goamz.
+1 this. eu-central-1 also requires v4 signatures.
from goamz.
+1 for the eu-central-1
from goamz.
ec2 also needs V4 signatures on eu-central-1
from goamz.
hi,
i added V4 signing support for ec2 and made a pull request: #154
i find it a little bit strange that every aws service needs his own signing functions, but i needed to access eu-central-1 so i just replaced the old sign function.
Do all regions support the new V4 signing ?
from goamz.
@ekle according to http://docs.aws.amazon.com/general/latest/gr/sigv4_support.html all regions of the supported products support v4 signing.
from goamz.
👍
from goamz.
+1
The root issue here seems to be the same as the one in hashicorp/packer#1646.
from goamz.
+1
from goamz.
+1
from goamz.
+1
from goamz.
same issue here with packer v0.7.5
from goamz.
+1
from goamz.
Related Issues (20)
- Throwing away original error messages
- IAM role credentials support HOT 1
- Unstable "No valid AWS authentication found" error using IAM roles
- Create RDS db snapshot feature
- s3 partial get HOT 3
- Expose ec2test package
- When running concurrently, s3testserver never unlocks mutex
- Get https:/bucket/file: net/http: TLS handshake timeout HOT 4
- The aws http client doesn't seem to be working very well with the S3 client on retry
- DynamoDB support
- Make MaxTries configurable
- ec2.CreateImage with NoDevice return InvalidBlockDeviceMapping
- AWS_ACCESS_KEY should be optional
- Add a note that this is not supported anymore HOT 4
- PutPart returning wrong size
- Trying to add a method to initiate a glacier restore, getting an incorrect signature
- S3 versioning
- ceph s3 compatible api, multipart complete fail
- it seems that Multi.PutPart won't close the response body and it will lead resource leak.
- change s3key acl
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 goamz.