René's URL Explorer Experiment


Title: Intermittent Cloud Datastore Error: Unauthorized: 401 ... Unable to find the server at accounts.google.com · Issue #3085 · googleapis/google-cloud-python · GitHub

Open Graph Title: Intermittent Cloud Datastore Error: Unauthorized: 401 ... Unable to find the server at accounts.google.com · Issue #3085 · googleapis/google-cloud-python

X Title: Intermittent Cloud Datastore Error: Unauthorized: 401 ... Unable to find the server at accounts.google.com · Issue #3085 · googleapis/google-cloud-python

Description: I am getting regular, but intermittent errors when using GCL to read from the datastore. The stacktrace is below. I am running Python 2.7 on Ubuntu. I get this error only occasionally when I call the get_multi function. It is intermitten...

Open Graph Description: I am getting regular, but intermittent errors when using GCL to read from the datastore. The stacktrace is below. I am running Python 2.7 on Ubuntu. I get this error only occasionally when I call t...

X Description: I am getting regular, but intermittent errors when using GCL to read from the datastore. The stacktrace is below. I am running Python 2.7 on Ubuntu. I get this error only occasionally when I call t...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Intermittent Cloud Datastore Error: Unauthorized: 401 ... Unable to find the server at accounts.google.com","articleBody":"I am getting regular, but intermittent errors when using GCL to read from the datastore. The stacktrace is below. I am running Python 2.7 on Ubuntu. \r\n\r\nI get this error only occasionally when I call the `get_multi` function. It is intermittent and looks like it could be a network error based on the very last line (`Unable to find the server at accounts.google.com.`). I am making thousands of calls to the datastore, and while this occurs only a small percent of the time, it occurs with pretty heavy regularity (about once a minute).\r\n\r\n```\r\n File \"/home/speedplane/DA/djangoappengine/db_gcl/compiler.py\", line 349, in get_matching_pk\r\n    self.client.get_multi(self.included_pks, **config)\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/cloud/datastore/client.py\", line 307, in get_multi\r\n    transaction_id=transaction and transaction.id,\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/cloud/datastore/client.py\", line 124, in _extended_lookup\r\n    transaction_id=transaction_id,\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/cloud/datastore/_http.py\", line 519, in lookup\r\n    lookup_response = self._datastore_api.lookup(project, lookup_request)\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/cloud/datastore/_http.py\", line 304, in lookup\r\n    return self._stub.Lookup(request_pb)\r\n  File \"/usr/lib/python2.7/contextlib.py\", line 35, in __exit__\r\n    self.gen.throw(type, value, traceback)\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/cloud/datastore/_http.py\", line 260, in _grpc_catch_rendezvous\r\n    raise error_class(exc.details())\r\nUnauthorized: 401 Traceback (most recent call last):.  File \"src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi\", line 154, in grpc._cython.cygrpc.plugin_get_metadata (src/python/grpcio/grpc/_cython/cygrpc.c:6918).  File \"/usr/local/lib/python2.7/dist-packages/grpc/_plugin_wrapping.py\", line 107, in __call__.    AuthMetadataPluginCallback(wrapped_cygrpc_callback)).  File \"/usr/local/lib/python2.7/dist-packages/google/auth/transport/grpc.py\", line 65, in __call__.    callback(self._get_authorization_headers(), None).  File \"/usr/local/lib/python2.7/dist-packages/google/auth/transport/grpc.py\", line 51, in _get_authorization_headers.    self._credentials.refresh(self._request).  File \"/usr/local/lib/python2.7/dist-packages/google/oauth2/service_account.py\", line 313, in refresh.    request, self._token_uri, assertion).  File \"/usr/local/lib/python2.7/dist-packages/google/oauth2/_client.py\", line 143, in jwt_grant.    response_data = _token_endpoint_request(request, token_uri, body).  File \"/usr/local/lib/python2.7/dist-packages/google/oauth2/_client.py\", line 104, in _token_endpoint_request.    method='POST', url=token_uri, headers=headers, body=body).  File \"/usr/local/lib/python2.7/dist-packages/google_auth_httplib2.py\", line 119, in __call__.    raise exceptions.TransportError(exc).TransportError: Unable to find the server at accounts.google.com.\r\n```\r\n\r\nThat last line in the stacktrace above has its own stacktrace built-in. I've expanded it below for ease of reading:\r\n\r\n```\r\nUnauthorized: 401 Traceback (most recent call last):.\r\n  File \"src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi\", line 154, in grpc._cython.cygrpc.plugin_get_metadata (src/python/grpcio/grpc/_cython/cygrpc.c:6918).\r\n  File \"/usr/local/lib/python2.7/dist-packages/grpc/_plugin_wrapping.py\", line 107, in __call__.\r\n    AuthMetadataPluginCallback(wrapped_cygrpc_callback)).\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/auth/transport/grpc.py\", line 65, in __call__.\r\n    callback(self._get_authorization_headers(), None).\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/auth/transport/grpc.py\", line 51, in _get_authorization_headers.\r\n    self._credentials.refresh(self._request).\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/oauth2/service_account.py\", line 313, in refresh.\r\n    request, self._token_uri, assertion).\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/oauth2/_client.py\", line 143, in jwt_grant.\r\n    response_data = _token_endpoint_request(request, token_uri, body).\r\n  File \"/usr/local/lib/python2.7/dist-packages/google/oauth2/_client.py\", line 104, in _token_endpoint_request.\r\n    method='POST', url=token_uri, headers=headers, body=body).\r\n  File \"/usr/local/lib/python2.7/dist-packages/google_auth_httplib2.py\", line 119, in __call__.\r\n    raise exceptions.TransportError(exc).TransportError: Unable to find the server at accounts.google.com.\r\n```\r\n\r\nI am running this within a Docker container orchestrated by Kubernetes. My Dockerfile inherits from `ubuntu:trusty`. Below is version information:\r\n```\r\n# lsb_release\r\nLSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch\r\n# python --version\r\nPython 2.7.6\r\n```","author":{"url":"https://github.com/speedplane","@type":"Person","name":"speedplane"},"datePublished":"2017-03-01T00:54:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/3085/google-cloud-python/issues/3085"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4e465148-9a10-2524-8f6d-996706205049
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8FF2:1C418C:24E74C4:351F8D0:6A4D18C5
html-safe-nonce8916190bc07457d5c94fd999ca574bd13df4decdfcf9d4982c503570d05a0d47
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkYyOjFDNDE4QzoyNEU3NEM0OjM1MUY4RDA6NkE0RDE4QzUiLCJ2aXNpdG9yX2lkIjoiODkyNzgwMDA0Mjk1OTIxNDc4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac324ff203584f797272470f180850900eee931b1103522db695910cebbd03d9fa
hovercard-subject-tagissue:210948402
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/3085/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8b2abd4bac7f8eff70e4fc9842c205c3a2bfee764276023c7d61c60620f21f24/googleapis/google-cloud-python/issues/3085
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8b2abd4bac7f8eff70e4fc9842c205c3a2bfee764276023c7d61c60620f21f24/googleapis/google-cloud-python/issues/3085
og:image:altI am getting regular, but intermittent errors when using GCL to read from the datastore. The stacktrace is below. I am running Python 2.7 on Ubuntu. I get this error only occasionally when I call t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamespeedplane
hostnamegithub.com
expected-hostnamegithub.com
Nonebcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c
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
releasefb70bd3c4b2bec429781b65419e912c66e2d5581
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/issues/3085#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F3085
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F3085
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=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/issues/3085
Reloadhttps://github.com/googleapis/google-cloud-python/issues/3085
Reloadhttps://github.com/googleapis/google-cloud-python/issues/3085
Please reload this pagehttps://github.com/googleapis/google-cloud-python/issues/3085
googleapis https://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python
Fork 1.7k https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python
Star 5.3k https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python
Code https://github.com/googleapis/google-cloud-python
Issues 437 https://github.com/googleapis/google-cloud-python/issues
Pull requests 128 https://github.com/googleapis/google-cloud-python/pulls
Discussions https://github.com/googleapis/google-cloud-python/discussions
Actions https://github.com/googleapis/google-cloud-python/actions
Projects https://github.com/googleapis/google-cloud-python/projects
Security and quality 0 https://github.com/googleapis/google-cloud-python/security
Insights https://github.com/googleapis/google-cloud-python/pulse
Code https://github.com/googleapis/google-cloud-python
Issues https://github.com/googleapis/google-cloud-python/issues
Pull requests https://github.com/googleapis/google-cloud-python/pulls
Discussions https://github.com/googleapis/google-cloud-python/discussions
Actions https://github.com/googleapis/google-cloud-python/actions
Projects https://github.com/googleapis/google-cloud-python/projects
Security and quality https://github.com/googleapis/google-cloud-python/security
Insights https://github.com/googleapis/google-cloud-python/pulse
Intermittent Cloud Datastore Error: Unauthorized: 401 ... Unable to find the server at accounts.google.comhttps://github.com/googleapis/google-cloud-python/issues/3085#top
https://github.com/lukesneeringer
api: datastoreIssues related to the Datastore API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20datastore%22
https://github.com/speedplane
speedplanehttps://github.com/speedplane
on Mar 1, 2017https://github.com/googleapis/google-cloud-python/issues/3085#issue-210948402
lukesneeringerhttps://github.com/lukesneeringer
api: datastoreIssues related to the Datastore API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20datastore%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.