René's URL Explorer Experiment


Title: HTTP Requests to `example.com` on Sentry.init · Issue #18218 · getsentry/sentry-javascript · GitHub

Open Graph Title: HTTP Requests to `example.com` on Sentry.init · Issue #18218 · getsentry/sentry-javascript

X Title: HTTP Requests to `example.com` on Sentry.init · Issue #18218 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

X Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Opengraph URL: https://github.com/getsentry/sentry-javascript

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HTTP Requests to `example.com` on Sentry.init","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\n8.34.0\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\nhttps://tandahq.sentry.io/issues/6950814233/?project=4507847337181184&query=is%3Aunresolved&referrer=issue-stream\n\n### Reproduction Example/SDK Setup\n\nWe have been getting this error in production when Sentry is initially configured:\n\n\u003cimg width=\"1253\" height=\"418\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/7ee14271-67b0-4ef7-9129-f2553950eb04\" />\n\nI believe this is because of this method checking the browser can use `fetch`: \nhttps://github.com/getsentry/sentry-javascript/blob/74822de7db0996aa2faaf92d2970d6fb07093892/packages/core/src/utils/supports.ts#L83\n\nThis has caused `1.1m` errors in the last few weeks & I would like to understand if there's a reason this needs to be the `http` endpoint? The only issue I found somewhat related to this is about e2e tests in https://github.com/getsentry/sentry-javascript/pull/15052\n\nI have a draft PR here: https://github.com/getsentry/sentry-javascript/pull/18217 \n\n### Steps to Reproduce\n\nThis is my `sentry.js`\n\n```js\n// @flow\nimport * as Sentry from \"@sentry/browser\"\n\nconst enabledEnvironments = [\"development\", \"staging\", \"production\"]\n\nconst isEnabled = enabledEnvironments.includes(process.env.TARGET_RAILS_ENV)\nconst commitSha = process.env.COMMIT_SHA || \"unknown\"\nconst payausUrls = [/https?:\\/\\/.*\\.tanda\\.co/, /https?:\\/\\/.*\\.workforce\\.com/]\n\nif (isEnabled) {\n  Sentry.init({\n    dsn: \"our_dsn\",\n    release: `${commitSha}`,\n    environment: process.env.TARGET_RAILS_ENV,\n    allowUrls: payausUrls,\n\n    // This is error sampling:\n    // https://docs.sentry.io/platforms/javascript/configuration/options/#sample-rate\n    sampleRate: 1,\n\n    // No perf sampling from frontend.\n    // https://docs.sentry.io/platforms/javascript/configuration/options/#tracing-options\n    enableTracing: true,\n    tracesSampleRate: 0,\n    tracePropagationTargets: payausUrls,\n\n    ignoreErrors: [\n      \"__gCrWeb.autofill.extractForms\",\n      \"Background Sync is disabled\",\n      \"Request failed with status code\",\n      \"__firefox__\",\n      /maininit|\\$/,\n      \"_isMatchingDomain is not defined\",\n      \"Failed to execute 'postMessage' on 'Window':\",\n      \"AbortError\",\n      \"createError\",\n      \"node_modules\",\n      \"AxiosError\", // Added but unsure it would even mute the error if it's happening during `init`\n    ],\n    denyUrls: [\"js.intercomcdn.com\"],\n    beforeSend(event) {\n      if (event.user) {\n        delete event.user.username\n        delete event.user.email\n      }\n\n      return event\n    },\n  })\n\n  window.current_user && Sentry.setUser({ id: window.current_user.id })\n\n  const euUrl = /^https?:\\/\\/.*.?eu\\.(workforce|tanda)/\n  const region = window.location.href.match(euUrl) ? \"frankfurt\" : \"sydney\"\n\n  Sentry.setTag(\"region\", region)\n}\n\n```\n\n### Expected Result\n\nNo error\n\n### Actual Result\n\nErrors every time Sentry is initialised\n\n### Additional Context\n\n\u003csub>Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.\u003c/sub>\n\n\u003cimg width=\"1656\" height=\"913\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/c66a06a2-67f8-4dce-9e50-a1e77e213fc6\" />","author":{"url":"https://github.com/AwolDes","@type":"Person","name":"AwolDes"},"datePublished":"2025-11-17T01:15:30Z","url":"https://github.com/getsentry/sentry-javascript/issues/18218"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:362a0af9-1c11-ef16-7516-d3173167b112
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE356:1F60EA:C6D98:117216:6B04317D
html-safe-nonce6dfcd0bbef2b460e3df3b0ce56025b75ffaf568820f72632467a224c12a1a2fd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzU2OjFGNjBFQTpDNkQ5ODoxMTcyMTY6NkIwNDMxN0QiLCJ2aXNpdG9yX2lkIjoiODc1NTk5MzQ5MTM0MTA2MjUyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac69989b284bc41d548f86b3b68cbbe7ca8977cb3071780fe8c55950554899544d
hovercard-subject-tagrepository:3328572
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/issues/18218
twitter:imagehttps://repository-images.githubusercontent.com/3328572/1b73c77d-6488-4ece-9e12-e61d9eb2ac2b
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/3328572/1b73c77d-6488-4ece-9e12-e61d9eb2ac2b
og:image:altOfficial Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/18218#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F18218
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F18218
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/18218
Reloadhttps://github.com/getsentry/sentry-javascript/issues/18218
Reloadhttps://github.com/getsentry/sentry-javascript/issues/18218
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/18218
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/18218
#18225https://github.com/getsentry/sentry-javascript/pull/18225
HTTP Requests to example.com on Sentry.inithttps://github.com/getsentry/sentry-javascript/issues/18218#top
#18225https://github.com/getsentry/sentry-javascript/pull/18225
Browserhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Browser%22
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
https://github.com/AwolDes
AwolDeshttps://github.com/AwolDes
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#issue-3631384939
https://github.com/getsentry/sentry-javascript/issueshttps://github.com/getsentry/sentry-javascript/issues
https://docs.sentry.io/https://docs.sentry.io/
https://github.com/getsentry/sentry-javascript/releaseshttps://github.com/getsentry/sentry-javascript/releases
https://tandahq.sentry.io/issues/6950814233/?project=4507847337181184&query=is%3Aunresolved&referrer=issue-streamhttps://tandahq.sentry.io/issues/6950814233/?project=4507847337181184&query=is%3Aunresolved&referrer=issue-stream
https://private-user-images.githubusercontent.com/9693812/514945420-7ee14271-67b0-4ef7-9129-f2553950eb04.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0MzcyMjYsIm5iZiI6MTc5NTQzNjkyNiwicGF0aCI6Ii85NjkzODEyLzUxNDk0NTQyMC03ZWUxNDI3MS02N2IwLTRlZjctOTEyOS1mMjU1Mzk1MGViMDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjNUMTIyODQ2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjAxZTZjYzU4ZDViN2Y1NGYwZjkyMTI3NDhlNGRmOTVmYjY5NDQ5ZjlmODdiMjEzNmJhYmVhNWM1NDk4NzNhYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.MRRS8M-xtQchVdu0jwnMg9H5cE_efXiLevwyxWAM2WY
sentry-javascript/packages/core/src/utils/supports.tshttps://github.com/getsentry/sentry-javascript/blob/74822de7db0996aa2faaf92d2970d6fb07093892/packages/core/src/utils/supports.ts#L83
74822dehttps://github.com/getsentry/sentry-javascript/commit/74822de7db0996aa2faaf92d2970d6fb07093892
#15052https://github.com/getsentry/sentry-javascript/pull/15052
#18217https://github.com/getsentry/sentry-javascript/pull/18217
https://private-user-images.githubusercontent.com/9693812/514946358-c66a06a2-67f8-4dce-9e50-a1e77e213fc6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0MzcyMjYsIm5iZiI6MTc5NTQzNjkyNiwicGF0aCI6Ii85NjkzODEyLzUxNDk0NjM1OC1jNjZhMDZhMi02N2Y4LTRkY2UtOWU1MC1hMWU3N2UyMTNmYzYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjNUMTIyODQ2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGE4ODQyMzA2NWFlNzJjNjgyOWQ4MDE2MzkyM2QwZmM5ZWRiMmQ1YjE1ZGQ5NTQzNWQ5ZTAwZDU4YTY5MTA5NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.mlOqAiNCtfY-PJJU_kpv-KDOiysLEc-PtvGaaM5BOjc
AwolDeshttps://github.com/AwolDes
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#event-20975945183
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#event-20975945493
https://github.com/apps/linear
linearhttps://github.com/apps/linear
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#issuecomment-3539597117
Linearhttps://linear.app
JS-1166https://linear.app/getsentry/issue/JS-1166/http-requests-to-examplecom-on-sentryinit
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#event-20975946412
github-actionshttps://github.com/apps/github-actions
Browserhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Browser%22
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#event-20975946445
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#issuecomment-3540784599
#18225https://github.com/getsentry/sentry-javascript/pull/18225
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#event-20982306123
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218
s1gr1dhttps://github.com/s1gr1d
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#18225https://github.com/getsentry/sentry-javascript/pull/18225
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#event-20987744443
Lms24https://github.com/Lms24
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#event-20992414388
fix(core): Check `fetch` support with data URL (getsentry#18225)https://github.com/OrbisK/sentry-javascript-fork/commit/fb67650bf316cfe723f4ab7003e06a28fb1b07f9
getsentry#18225https://github.com/getsentry/sentry-javascript/pull/18225
fb67650https://github.com/OrbisK/sentry-javascript-fork/commit/fb67650bf316cfe723f4ab7003e06a28fb1b07f9
https://github.com/AwolDes
AwolDeshttps://github.com/AwolDes
on Nov 17, 2025https://github.com/getsentry/sentry-javascript/issues/18218#issuecomment-3544038299
@s1gr1dhttps://github.com/s1gr1d
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Nov 19, 2025https://github.com/getsentry/sentry-javascript/issues/18218#issuecomment-3552248517
GitHub Actionshttps://help.github.com/en/actions
#18225https://github.com/getsentry/sentry-javascript/pull/18225
10.26.0 releasehttps://github.com/getsentry/sentry-javascript/releases/tag/10.26.0
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/18218
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/18218
Browserhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Browser%22
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.