Title: TypeError: Invalid URL is thrown from the Undici integration · Issue #8145 · getsentry/sentry-javascript · GitHub
Open Graph Title: TypeError: Invalid URL is thrown from the Undici integration · Issue #8145 · getsentry/sentry-javascript
X Title: TypeError: Invalid URL is thrown from the Undici integration · Issue #8145 · 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/8145
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: Invalid URL is thrown from the Undici integration","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/node\n\n### SDK Version\n\n7.51.2\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\nhttps://algolia-site-search-crawler.sentry.io/issues/4155211403/?project=1260143\n\n### SDK Setup\n\n```js\r\nSentry.init({\r\n dsn: process.env.SENTRY_DSN,\r\n release: `${version}@${commit}`,\r\n environment: process.env.CLUSTER_NAME || process.env.NODE_ENV,\r\n serverName: name,\r\n maxBreadcrumbs: 10,\r\n beforeSend: (event, hint) => {\r\n const exception = hint?.originalException;\r\n\r\n if (exception) {\r\n if (exception instanceof RabbitMQAckMessageOnOldChannelError) {\r\n // eslint-disable-next-line no-param-reassign\r\n event.fingerprint = ['RabbitMQAckMessageOnOldChannelError'];\r\n }\r\n }\r\n\r\n return event;\r\n },\r\n });\r\n```\n\n### Steps to Reproduce\n\nRun our process as before\n\n### Expected Result\n\nNo unhandled error coming from the Undici integration\n\n### Actual Result\n\nThose unhandled errors started to make our processes crash, immediately after we updated to Sentry [v7.50](https://github.com/getsentry/sentry-javascript/releases/tag/7.50.0), which enables the Undici integration by default (https://github.com/getsentry/sentry-javascript/pull/7967): \r\n\r\n","author":{"url":"https://github.com/sbellone","@type":"Person","name":"sbellone"},"datePublished":"2023-05-17T09:11:15Z","url":"https://github.com/getsentry/sentry-javascript/issues/8145"}
| 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:2c1c2b72-8d6f-a3d0-3ab5-c60c038edf55 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 929E:1B10FF:36B867:49711E:6B04BA24 |
| html-safe-nonce | 940963199a4b78af33b0fcdaabb0e57a898a5a60304faebf73fbc67539ec0cca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjlFOjFCMTBGRjozNkI4Njc6NDk3MTFFOjZCMDRCQTI0IiwidmlzaXRvcl9pZCI6Ijg5NDIwNzMyNDU3OTMwNDA5MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ae554fdbcac0b3e0af423b06a7abf301abbe649dd14a966f4b36799e82fbecc9 |
| hovercard-subject-tag | issue:1713470817 |
| 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/8145/issue_layout |
| twitter:image | https://opengraph.githubassets.com/321d13da1dcb0bcb60c1a2e8179130c1cc7d2eddc3684f6b474d61ab2c779802/getsentry/sentry-javascript/issues/8145 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/321d13da1dcb0bcb60c1a2e8179130c1cc7d2eddc3684f6b474d61ab2c779802/getsentry/sentry-javascript/issues/8145 |
| 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 | sbellone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7 |
| 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 | b032e77f1ea437ede6c115446a0a467709b468e7 |
| 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