Skip to content
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

Lumigo turns ThrottlingException into InvalidSignatureException #484

Open
alexbepple opened this issue May 23, 2024 · 0 comments
Open

Lumigo turns ThrottlingException into InvalidSignatureException #484

alexbepple opened this issue May 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@alexbepple
Copy link

Describe the bug
While investigating aws-lite/aws-lite#127, we stumbled upon weird behavior caused by Lumigo that we cannot explain and that looks like a bug. We have a situation in which we exceed the SSM rate limit and get a ThrottlingException, upon which the client retries. Without Lumigo, the retries also return a ThrottlingException. But with Lumigo, the retries look like InvalidSignatureException.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy https://github.com/heartstocks/aws-lite-InvalidSignatureException.
  2. Add > 20 SSM parameters prefixed with '/ArcAwsLiteInvalidSignatureExceptionStaging/' in order to increase load on SSM Param Store.
  3. Provoke ThrottlingExceptions by calling the Lambda with many users at the same time, e.g. k6 --vus 200 --iterations 200 …
  4. Connect AWS Account to Lumigo and enable tracing by clicking the toggle in the Lumigo dashboard.
  5. Repeat step 3. The initial ThrottlingException can still be seen, but the retries now appear to receive a InvalidSignatureException.

Here are the logs for comparison:

Expected behavior
Even with Lumigo tracing the Lambda, ThrottlingException should be shown.

Runtime details

  • Lambda runtime: Node.js 20.x, Architecture: arm64
  • Lumigo layer version: 260

Additional context
As you can see from the screenshots in aws-lite/aws-lite#127, the issue not only affects SSM Param Store, but also DynamoDB access.

@alexbepple alexbepple added the bug Something isn't working label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants