René's URL Explorer Experiment


Title: Exception on timeout from connection pool acquire · Issue #509 · MagicStack/asyncpg · GitHub

Open Graph Title: Exception on timeout from connection pool acquire · Issue #509 · MagicStack/asyncpg

X Title: Exception on timeout from connection pool acquire · Issue #509 · MagicStack/asyncpg

Description: asyncpg version: v0.20.0 PostgreSQL version: 11 Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?: Python version: 3.7 Platform: Ubuntu Do you use pgbouncer?: No Did you install asyn...

Open Graph Description: asyncpg version: v0.20.0 PostgreSQL version: 11 Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?: Python version: 3.7 Platform: Ubuntu Do you...

X Description: asyncpg version: v0.20.0 PostgreSQL version: 11 Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?: Python version: 3.7 Platform: Ubuntu Do you...

Opengraph URL: https://github.com/MagicStack/asyncpg/issues/509

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exception on timeout from connection pool acquire","articleBody":"\u003c!--\r\nThank you for reporting an issue/feature request.\r\n\r\nIf this is a feature request, please disregard this template.  If this is\r\na bug report, please answer to the questions below.\r\n\r\nIt will be much easier for us to fix the issue if a test case that reproduces\r\nthe problem is provided, with clear instructions on how to run it.\r\n\r\nThank you!\r\n--\u003e\r\n\r\n* **asyncpg version**: v0.20.0\r\n* **PostgreSQL version**: 11\r\n* **Do you use a PostgreSQL SaaS?  If so, which?  Can you reproduce\r\n  the issue with a local PostgreSQL install?**:\r\n* **Python version**: 3.7\r\n* **Platform**: Ubuntu\r\n* **Do you use pgbouncer?**: No\r\n* **Did you install asyncpg with pip?**: Yes\r\n* **If you built asyncpg locally, which version of Cython did you use?**:\r\n* **Can the issue be reproduced under both asyncio and\r\n  [uvloop](https://github.com/magicstack/uvloop)?**: Idk, probably.\r\n\r\nThis one fixes timeout error\r\nhttps://github.com/MagicStack/asyncpg/pull/468\r\n\r\nThis one line breaks it.\r\n\r\nhttps://github.com/MagicStack/asyncpg/commit/bdba7ce73324a7a87a8c854de7b5e881ea029744#diff-8424be9bb2792628343ee98369a5cf74L529\r\n\r\n\r\n\r\n```\r\n22:13:29 ERROR [/usr/lib/python3.7/asyncio/base_events.py:1608] Task exception was never retrieved\r\nfuture: \u003cTask finished coro=\u003cPool._acquire.\u003clocals\u003e._acquire_impl() done, defined at .venv/lib/python3.7/site-packages/asyncpg/pool.py:595\u003e exception=AttributeError(\"'coroutine' object has no attribute 'add_done_callback'\")\u003e\r\nTraceback (most recent call last):\r\n  File \".venv/lib/python3.7/site-packages/asyncpg/connect_utils.py\", line 621, in _connect_addr\r\n    connector, timeout=timeout)\r\n  File \"/usr/lib/python3.7/asyncio/tasks.py\", line 409, in wait_for\r\n    await waiter\r\nconcurrent.futures._base.CancelledError\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \".venv/lib/python3.7/site-packages/asyncpg/pool.py\", line 598, in _acquire_impl\r\n    proxy = await ch.acquire()  # type: PoolConnectionProxy\r\n  File \".venv/lib/python3.7/site-packages/asyncpg/pool.py\", line 133, in acquire\r\n    await self.connect()\r\n  File \".venv/lib/python3.7/site-packages/asyncpg/pool.py\", line 125, in connect\r\n    self._con = await self._pool._get_new_connection()\r\n  File \".venv/lib/python3.7/site-packages/asyncpg/pool.py\", line 472, in _get_new_connection\r\n    **self._connect_kwargs)\r\n  File \".venv/lib/python3.7/site-packages/asyncpg/connection.py\", line 1677, in connect\r\n    max_cacheable_statement_size=max_cacheable_statement_size)\r\n  File \".venv/lib/python3.7/site-packages/asyncpg/connect_utils.py\", line 654, in _connect\r\n    connection_class=connection_class)\r\n  File \".venv/lib/python3.7/site-packages/asyncpg/connect_utils.py\", line 623, in _connect_addr\r\n    connector.add_done_callback(_close_leaked_connection)\r\nAttributeError: 'coroutine' object has no attribute 'add_done_callback'\r\n```","author":{"url":"https://github.com/masell","@type":"Person","name":"masell"},"datePublished":"2019-11-28T22:22:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/509/asyncpg/issues/509"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8af62394-3968-1553-8f65-71c57e290d00
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB424:19CD0D:1305C2D:1984FF5:6A5B9659
html-safe-nonce1bae4051852c731639e63f7baf75232b3af85018125747bdec77dc6ba59f5d36
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDI0OjE5Q0QwRDoxMzA1QzJEOjE5ODRGRjU6NkE1Qjk2NTkiLCJ2aXNpdG9yX2lkIjoiNTAwNTA1NjA4NzY2ODAwNDQ0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4c6fd656f697f298162e9072fb30e64e36075bab27b603c52bac552142f6f7ca
hovercard-subject-tagissue:530089687
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/MagicStack/asyncpg/509/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b24378bb086d025247b7a8f6c9ff6b4836adb09daeca41f597b337ad7b271c24/MagicStack/asyncpg/issues/509
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b24378bb086d025247b7a8f6c9ff6b4836adb09daeca41f597b337ad7b271c24/MagicStack/asyncpg/issues/509
og:image:altasyncpg version: v0.20.0 PostgreSQL version: 11 Do you use a PostgreSQL SaaS? If so, which? Can you reproduce the issue with a local PostgreSQL install?: Python version: 3.7 Platform: Ubuntu Do you...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemasell
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/MagicStack/asyncpg git https://github.com/MagicStack/asyncpg.git
octolytics-dimension-user_id14324950
octolytics-dimension-user_loginMagicStack
octolytics-dimension-repository_id63652864
octolytics-dimension-repository_nwoMagicStack/asyncpg
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id63652864
octolytics-dimension-repository_network_root_nwoMagicStack/asyncpg
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/MagicStack/asyncpg/issues/509#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FMagicStack%2Fasyncpg%2Fissues%2F509
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FMagicStack%2Fasyncpg%2Fissues%2F509
Sign up https://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=MagicStack%2Fasyncpg
Reloadhttps://github.com/MagicStack/asyncpg/issues/509
Reloadhttps://github.com/MagicStack/asyncpg/issues/509
Reloadhttps://github.com/MagicStack/asyncpg/issues/509
Please reload this pagehttps://github.com/MagicStack/asyncpg/issues/509
MagicStack https://github.com/MagicStack
asyncpghttps://github.com/MagicStack/asyncpg
Notifications https://github.com/login?return_to=%2FMagicStack%2Fasyncpg
Fork 456 https://github.com/login?return_to=%2FMagicStack%2Fasyncpg
Star 8.1k https://github.com/login?return_to=%2FMagicStack%2Fasyncpg
Code https://github.com/MagicStack/asyncpg
Issues 251 https://github.com/MagicStack/asyncpg/issues
Pull requests 36 https://github.com/MagicStack/asyncpg/pulls
Discussions https://github.com/MagicStack/asyncpg/discussions
Actions https://github.com/MagicStack/asyncpg/actions
Security and quality 0 https://github.com/MagicStack/asyncpg/security
Insights https://github.com/MagicStack/asyncpg/pulse
Code https://github.com/MagicStack/asyncpg
Issues https://github.com/MagicStack/asyncpg/issues
Pull requests https://github.com/MagicStack/asyncpg/pulls
Discussions https://github.com/MagicStack/asyncpg/discussions
Actions https://github.com/MagicStack/asyncpg/actions
Security and quality https://github.com/MagicStack/asyncpg/security
Insights https://github.com/MagicStack/asyncpg/pulse
Exception on timeout from connection pool acquirehttps://github.com/MagicStack/asyncpg/issues/509#top
https://github.com/masell
masellhttps://github.com/masell
on Nov 28, 2019https://github.com/MagicStack/asyncpg/issues/509#issue-530089687
uvloophttps://github.com/magicstack/uvloop
#468https://github.com/MagicStack/asyncpg/pull/468
bdba7ce#diff-8424be9bb2792628343ee98369a5cf74L529https://github.com/MagicStack/asyncpg/commit/bdba7ce73324a7a87a8c854de7b5e881ea029744#diff-8424be9bb2792628343ee98369a5cf74L529
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

Viewport: width=device-width


URLs of crawlers that visited me.