René's URL Explorer Experiment


Title: bigquery: SSLError marked globally non-retryable (#17489) fails jobs.get / result() polling on transient TLS resets · Issue #18178 · googleapis/google-cloud-python · GitHub

Open Graph Title: bigquery: SSLError marked globally non-retryable (#17489) fails jobs.get / result() polling on transient TLS resets · Issue #18178 · googleapis/google-cloud-python

X Title: bigquery: SSLError marked globally non-retryable (#17489) fails jobs.get / result() polling on transient TLS resets · Issue #18178 · googleapis/google-cloud-python

Description: Determine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue #17489 ("avoid SSLError retry loop", released in 3.42.2) added requests.exceptions.SSLError to a new _UN...

Open Graph Description: Determine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue #17489 ("avoid SSLError retry loop", released in 3.42.2) added r...

X Description: Determine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue #17489 ("avoid SSLError retry loop", released in 3.42....

Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/18178

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bigquery: SSLError marked globally non-retryable (#17489) fails jobs.get / result() polling on transient TLS resets","articleBody":"### Determine this is the right repository\n\n- [x] I determined this is the correct repository in which to report this bug.\n\n### Summary of the issue\n\n[#17489](https://github.com/googleapis/google-cloud-python/pull/17489) (\"avoid SSLError retry loop\", released in 3.42.2) added `requests.exceptions.SSLError` to a new `_UNSTRUCTURED_NON_RETRYABLE_TYPES` and short-circuits `_should_retry` on it\n([`retry.py:46,76-77`](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-bigquery/google/cloud/bigquery/retry.py#L46)).\n\nThe PR's motivating case is `insert_rows_json`, but `_should_retry` is not that method's predicate — it is the base predicate for every retry surface in the client. As a result **a single transient TLS reset now fails any API call**, where 3.40.1 retried it as the `requests.exceptions.ConnectionError` subclass it is.\n\n#### Expected vs. actual\n\nA transient `SSLEOFError` (peer or middlebox dropping the socket mid-handshake) is a transport error and was retried to `DEFAULT_RETRY`'s 600 s deadline in 3.40.1 — `retry.py` there has no `_UNSTRUCTURED_NON_RETRYABLE_TYPES` at all, so `_should_retry` fell through to the `isinstance` check against `_UNSTRUCTURED_RETRYABLE_TYPES`, which contains `requests.exceptions.ConnectionError` (and `requests` makes `SSLError` a subclass of it deliberately). In 3.42.2 the same blip raises on the first occurrence.\n\n### API client name and version\n\ngoogle-cloud-bigquery: 3.42.2 (first release with the change) — still present in 3.43.0\n\n### Reproduction steps: code\n\n_No response_\n\n### Reproduction steps: supporting files\n\n_No response_\n\n### Reproduction steps: actual results\n\n_No response_\n\n### Reproduction steps: expected results\n\n_No response_\n\n### OS & version + platform\n\nContainer-Optimized OS (GKE, Cloud Composer 3)\n\n### Python environment\n\nPython: 3.11\n\n### Python dependencies\n\n_No response_\n\n### Additional context\n\n#### What we actually observe in production\n\nDeferred `BigQueryInsertJobOperator` tasks (Airflow 3.2 / Composer 3) poll `jobs.get` every 4 s. Since upgrading to an image carrying 3.42.2, polls fail like this — and each failure fails the task and re-submits the query, on jobs that are `RUNNING` and healthy:\n\n```\nHTTPSConnectionPool(host='bigquery.googleapis.com', port=443): Max retries exceeded with url: /bigquery/v2/projects/\u003cproject>/jobs/\u003cjob>?projection=full&location=EU (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol')))\n```\n\n49 such events across ~20 different DAGs in ~19 h; zero on the same workload while it ran 3.40.1. Note the URL family: `jobs.get` — a GET with no request body, so no schema can be involved. Note also that `google.auth.transport.requests.AuthorizedSession` mounts `HTTPAdapter(max_retries=3)` on the **auth** session only, so nothing below the client retries the data request either: identical resets on an IAM refresh call recover silently, while `jobs.get` fails outright.","author":{"url":"https://github.com/evgeniy-b","@type":"Person","name":"evgeniy-b"},"datePublished":"2026-08-20T12:08:42Z","url":"https://github.com/googleapis/google-cloud-python/issues/18178"}

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:f24a3b45-94da-df14-8291-81f4a8b7a9d0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC74A:37FB1B:27180:3553A:6AFE11DE
html-safe-nonce1106221a04a826ab5f542dea42a2da3910a383a8db91f9381aeb49713c4cca62
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzRBOjM3RkIxQjoyNzE4MDozNTUzQTo2QUZFMTFERSIsInZpc2l0b3JfaWQiOiIxMDMwMzgzNDEzNjgyMzc3MTgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac22c7f19fdb11e9253f0de8599e9b7689eb2a1cdf27c20cf6ceb3e67c2b4c8716
hovercard-subject-tagissue:5203219967
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/googleapis/google-cloud-python/18178/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b5efc5b65f32756bb63840d1f166579f8f629e03d936031f296edbdf6f982359/googleapis/google-cloud-python/issues/18178
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b5efc5b65f32756bb63840d1f166579f8f629e03d936031f296edbdf6f982359/googleapis/google-cloud-python/issues/18178
og:image:altDetermine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue #17489 ("avoid SSLError retry loop", released in 3.42.2) added r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameevgeniy-b
hostnamegithub.com
expected-hostnamegithub.com
None3cd8a1d79ccbf9aecac62781f79072482a49047fb982b8c9e2ad4aca8bf6a9af
turbo-cache-controlno-preview
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-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
release05539640a34afe6142a519483d78ddd766a1304a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/issues/18178#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F18178
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%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F18178
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=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18178
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18178
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18178
googleapishttps://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Codehttps://github.com/googleapis/google-cloud-python
Issues448 (448)https://github.com/googleapis/google-cloud-python/issues
Pull requests199 (199)https://github.com/googleapis/google-cloud-python/pulls
Discussionshttps://github.com/googleapis/google-cloud-python/discussions
Actionshttps://github.com/googleapis/google-cloud-python/actions
Projectshttps://github.com/googleapis/google-cloud-python/projects
Security and qualityhttps://github.com/googleapis/google-cloud-python/security
Insightshttps://github.com/googleapis/google-cloud-python/insights
https://github.com/googleapis/google-cloud-python
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18178
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18178
#18295https://github.com/googleapis/google-cloud-python/pull/18295
bigquery: SSLError marked globally non-retryable (#17489) fails jobs.get / result() polling on transient TLS resetshttps://github.com/googleapis/google-cloud-python/issues/18178#top
#18295https://github.com/googleapis/google-cloud-python/pull/18295
https://github.com/daniel-sanche
api: bigqueryIssues related to the BigQuery API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/evgeniy-b
evgeniy-bhttps://github.com/evgeniy-b
on Aug 20, 2026https://github.com/googleapis/google-cloud-python/issues/18178#issue-5203219967
#17489https://github.com/googleapis/google-cloud-python/pull/17489
retry.py:46,76-77https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-bigquery/google/cloud/bigquery/retry.py#L46
evgeniy-bhttps://github.com/evgeniy-b
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
triage meI really want to be triaged.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22triage%20me%22
on Aug 20, 2026https://github.com/googleapis/google-cloud-python/issues/18178#event-29741937058
daniel-sanchehttps://github.com/daniel-sanche
on Aug 28, 2026https://github.com/googleapis/google-cloud-python/issues/18178#event-30186331927
daniel-sanchehttps://github.com/daniel-sanche
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
api: bigqueryIssues related to the BigQuery API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
triage meI really want to be triaged.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22triage%20me%22
on Aug 28, 2026https://github.com/googleapis/google-cloud-python/issues/18178#event-30186337290
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
on Sep 4, 2026https://github.com/googleapis/google-cloud-python/issues/18178#issuecomment-5546324173
#18295https://github.com/googleapis/google-cloud-python/pull/18295
#17489https://github.com/googleapis/google-cloud-python/pull/17489
https://github.com/evgeniy-b
evgeniy-bhttps://github.com/evgeniy-b
on Oct 13, 2026https://github.com/googleapis/google-cloud-python/issues/18178#issuecomment-6151756583
@daniel-sanchehttps://github.com/daniel-sanche
Sign up for freehttps://github.com/signup?return_to=https://github.com/googleapis/google-cloud-python/issues/18178
Sign in to commenthttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18178
daniel-sanchehttps://github.com/daniel-sanche
api: bigqueryIssues related to the BigQuery API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%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.