Giter Club home page Giter Club logo

Comments (16)

ziyan avatar ziyan commented on July 17, 2024

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.

ritksm avatar ritksm commented on July 17, 2024

+1 this

from goamz.

ziyan avatar ziyan commented on July 17, 2024

@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.

ritksm avatar ritksm commented on July 17, 2024

@ziyan I will try it out. Thanks for your great work.

from goamz.

igmar avatar igmar commented on July 17, 2024

+1 this. eu-central-1 also requires v4 signatures.

from goamz.

ashleydw avatar ashleydw commented on July 17, 2024

+1 for the eu-central-1

from goamz.

ekle avatar ekle commented on July 17, 2024

ec2 also needs V4 signatures on eu-central-1

from goamz.

ekle avatar ekle commented on July 17, 2024

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.

bgentry avatar bgentry commented on July 17, 2024

@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.

arosenhagen avatar arosenhagen commented on July 17, 2024

👍

from goamz.

nchammas avatar nchammas commented on July 17, 2024

+1

The root issue here seems to be the same as the one in hashicorp/packer#1646.

from goamz.

anaptfox avatar anaptfox commented on July 17, 2024

+1

from goamz.

marsmensch avatar marsmensch commented on July 17, 2024

+1

from goamz.

femueller avatar femueller commented on July 17, 2024

+1

from goamz.

darth30joker avatar darth30joker commented on July 17, 2024

same issue here with packer v0.7.5

from goamz.

thereforsunrise avatar thereforsunrise commented on July 17, 2024

+1

from goamz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.