InvalidSignatureException when calling the GetSamplingTargets
@srprash ci sta già lavorando.
Dal 7/9/2021.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Hello,
We are currently using Aws Xray in production on our django applications. The application is running on ECS using EC2. The xray-daemon is installed on django container itself. We have given the daemon permissions by adding the AWSXRayDaemonWriteAccess to the task's role. Occasionally we are seeing this error:
An error occurred (InvalidSignatureException) when calling the GetSamplingTargets operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
I guess the important thing to note here is we are only seeing this occasionally. As you see below, most of requests to this endpoint are good:

From some debugging it looks like the failing request is using us-west-2 as the region, whilst the region the daemon and our services are running are on eu-west-1
{
body: b'{"SamplingStatisticsDocuments": [{"RuleName": "Default", "ClientID": "xxxxxxxxxxxxx", "RequestCount":
1, "BorrowCount": 0, "SampledCount": 0, "Timestamp": 1617955918}]}',
context: {
auth_type: [Filtered],
client_config: <botocore.config.Config object at 0x7f6c7220a110>,
client_region: 'us-west-2',
has_streaming_input: False
},
headers: {
User-Agent: 'Botocore/1.20.47 Python/3.7.10 Linux/4.14.225-169.362.amzn2.x86_64 exec-env/AWS_ECS_EC2'
},
method: 'POST',
query_string: {},
url: 'http://127.0.0.1:2000/SamplingTargets',
url_path: '/SamplingTargets'
}
- Lingua principale
- Python
- Stelle
- 339
- Fork
- 147
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aws/aws-xray-sdk-python
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
aws/aws-xray-sdk-python#490 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
aws/aws-xray-sdk-python#460 ·
-
Next release Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
aws/aws-xray-sdk-python#457 · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
aws/aws-xray-sdk-python#453 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
aws/aws-xray-sdk-python#452 · 1 reazione ·
Tutte le issue di aws/aws-xray-sdk-python
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·