Title: sentry-trace header being added to request to origin not in tracingOrigins · Issue #4411 · getsentry/sentry-javascript · GitHub
Open Graph Title: sentry-trace header being added to request to origin not in tracingOrigins · Issue #4411 · getsentry/sentry-javascript
X Title: sentry-trace header being added to request to origin not in tracingOrigins · Issue #4411 · getsentry/sentry-javascript
Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javascript/releases Provide a link to the aff...
Open Graph Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...
X Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/4411
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sentry-trace header being added to request to origin not in tracingOrigins","articleBody":"\u003c!-- Requirements: please go through this checklist before opening a new issue -->\r\n\r\n- [x] Review the documentation: https://docs.sentry.io/\r\n- [x] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues\r\n- [x] Use the latest release: https://github.com/getsentry/sentry-javascript/releases\r\n- [ ] Provide a link to the affected event from your Sentry account\r\n\r\n## Package + Version\r\n\r\n- [ ] `@sentry/browser`\r\n- [ ] `@sentry/node`\r\n- [ ] `raven-js`\r\n- [ ] `raven-node` _(raven for node)_\r\n- [x] other:\r\n - `@sentry/nextjs`\r\n\r\n### Version:\r\n\r\n```\r\n^6.16.1\r\n```\r\n\r\n## Description\r\n\r\nWe have Sentry initialised with\r\n\r\n```\r\nbrowserTracingOptions: {\r\n tracingOrigins: [\"localhost\", \"joinlifex.com\", \"herokuapp.com\", \"vercel.app\"],\r\n},\r\n```\r\n\r\nbut despite this the `sentry-trace` header is still being added to an outgoing request to our cookie solution:\r\n\r\n```\r\nAccess to XMLHttpRequest at 'http://cdn.iubenda.com/cs/tcf/v2/vendorlist.121.json' from origin 'http://localhost:3000' has been blocked by CORS policy: Request header field sentry-trace is not allowed by Access-Control-Allow-Headers in preflight response.\r\n```\r\n\r\nI am confused why the header is being added despite `http://cdn.iubenda.com/cs/tcf/v2/vendorlist.121.json` not being in the list of `tracingOrigins`, but I'm probably missing something obvious! 😖 \r\n\r\n","author":{"url":"https://github.com/amosbastian","@type":"Person","name":"amosbastian"},"datePublished":"2022-01-17T11:44:03Z","url":"https://github.com/getsentry/sentry-javascript/issues/4411"}
| 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:a18b33d3-0ba7-28df-fe0c-feb6bef7423e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB72:271798:66DF67:8CFDE1:6B0475B4 |
| html-safe-nonce | 75bed61f16a0095c959b32e9708c74cb15600b40c9889f66d5335f7b725791c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjcyOjI3MTc5ODo2NkRGNjc6OENGREUxOjZCMDQ3NUI0IiwidmlzaXRvcl9pZCI6Ijg4NDQ1NTExNjg2MTQyMzM1MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ce526dc3103b800e0076c7b8dc0776fade76bf85d5eb0f11be3b875b17c1fa50 |
| hovercard-subject-tag | issue:1105751388 |
| 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/4411/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3ecd199ec341a573731bcffebd85cfe32a269115518dfe70792a03221a81d122/getsentry/sentry-javascript/issues/4411 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ecd199ec341a573731bcffebd85cfe32a269115518dfe70792a03221a81d122/getsentry/sentry-javascript/issues/4411 |
| og:image:alt | Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | amosbastian |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| 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