Title: pubsub frequently raises a gax DEADLINE_EXCEEDED error · Issue #2993 · googleapis/google-cloud-python · GitHub
Open Graph Title: pubsub frequently raises a gax DEADLINE_EXCEEDED error · Issue #2993 · googleapis/google-cloud-python
X Title: pubsub frequently raises a gax DEADLINE_EXCEEDED error · Issue #2993 · googleapis/google-cloud-python
Description: Debian Jessie, Python 2.7 and 3.4 Stacktrace: tests/test_storage.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py34/lib/python3.4/site-packages/werkzeug/test.py:788: in post return self.open(...
Open Graph Description: Debian Jessie, Python 2.7 and 3.4 Stacktrace: tests/test_storage.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py34/lib/python3.4/site-packages/werkzeu...
X Description: Debian Jessie, Python 2.7 and 3.4 Stacktrace: tests/test_storage.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py34/lib/python3.4/site-packages/werkzeu...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/2993
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pubsub frequently raises a gax DEADLINE_EXCEEDED error","articleBody":"Debian Jessie, Python 2.7 and 3.4\r\n\r\nStacktrace:\r\n```python\r\ntests/test_storage.py:44: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n.tox/py34/lib/python3.4/site-packages/werkzeug/test.py:788: in post\r\n return self.open(*args, **kw)\r\n.tox/py34/lib/python3.4/site-packages/flask/testing.py:113: in open\r\n follow_redirects=follow_redirects)\r\n.tox/py34/lib/python3.4/site-packages/werkzeug/test.py:751: in open\r\n response = self.run_wsgi_app(environ, buffered=buffered)\r\n.tox/py34/lib/python3.4/site-packages/werkzeug/test.py:668: in run_wsgi_app\r\n rv = run_wsgi_app(self.application, environ, buffered=buffered)\r\n.tox/py34/lib/python3.4/site-packages/werkzeug/test.py:871: in run_wsgi_app\r\n app_rv = app(environ, start_response)\r\n.tox/py34/lib/python3.4/site-packages/flask/app.py:2000: in __call__\r\n return self.wsgi_app(environ, start_response)\r\n.tox/py34/lib/python3.4/site-packages/flask/app.py:1991: in wsgi_app\r\n response = self.make_response(self.handle_exception(e))\r\n.tox/py34/lib/python3.4/site-packages/flask/app.py:1567: in handle_exception\r\n reraise(exc_type, exc_value, tb)\r\n.tox/py34/lib/python3.4/site-packages/flask/_compat.py:33: in reraise\r\n raise value\r\n.tox/py34/lib/python3.4/site-packages/flask/app.py:1988: in wsgi_app\r\n response = self.full_dispatch_request()\r\n.tox/py34/lib/python3.4/site-packages/flask/app.py:1641: in full_dispatch_request\r\n rv = self.handle_user_exception(e)\r\n.tox/py34/lib/python3.4/site-packages/flask/app.py:1544: in handle_user_exception\r\n reraise(exc_type, exc_value, tb)\r\n.tox/py34/lib/python3.4/site-packages/flask/_compat.py:33: in reraise\r\n raise value\r\n.tox/py34/lib/python3.4/site-packages/flask/app.py:1639: in full_dispatch_request\r\n rv = self.dispatch_request()\r\n.tox/py34/lib/python3.4/site-packages/flask/app.py:1625: in dispatch_request\r\n return self.view_functions[rule.endpoint](**req.view_args)\r\nbookshelf/crud.py:99: in add\r\n q = tasks.get_books_queue()\r\nbookshelf/tasks.py:34: in get_books_queue\r\n client, 'books', extra_context=current_app.app_context)\r\n.tox/py34/lib/python3.4/site-packages/psq/queue.py:41: in __init__\r\n self.topic = self._get_or_create_topic()\r\n.tox/py34/lib/python3.4/site-packages/psq/queue.py:51: in _get_or_create_topic\r\n if not topic.exists():\r\n.tox/py34/lib/python3.4/site-packages/google/cloud/pubsub/topic.py:179: in exists\r\n api.topic_get(topic_path=self.full_name)\r\n.tox/py34/lib/python3.4/site-packages/google/cloud/pubsub/_gax.py:126: in topic_get\r\n topic_pb = self._gax_api.get_topic(topic_path)\r\n.tox/py34/lib/python3.4/site-packages/google/cloud/gapic/pubsub/v1/publisher_client.py:315: in get_topic\r\n return self._get_topic(request, options)\r\n.tox/py34/lib/python3.4/site-packages/google/gax/api_callable.py:481: in inner\r\n return api_caller(api_call, this_settings, request)\r\n.tox/py34/lib/python3.4/site-packages/google/gax/api_callable.py:469: in base_caller\r\n return api_call(*args)\r\n.tox/py34/lib/python3.4/site-packages/google/gax/api_callable.py:434: in inner\r\n errors.create_error('RPC failed', cause=exception))\r\n.tox/py34/lib/python3.4/site-packages/future/utils/__init__.py:419: in raise_with_traceback\r\n raise exc.with_traceback(traceback)\r\n.tox/py34/lib/python3.4/site-packages/google/gax/api_callable.py:430: in inner\r\n return a_func(*args, **kwargs)\r\n.tox/py34/lib/python3.4/site-packages/google/gax/api_callable.py:64: in inner\r\n return a_func(*updated_args, **kwargs)\r\n.tox/py34/lib/python3.4/site-packages/grpc/_channel.py:481: in __call__\r\n return _end_unary_response_blocking(state, False, deadline)\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n\r\nstate = \u003cgrpc._channel._RPCState object at 0x7fb3c4117c88\u003e, with_call = False\r\ndeadline = 1486607618.4266632\r\n\r\n def _end_unary_response_blocking(state, with_call, deadline):\r\n if state.code is grpc.StatusCode.OK:\r\n if with_call:\r\n rendezvous = _Rendezvous(state, None, None, deadline)\r\n return state.response, rendezvous\r\n else:\r\n return state.response\r\n else:\r\n\u003e raise _Rendezvous(state, None, None, deadline)\r\nE google.gax.errors.GaxError: GaxError(RPC failed, caused by \u003c_Rendezvous of RPC that terminated with (StatusCode.DEADLINE_EXCEEDED, Deadline Exceeded)\u003e)\r\n\r\n.tox/py34/lib/python3.4/site-packages/grpc/_channel.py:432: GaxError\r\n```\r\n\r\ntest code is [here](https://github.com/GoogleCloudPlatform/getting-started-python/blob/623f4fd00810925c1babf279d3d6f8e4d33bf696/6-pubsub/tests/test_storage.py)","author":{"url":"https://github.com/theacodes","@type":"Person","name":"theacodes"},"datePublished":"2017-02-09T17:19:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/2993/google-cloud-python/issues/2993"}
| 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:894b18e0-a57e-6c64-69b2-983c06ef6a79 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A0E:2B6CAA:7B7260:A8E6DA:6A4DB3D0 |
| html-safe-nonce | 0d8ce77eed18c17c560aded539cece78120e958f1bc092372cf7246803d5a10f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTBFOjJCNkNBQTo3QjcyNjA6QThFNkRBOjZBNERCM0QwIiwidmlzaXRvcl9pZCI6IjI4MzQyNTY1OTEyMjU0Njc4NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 767d5d85e3a15405a0c550f43d28c3a778f980061b5cd9ee27dcda5974db09e3 |
| hovercard-subject-tag | issue:206570629 |
| 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/2993/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46a7b4e3d0d0c2c1628db96d9da7aee3d4650d665d7a04c095947e59822b22f1/googleapis/google-cloud-python/issues/2993 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46a7b4e3d0d0c2c1628db96d9da7aee3d4650d665d7a04c095947e59822b22f1/googleapis/google-cloud-python/issues/2993 |
| og:image:alt | Debian Jessie, Python 2.7 and 3.4 Stacktrace: tests/test_storage.py:44: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py34/lib/python3.4/site-packages/werkzeu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | theacodes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 32f7b614aca06e6bbd89842b1370df1328264f68 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width