Title: Application Default Credentials fail sporadically on GCE · Issue #2314 · googleapis/google-cloud-python · GitHub
Open Graph Title: Application Default Credentials fail sporadically on GCE · Issue #2314 · googleapis/google-cloud-python
X Title: Application Default Credentials fail sporadically on GCE · Issue #2314 · googleapis/google-cloud-python
Description: I'm using an GCE instance with scope cloud-platform to get multiple entities from datastore, but sometimes this error happens: Traceback (most recent call last): File "main.py", line 85, in get_entities r = ds_client.get_multi(data) File...
Open Graph Description: I'm using an GCE instance with scope cloud-platform to get multiple entities from datastore, but sometimes this error happens: Traceback (most recent call last): File "main.py", line 85, in get_ent...
X Description: I'm using an GCE instance with scope cloud-platform to get multiple entities from datastore, but sometimes this error happens: Traceback (most recent call last): File "main.py", line ...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/2314
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Application Default Credentials fail sporadically on GCE","articleBody":"I'm using an GCE instance with scope cloud-platform to get multiple entities from datastore, but **sometimes** this error happens:\n\n``` python\nTraceback (most recent call last):\n File \"main.py\", line 85, in get_entities\n r = ds_client.get_multi(data)\n File \"/opt/python3/lib/python3.4/site-packages/gcloud/datastore/client.py\", line 301, in get_multi\n transaction_id=transaction and transaction.id,\n File \"/opt/python3/lib/python3.4/site-packages/gcloud/datastore/client.py\", line 123, in _extended_lookup\n transaction_id=transaction_id,\n File \"/opt/python3/lib/python3.4/site-packages/gcloud/datastore/connection.py\", line 209, in lookup\n _datastore_pb2.LookupResponse)\n File \"/opt/python3/lib/python3.4/site-packages/gcloud/datastore/connection.py\", line 124, in _rpc\n data=request_pb.SerializeToString())\n File \"/opt/python3/lib/python3.4/site-packages/gcloud/datastore/connection.py\", line 93, in _request\n method='POST', headers=headers, body=data)\n File \"/opt/python3/lib/python3.4/site-packages/oauth2client/transport.py\", line 153, in new_request\n credentials._refresh(orig_request_method)\n File \"/opt/python3/lib/python3.4/site-packages/oauth2client/contrib/gce.py\", line 134, in _refresh\n self._retrieve_info(http_request)\n File \"/opt/python3/lib/python3.4/site-packages/oauth2client/contrib/gce.py\", line 117, in _retrieve_info\n self.service_account_email = info['email']\nKeyError: 'email'\n```\n\nds_client = gcloud.datastore.Client()\ngcloud version= 0.18.1\n","author":{"url":"https://github.com/matheuspatury","@type":"Person","name":"matheuspatury"},"datePublished":"2016-09-14T02:50:04Z","url":"https://github.com/googleapis/google-cloud-python/issues/2314"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aa7ad237-d29f-33fc-92c7-2c9ecfc9fca6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8138:6DAA1:10448C:1661E9:6AFDF816 |
| html-safe-nonce | 357561a742a9540a5f76cf1eaac59c05b1a5bc18b9e9c11d8eb7c0dfe8ab3def |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTM4OjZEQUExOjEwNDQ4QzoxNjYxRTk6NkFGREY4MTYiLCJ2aXNpdG9yX2lkIjoiODM3MjM4NDc5MzYyNjU0MDA1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ef0ece5e16f927c0741b0a9425f305b75f4205e26e368dd8016f2cab09ff519e |
| hovercard-subject-tag | issue:176801321 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/2314/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8ce4d0973b69cc4b21795a38eee11af431681156b057dba5200a0e8be72a88a4/googleapis/google-cloud-python/issues/2314 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ce4d0973b69cc4b21795a38eee11af431681156b057dba5200a0e8be72a88a4/googleapis/google-cloud-python/issues/2314 |
| og:image:alt | I'm using an GCE instance with scope cloud-platform to get multiple entities from datastore, but sometimes this error happens: Traceback (most recent call last): File "main.py", line 85, in get_ent... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | matheuspatury |
| hostname | github.com |
| expected-hostname | github.com |
| None | ee3343385a977757dd145b28fabf4a119780f2615a5a36c5a89f66c9b3b5616d |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 43ae91995f6e2d5ff7a491f3de438f1f723adeaa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width