We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sentry Saas (sentry.io)
@sentry/browser
7.60.0
No response
https://red-hat-it.sentry.io/issues/4323333831/?project=4505158884196352&query=is%3Aunresolved&referrer=issue-stream&stream_index=0
https://github.com/fedora-ci/ciboard-server/blob/29be9f40dca07d8cc393d81704442c592eaa0e5e/src/server.ts#L59
Sentry.init({ integrations: [ // Enable HTTP calls tracing. new Sentry.Integrations.Http({ tracing: true }), // Enable Express.js middleware tracing. new Sentry.Integrations.Express({ app }), // Automatically instrument Node.js libraries and frameworks. ...Sentry.autoDiscoverNodePerformanceMonitoringIntegrations(), ], release: process.env.CIBOARD_SERVER_GIT_COMMIT || 'custom-build', })
Bug is in:
https://docs.sentry.io/platforms/node/configuration/integrations/default-integrations/#http
Start sending HTTPS requests.
Sentry adds tons HTTP-headers.
Sentry do not spoil http traffic with duplicated entries of the same header.
Sentry adds the same header tons of times:
req headers: POST /brewhub HTTP/1.1 useragent: ciboard-server User-Agent: NodeJS XML-RPC Client Content-Type: text/xml Accept: text/xml Accept-Charset: UTF8 Connection: Keep-Alive Content-Length: 324 sentry-trace: dfda641419e54f7f954ae2208f6d2c91-8754a115bfefa680-0 baggage: sentry-environment=production,sentry-release=756212cc5e502f60527c45f2213a0eb34e13fa04,sentry-public_key=86cf439ffd454a21bec26faae0da9962,sentry-trace_id=ca1d026ad267460297f064fda63470c9 baggage: sentry-environment=production,sentry-release=756212cc5e502f60527c45f2213a0eb34e13fa04,sentry-public_key=86cf439ffd454a21bec26faae0da9962,sentry-trace_id=ca1d026ad267460297f064fda63470c9 baggage: sentry-environment=production,sentry-release=756212cc5e502f60527c45f2213a0eb34e13fa04,sentry-public_key=86cf439ffd454a21bec26faae0da9962,sentry-trace_id=ca1d026ad267460297f064fda63470c9 baggage: sentry-environment=production,sentry-release=756212cc5e502f60527c45f2213a0eb34e13fa04,sentry-public_key=86cf439ffd454a21bec26faae0da9962,sentry-trace_id=ca1d026ad267460297f064fda63470c9
The text was updated successfully, but these errors were encountered:
@Andrei-Stepanov thanks for reporting, sorry for the trouble!
I wonder how this is possible - we should only be attaching the headers a single time, but let me add a guard that hopefully prevent this.
I opened #8657 as a possible fix for this.
Sorry, something went wrong.
Hello, Just a small addition:
It starts to happen over time. When our app starts all looks good. The sentry-headers started to accumulate in http-requests over time.
Thank you.
@AbhiPrasad thank you for the fix.
requestOptions
AbhiPrasad
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
7.60.0
Framework Version
No response
Link to Sentry event
https://red-hat-it.sentry.io/issues/4323333831/?project=4505158884196352&query=is%3Aunresolved&referrer=issue-stream&stream_index=0
SDK Setup
https://github.com/fedora-ci/ciboard-server/blob/29be9f40dca07d8cc393d81704442c592eaa0e5e/src/server.ts#L59
Steps to Reproduce
Bug is in:
https://docs.sentry.io/platforms/node/configuration/integrations/default-integrations/#http
Start sending HTTPS requests.
Sentry adds tons HTTP-headers.
Expected Result
Sentry do not spoil http traffic with duplicated entries of the same header.
Actual Result
Sentry adds the same header tons of times:
The text was updated successfully, but these errors were encountered: