opentracing-contrib / java-aws-sdk

OpenTracing instrumentation for AWS SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No longer works with new signatures

boostchicken opened this issue · comments

message: "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. (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: InvalidSignatureException; Request ID: JLE25C7RCQKSIOBUF0IQP29EU3VV4KQNSO5AEMVJF66Q9ASUAAJG)"

I reproduced this issue only in SpecialAgent, as you reported opentracing-contrib/java-specialagent#86.
Did you try to use this library without SpecialAgent? Still failing?

I have not, no desire to really.

ok, so I'm closing it now, because I found a problem in SpecialAgent.

@malafeev care to share? I took a look and a few things jump out but I need to get this working sooner than later,

@boostchicken you need to disable apache-httpclient rule:
-Dsa.instrumentation.plugin.apache-httpclient.enable=false

verified with opentracing-specialagent-1.2.0.jar

Yeah I just found that out a few minutes ago, I finally looked at the apache code and its supeeeeeerrrr ugly.

Thanks man!