René's URL Explorer Experiment


Title: Error when explicitly passing `trace_configs=None` to `aiohttp.ClientSession` · Issue #2233 · getsentry/sentry-python · GitHub

Open Graph Title: Error when explicitly passing `trace_configs=None` to `aiohttp.ClientSession` · Issue #2233 · getsentry/sentry-python

X Title: Error when explicitly passing `trace_configs=None` to `aiohttp.ClientSession` · Issue #2233 · getsentry/sentry-python

Description: How do you use Sentry? Self-hosted/on-premise Version 1.27.0 Steps to Reproduce With the aiohttp integration, use aiohttp.ClientSession with trace_configs explicitly passed as None import asyncio import sentry_sdk import aiohttp sentry_s...

Open Graph Description: How do you use Sentry? Self-hosted/on-premise Version 1.27.0 Steps to Reproduce With the aiohttp integration, use aiohttp.ClientSession with trace_configs explicitly passed as None import asyncio i...

X Description: How do you use Sentry? Self-hosted/on-premise Version 1.27.0 Steps to Reproduce With the aiohttp integration, use aiohttp.ClientSession with trace_configs explicitly passed as None import asyncio i...

Opengraph URL: https://github.com/getsentry/sentry-python/issues/2233

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when explicitly passing `trace_configs=None` to `aiohttp.ClientSession`","articleBody":"### How do you use Sentry?\n\nSelf-hosted/on-premise\n\n### Version\n\n1.27.0\n\n### Steps to Reproduce\n\nWith the `aiohttp` integration, use `aiohttp.ClientSession` with `trace_configs` explicitly passed as `None`\r\n```\r\nimport asyncio\r\nimport sentry_sdk\r\nimport aiohttp\r\n\r\nsentry_sdk.init()\r\n\r\nasync def main():\r\n    async with aiohttp.ClientSession(trace_configs=None) as session:\r\n        pass\r\n\r\nasyncio.run(main())\r\n```\n\n### Expected Result\n\nNo error (as in 1.26.0)\n\n### Actual Result\n\nAn error is raised:\r\n```python\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\wookie184\\Documents\\GitHub\\bot\\hello.py\", line 11, in \u003cmodule>\r\n    asyncio.run(main())\r\n  File \"C:\\Users\\wookie184\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\asyncio\\runners.py\", line 190, in run\r\n    return runner.run(main)\r\n           ^^^^^^^^^^^^^^^^\r\n  File \"C:\\Users\\wookie184\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\asyncio\\runners.py\", line 118, in run\r\n    return self._loop.run_until_complete(task)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"C:\\Users\\wookie184\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\asyncio\\base_events.py\", line 653, in run_until_complete\r\n    return future.result()\r\n           ^^^^^^^^^^^^^^^\r\n  File \"C:\\Users\\wookie184\\Documents\\GitHub\\bot\\hello.py\", line 8, in main\r\n    async with aiohttp.ClientSession(trace_configs=None) as session:\r\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"C:\\Users\\wookie184\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\bot-hu2rt1Uv-py3.11\\Lib\\site-packages\\sentry_sdk\\integrations\\aiohttp.py\", line 186, in init        \r\n    client_trace_configs = list(kwargs.get(\"trace_configs\", ()))\r\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nTypeError: 'NoneType' object is not iterable\r\n```","author":{"url":"https://github.com/wookie184","@type":"Person","name":"wookie184"},"datePublished":"2023-07-06T12:36:47Z","url":"https://github.com/getsentry/sentry-python/issues/2233"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:041e5ca0-7c9b-2c5a-d254-e07000ffbae4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9F5C:C8FAB:7E0625:AC9ABF:6B047B42
html-safe-nonce272a4c505040b3bc6c45e6248bfbda7af4f5f1ad21f0006a22dd21ede5a8faac
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjVDOkM4RkFCOjdFMDYyNTpBQzlBQkY6NkIwNDdCNDIiLCJ2aXNpdG9yX2lkIjoiNTc5MTU2NjYwNDg0OTMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac58214bc38e12ee74a41fdee072d2aa97c5eda987e822f435215b9c1cab16992f
hovercard-subject-tagissue:1791477153
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/2233/issue_layout
twitter:imagehttps://opengraph.githubassets.com/22cc4b57ed5a83b656d020a82f016a5ba33a55858ba2d5e6520ae69531cec1a6/getsentry/sentry-python/issues/2233
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/22cc4b57ed5a83b656d020a82f016a5ba33a55858ba2d5e6520ae69531cec1a6/getsentry/sentry-python/issues/2233
og:image:altHow do you use Sentry? Self-hosted/on-premise Version 1.27.0 Steps to Reproduce With the aiohttp integration, use aiohttp.ClientSession with trace_configs explicitly passed as None import asyncio i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewookie184
hostnamegithub.com
expected-hostnamegithub.com
None9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
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
releasecf73f57448d52b3a7b619195e182b33d3b3454ca
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/issues/2233#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fissues%2F2233
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-python%2Fissues%2F2233
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/issues/2233
Reloadhttps://github.com/getsentry/sentry-python/issues/2233
Reloadhttps://github.com/getsentry/sentry-python/issues/2233
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues342 (342)https://github.com/getsentry/sentry-python/issues
Pull requests35 (35)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/2233
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/2233
Error when explicitly passing trace_configs=None to aiohttp.ClientSessionhttps://github.com/getsentry/sentry-python/issues/2233#top
https://github.com/wookie184
wookie184https://github.com/wookie184
on Jul 6, 2023https://github.com/getsentry/sentry-python/issues/2233#issue-1791477153
getsantryhttps://github.com/apps/getsantry
Status: Untriagedhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Status%3A%20Untriaged%22
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Jul 6, 2023https://github.com/getsentry/sentry-python/issues/2233#event-9743360679
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
on Jul 6, 2023https://github.com/getsentry/sentry-python/issues/2233#event-14871408468
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
on Jul 6, 2023https://github.com/getsentry/sentry-python/issues/2233
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
on Jul 6, 2023https://github.com/getsentry/sentry-python/issues/2233#issuecomment-1623608768
@wookie184https://github.com/wookie184
#2230https://github.com/getsentry/sentry-python/pull/2230
sentrivanahttps://github.com/sentrivana
not plannedhttps://github.com/getsentry/sentry-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Jul 6, 2023https://github.com/getsentry/sentry-python/issues/2233#event-9743376389
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
on Jul 6, 2023https://github.com/getsentry/sentry-python/issues/2233#issuecomment-1623645799
@wookie184https://github.com/wookie184
1.27.1https://github.com/getsentry/sentry-python/releases/tag/1.27.1
https://github.com/wookie184
wookie184https://github.com/wookie184
on Jul 6, 2023https://github.com/getsentry/sentry-python/issues/2233#issuecomment-1623720605
@wookie184https://github.com/wookie184
1.27.1https://github.com/getsentry/sentry-python/releases/tag/1.27.1
antonpirkerhttps://github.com/antonpirker
Status: Untriagedhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Status%3A%20Untriaged%22
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Jul 11, 2023https://github.com/getsentry/sentry-python/issues/2233#event-9785036518
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-python/issues/2233
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/2233
GitHub Issues with 👀https://github.com/orgs/getsentry/projects/76
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.