-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intermittent AWS InvalidSignatureException with v9.116.0 #596
Comments
Hi! I believe this is related to this issue, as this library doesn't actually trace or modify the aws-sdk. Can you open an issue in Thank you! |
We've been using |
This library, when used as a layer, packages dd-trace. If you install it from npm, then you pick your own version of ddtrace. If you're using the lambda layer then I'd expect (due to layer dependency collisions), that your packaged version of the layer is not being used at all. That said you can test it by using NPM to install this library along with ddtrace 5.26 which reverted this PR. The Lambda Extension is not relevant here, however this library may need to publish a new Lambda Layer with the reverted version of dd-trace-js. That said it still may be helpful for that team to understand your use case to prevent it from happening again. |
Yes, using the lambda layer per recommendation from the official docs. I can try to back out of this, but that's a larger change. I'll test the updated |
Yup, v117 was just released and contains ddtrace 4.50, which contains the revert. |
Closing this because it's hopefully fixed, but we also don't plan to update to the latest version any time soon to verify. |
Expected Behavior
No errors.
Actual Behavior
InvalidSignatureException
error intermittently appearing in our logs, resulting in invalid token validation that caused auth issues for users.Steps to Reproduce the Problem
Unfortunately, this is not something we've been able to consistently replicate. The error started happening when we upgraded from
v9.115.0
tov9.116.0
and went away when we downgraded.Specifications
v9.116.0
AWS Lambda Node.js 20.x
Stacktrace
Assuming your internal IDs are unique, an example can be found via:
span id:
7530370475899081053
trace id:
3907063422949516603
If necessary, I can share more information about this through your regular private support channel.
The text was updated successfully, but these errors were encountered: