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

do not include distributed trace headers in AWS SDK requests #433

Merged
merged 2 commits into from
Jan 11, 2022
Merged

do not include distributed trace headers in AWS SDK requests #433

merged 2 commits into from
Jan 11, 2022

Conversation

rittneje
Copy link
Contributor

@rittneje rittneje commented Jan 7, 2022

Fixes #427 and #432. Sending the distributed trace headers to AWS is rather pointless, and can cause the request signature to be corrupted on retries. Also, previously the AWS request id and response status code were not being properly captured.

Note: Due to breaking changes in the v3/internal package, the new release of nrawssdk-v1 will depend on the new release of v3. Not sure how this is normally dealt with.

@rittneje
Copy link
Contributor Author

ping @nr-swilloughby

@nr-swilloughby
Copy link
Contributor

@rittneje thank you for reporting this issue and for suggesting a pull request to address it. We'll review the issue and work to resolve it ASAP.

@RichVanderwal
Copy link
Contributor

@rittneje Thanks for working on this solution that simply side-steps the whole issue. We still need to do some testing on this, and would welcome others' feedback on this solution!

@RichVanderwal RichVanderwal changed the base branch from master to develop January 11, 2022 23:48
@RichVanderwal
Copy link
Contributor

Tested with sample code, merging with develop.

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

Successfully merging this pull request may close these issues.

AWS retry requests fail with 403 SignatureDoesNotMatch when newrelic distributed tracing is enabled.
3 participants