Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Update SQS endpoints (Fix SignatureDoesNotMatch Error) #3633

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

hest
Copy link

@hest hest commented Oct 19, 2016

[2016-10-19 18:41:21,609: DEBUG/MainProcess] HTTP ap-northeast-1.queue.amazonaws.com:443//877082364374/test-celery-celery headers={} body=
[2016-10-19 18:41:21,610: DEBUG/MainProcess] CanonicalRequest:
GET
/877082364374/test-celery-celery
Action=ReceiveMessage&MaxNumberOfMessages=10&Version=2012-11-05&WaitTimeSeconds=10
host:ap-northeast-1.queue.amazonaws.com
x-amz-date:20161019T094121Z

host;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
[2016-10-19 18:41:21,610: DEBUG/MainProcess] StringToSign:
AWS4-HMAC-SHA256
20161019T094121Z
20161019/queue/sqs/aws4_request
925d4df6beb7eabee3f09e7ce741131d6628bcb80d5f47b3b4dee84869457970
[2016-10-19 18:41:21,611: DEBUG/MainProcess] Signature:
682480ad11fd6a646d3bdd5420ca94f055bde588a12e0498ab7f4e528e709f0d
[2016-10-19 18:41:23,892: ERROR/MainProcess] HTTP Error: SQSError: 403 Forbidden

SenderSignatureDoesNotMatchCredential should be scoped to a valid region, not 'queue'. 1481275a-334e-5d4d-8da7-77db714d305c

Boto SQS works fine for us-east-1 region,
But, when using with other regions, AWS V4 signing will be failed.
Just updating endpoints.json file to solve the problem.

@denizs
Copy link

denizs commented Jan 2, 2017

Thanks so much hest!
Please merge ASAP!

@tsarpaul
Copy link

This needs to be merged ASAP, can't work with SQS without editing my boto library manually to fix this...

@rohanliston
Copy link

Please merge!

@etos
Copy link

etos commented Jan 29, 2017

+1 This feels like a no brainer.

@sergray
Copy link

sergray commented Feb 13, 2017

@hest that file seems to be autogenerated according to #3657, so it might be the reason it does not get attention from boto members

@revmischa
Copy link

This error is causing problems with SQS please merge

@michaelhenry
Copy link

michaelhenry commented Feb 24, 2017

For those who has this problem, I fixed the Signature for sqs. I already submitted a pull request to boto. but you can also fixed it by getting it from my git.

here is the pull request #3688

or just pip it from my git.

pip install git+git://github.com/michaelhenry/boto.git@sqs_fixed

Cheers 👍

@helmetwearer
Copy link

Can we merge this yesterday please?

@ghost
Copy link

ghost commented Mar 21, 2017

please merge.... this hasnt been merged for too long now

@chrisspen
Copy link

This is still broken. Is there a workaround?

@sevdog
Copy link

sevdog commented Sep 10, 2019

Any news regarding this PR?

Can any mantainer merge it or at least tell us why not?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet