René's URL Explorer Experiment


Title: Firebase Admin not retried on auth request connection error · Issue #852 · firebase/firebase-admin-python · GitHub

Open Graph Title: Firebase Admin not retried on auth request connection error · Issue #852 · firebase/firebase-admin-python

X Title: Firebase Admin not retried on auth request connection error · Issue #852 · firebase/firebase-admin-python

Description: Even though DEFAULT_RETRY_CONFIG is good enough DEFAULT_RETRY_CONFIG = retry.Retry( connect=1, read=1, status=4, status_forcelist=[500, 503], raise_on_status=False, backoff_factor=0.5, **_ANY_METHOD) I'm still periodically getting ('Conn...

Open Graph Description: Even though DEFAULT_RETRY_CONFIG is good enough DEFAULT_RETRY_CONFIG = retry.Retry( connect=1, read=1, status=4, status_forcelist=[500, 503], raise_on_status=False, backoff_factor=0.5, **_ANY_METHO...

X Description: Even though DEFAULT_RETRY_CONFIG is good enough DEFAULT_RETRY_CONFIG = retry.Retry( connect=1, read=1, status=4, status_forcelist=[500, 503], raise_on_status=False, backoff_factor=0.5, **_ANY_METHO...

Opengraph URL: https://github.com/firebase/firebase-admin-python/issues/852

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Firebase Admin not retried on auth request connection error","articleBody":"Even though `DEFAULT_RETRY_CONFIG` is good enough\n```py\nDEFAULT_RETRY_CONFIG = retry.Retry(\n    connect=1, read=1, status=4, status_forcelist=[500, 503],\n    raise_on_status=False, backoff_factor=0.5, **_ANY_METHOD)\n```\nI'm still periodically getting `('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))`. I started thinking it is very weird, because it seems that this connection error should be retried, no? It turned out, that this connection error occurs not in the request itself, which properly retries connection errors. It happens inside `AuthorizedSession.credentials.before_request`, which for auth requests instead of `DEFAULT_RETRY_CONFIG` uses\n```py\nretry_adapter = requests.adapters.HTTPAdapter(max_retries=3)\n```\n\nI think the right approach would be to form `auth_request` manually with the correct retry config in `HttpClient.__init__` and pass it to `AuthorizedSession` on creation.\n\nWhat are your thoughts?","author":{"url":"https://github.com/al-muammar","@type":"Person","name":"al-muammar"},"datePublished":"2025-01-16T18:47:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/852/firebase-admin-python/issues/852"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:68532e1d-bc3a-2064-2350-7c7d8d2c2b1f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA56E:53D23:18F49C:20CA82:698E622D
html-safe-nonce51fc48c981cca450d27361c6d0059ce112bcce818492440b3067ca8a20b2a8fa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTZFOjUzRDIzOjE4RjQ5QzoyMENBODI6Njk4RTYyMkQiLCJ2aXNpdG9yX2lkIjoiNTYxOTExMzcyMDk0Njc3ODY3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca349263244b839dca0fc8a4bc1a330be11c0936c8f6b87a58ee23ba834a2110b
hovercard-subject-tagissue:2793504871
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/firebase/firebase-admin-python/852/issue_layout
twitter:imagehttps://opengraph.githubassets.com/83c9c52dbf1b39610d59d6adb73905b75a8a9e7ecf1c371c7b383cd90b72e723/firebase/firebase-admin-python/issues/852
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/83c9c52dbf1b39610d59d6adb73905b75a8a9e7ecf1c371c7b383cd90b72e723/firebase/firebase-admin-python/issues/852
og:image:altEven though DEFAULT_RETRY_CONFIG is good enough DEFAULT_RETRY_CONFIG = retry.Retry( connect=1, read=1, status=4, status_forcelist=[500, 503], raise_on_status=False, backoff_factor=0.5, **_ANY_METHO...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameal-muammar
hostnamegithub.com
expected-hostnamegithub.com
None666e30cc1de8ebdf458084bf731e95deba4f074a5008f91b50803aa9a71e3725
turbo-cache-controlno-preview
go-importgithub.com/firebase/firebase-admin-python git https://github.com/firebase/firebase-admin-python.git
octolytics-dimension-user_id1335026
octolytics-dimension-user_loginfirebase
octolytics-dimension-repository_id84979152
octolytics-dimension-repository_nwofirebase/firebase-admin-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id84979152
octolytics-dimension-repository_network_root_nwofirebase/firebase-admin-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
releasef2d67bd549813f8aceb31f205ebdb434e9d46d38
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues/852#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffirebase%2Ffirebase-admin-python%2Fissues%2F852
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffirebase%2Ffirebase-admin-python%2Fissues%2F852
Sign up https://patch-diff.githubusercontent.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=firebase%2Ffirebase-admin-python
Reloadhttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues/852
Reloadhttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues/852
Reloadhttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues/852
firebase https://patch-diff.githubusercontent.com/firebase
firebase-admin-pythonhttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ffirebase%2Ffirebase-admin-python
Fork 347 https://patch-diff.githubusercontent.com/login?return_to=%2Ffirebase%2Ffirebase-admin-python
Star 1.1k https://patch-diff.githubusercontent.com/login?return_to=%2Ffirebase%2Ffirebase-admin-python
Code https://patch-diff.githubusercontent.com/firebase/firebase-admin-python
Issues 79 https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues
Pull requests 38 https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/pulls
Actions https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/actions
Projects 0 https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/projects
Security 0 https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/security
Insights https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/pulse
Code https://patch-diff.githubusercontent.com/firebase/firebase-admin-python
Issues https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues
Pull requests https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/pulls
Actions https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/actions
Projects https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/projects
Security https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/security
Insights https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/firebase/firebase-admin-python/issues/852
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/firebase/firebase-admin-python/issues/852
#853https://github.com/firebase/firebase-admin-python/pull/853
Firebase Admin not retried on auth request connection errorhttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues/852#top
#853https://github.com/firebase/firebase-admin-python/pull/853
api: corehttps://github.com/firebase/firebase-admin-python/issues?q=state%3Aopen%20label%3A%22api%3A%20core%22
https://github.com/al-muammar
https://github.com/al-muammar
al-muammarhttps://github.com/al-muammar
on Jan 16, 2025https://github.com/firebase/firebase-admin-python/issues/852#issue-2793504871
api: corehttps://github.com/firebase/firebase-admin-python/issues?q=state%3Aopen%20label%3A%22api%3A%20core%22
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.