Title: http integration: sentry adds the same header many times: 'The number of request header fields exceeds this server's limit' · Issue #8654 · getsentry/sentry-javascript · GitHub
Open Graph Title: http integration: sentry adds the same header many times: 'The number of request header fields exceeds this server's limit' · Issue #8654 · getsentry/sentry-javascript
X Title: http integration: sentry adds the same header many times: 'The number of request header fields exceeds this server's limit' · Issue #8654 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8654
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"http integration: sentry adds the same header many times: 'The number of request header fields exceeds this server's limit'","articleBody":"### Is there an existing issue for this?\n\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [X] I have reviewed the documentation https://docs.sentry.io/\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/browser\n\n### SDK Version\n\n7.60.0\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\nhttps://red-hat-it.sentry.io/issues/4323333831/?project=4505158884196352&query=is%3Aunresolved&referrer=issue-stream&stream_index=0\n\n### SDK Setup\n\nhttps://github.com/fedora-ci/ciboard-server/blob/29be9f40dca07d8cc393d81704442c592eaa0e5e/src/server.ts#L59\r\n\r\n```js\r\nSentry.init({\r\n integrations: [\r\n // Enable HTTP calls tracing.\r\n new Sentry.Integrations.Http({ tracing: true }),\r\n // Enable Express.js middleware tracing.\r\n new Sentry.Integrations.Express({ app }),\r\n // Automatically instrument Node.js libraries and frameworks.\r\n ...Sentry.autoDiscoverNodePerformanceMonitoringIntegrations(),\r\n ],\r\n release: process.env.CIBOARD_SERVER_GIT_COMMIT || 'custom-build',\r\n})\r\n```\n\n### Steps to Reproduce\n\nBug is in:\r\n\r\nhttps://docs.sentry.io/platforms/node/configuration/integrations/default-integrations/#http\r\n\r\nStart sending HTTPS requests.\r\n\r\nSentry adds tons HTTP-headers.\n\n### Expected Result\n\nSentry do not spoil http traffic with duplicated entries of the same header.\n\n### Actual Result\n\nSentry adds the same header tons of times:\r\n\r\n```\r\nreq headers: POST /brewhub HTTP/1.1\r\nuseragent: ciboard-server\r\nUser-Agent: NodeJS XML-RPC Client\r\nContent-Type: text/xml\r\nAccept: text/xml\r\nAccept-Charset: UTF8\r\nConnection: Keep-Alive\r\nContent-Length: 324\r\nsentry-trace: dfda641419e54f7f954ae2208f6d2c91-8754a115bfefa680-0\r\nbaggage: sentry-environment=production,sentry-release=756212cc5e502f60527c45f2213a0eb34e13fa04,sentry-public_key=86cf439ffd454a21bec26faae0da9962,sentry-trace_id=ca1d026ad267460297f064fda63470c9\r\nbaggage: sentry-environment=production,sentry-release=756212cc5e502f60527c45f2213a0eb34e13fa04,sentry-public_key=86cf439ffd454a21bec26faae0da9962,sentry-trace_id=ca1d026ad267460297f064fda63470c9\r\nbaggage: sentry-environment=production,sentry-release=756212cc5e502f60527c45f2213a0eb34e13fa04,sentry-public_key=86cf439ffd454a21bec26faae0da9962,sentry-trace_id=ca1d026ad267460297f064fda63470c9\r\nbaggage: sentry-environment=production,sentry-release=756212cc5e502f60527c45f2213a0eb34e13fa04,sentry-public_key=86cf439ffd454a21bec26faae0da9962,sentry-trace_id=ca1d026ad267460297f064fda63470c9\r\n```","author":{"url":"https://github.com/Andrei-Stepanov","@type":"Person","name":"Andrei-Stepanov"},"datePublished":"2023-07-26T17:01:42Z","url":"https://github.com/getsentry/sentry-javascript/issues/8654"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1ff78cfa-7f9a-7153-4509-8133fb4b9516 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E55E:27C7B1:768E9D:A33DCD:6B04AADC |
| html-safe-nonce | be93ec43ef061896aaed75cab69a61f0674ec4a50e8d038ce1c98bf2f9521d32 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTVFOjI3QzdCMTo3NjhFOUQ6QTMzRENEOjZCMDRBQURDIiwidmlzaXRvcl9pZCI6IjIzNTcyMzgyNzc1OTUyNDUyNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b9169776d61e1ae83170f91d7d62eab1b2352ec6ef7463bc354207859e1a8de9 |
| hovercard-subject-tag | issue:1822818804 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/8654/issue_layout |
| twitter:image | https://opengraph.githubassets.com/113ce9ae5eebf696e53ab4c7fc8dae585d3157be4b698359584275c914ff120c/getsentry/sentry-javascript/issues/8654 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/113ce9ae5eebf696e53ab4c7fc8dae585d3157be4b698359584275c914ff120c/getsentry/sentry-javascript/issues/8654 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Andrei-Stepanov |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width