Title: 1.17.0 breaking pubsub · Issue #25 · googleapis/python-api-core · GitHub
Open Graph Title: 1.17.0 breaking pubsub · Issue #25 · googleapis/python-api-core
X Title: 1.17.0 breaking pubsub · Issue #25 · googleapis/python-api-core
Description: Hi all, Just a heads-up - 1.17.0 appears to be breaking the current pubsub client. Lots of time spent debugging this, hopefully it will help some other poor bastards out there: DEBUG:google.api_core.retry:Retrying due to 503 The service ...
Open Graph Description: Hi all, Just a heads-up - 1.17.0 appears to be breaking the current pubsub client. Lots of time spent debugging this, hopefully it will help some other poor bastards out there: DEBUG:google.api_cor...
X Description: Hi all, Just a heads-up - 1.17.0 appears to be breaking the current pubsub client. Lots of time spent debugging this, hopefully it will help some other poor bastards out there: DEBUG:google.api_cor...
Opengraph URL: https://github.com/googleapis/python-api-core/issues/25
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"1.17.0 breaking pubsub","articleBody":"Hi all,\r\nJust a heads-up - 1.17.0 appears to be breaking the current pubsub client. Lots of time spent debugging this, hopefully it will help some other poor bastards out there:\r\n\r\n ```\r\nDEBUG:google.api_core.retry:Retrying due to 503 The service was unable to fulfill your request. Please try again. [code=8a75], sleeping 0.2s ...\r\n ERROR:grpc._channel:Exception iterating requests!\r\n Traceback (most recent call last):\r\n File \"/usr/local/lib/python3.7/site-packages/grpc/_channel.py\", line 195, in consume_request_iterator\r\n request = next(request_iterator)\r\n ValueError: generator already executing\r\n DEBUG:google.api_core.bidi:Thread-ConsumeBidirectionalStream caught error None Exception iterating requests! and will exit. Generally this is due to the RPC itself being cancelled and the error will be surfaced to the calling code.\r\n Traceback (most recent call last):\r\n File \"/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py\", line 144, in error_remapped_callable\r\n return _StreamingResponseIterator(result)\r\n File \"/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py\", line 72, in __init__\r\n self._stored_first_result = six.next(self._wrapped)\r\n File \"/usr/local/lib/python3.7/site-packages/grpc/_channel.py\", line 416, in __next__\r\n return self._next()\r\n File \"/usr/local/lib/python3.7/site-packages/grpc/_channel.py\", line 706, in _next\r\n raise self\r\n grpc._channel._MultiThreadedRendezvous: \u003c_MultiThreadedRendezvous of RPC that terminated with:\r\n status = StatusCode.UNKNOWN\r\n details = \"Exception iterating requests!\"\r\n debug_error_string = \"None\"\r\n \u003e\r\n The above exception was the direct cause of the following exception:\r\n Traceback (most recent call last):\r\n File \"/usr/local/lib/python3.7/site-packages/google/api_core/bidi.py\", line 637, in _thread_main\r\n self._bidi_rpc.open()\r\n File \"/usr/local/lib/python3.7/site-packages/google/api_core/bidi.py\", line 280, in open\r\n call = self._start_rpc(iter(request_generator), metadata=self._rpc_metadata)\r\n File \"/usr/local/lib/python3.7/site-packages/google/cloud/pubsub_v1/gapic/subscriber_client.py\", line 1076, in streaming_pull\r\n requests, retry=retry, timeout=timeout, metadata=metadata\r\n File \"/usr/local/lib/python3.7/site-packages/google/api_core/gapic_v1/method.py\", line 143, in __call__\r\n return wrapped_func(*args, **kwargs)\r\n File \"/usr/local/lib/python3.7/site-packages/google/api_core/retry.py\", line 286, in retry_wrapped_func\r\n on_error=on_error,\r\n File \"/usr/local/lib/python3.7/site-packages/google/api_core/retry.py\", line 184, in retry_target\r\n return target()\r\n File \"/usr/local/lib/python3.7/site-packages/google/api_core/timeout.py\", line 214, in func_with_timeout\r\n return func(*args, **kwargs)\r\n File \"/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py\", line 146, in error_remapped_callable\r\n six.raise_from(exceptions.from_grpc_error(exc), exc)\r\n File \"\u003cstring\u003e\", line 3, in raise_from\r\n google.api_core.exceptions.Unknown: None Exception iterating requests!\r\n INFO:google.api_core.bidi:Thread-ConsumeBidirectionalStream exiting\r\n INFO:google.cloud.pubsub_v1.subscriber._protocol.heartbeater:Thread-Heartbeater exiting.\r\n INFO:google.cloud.pubsub_v1.subscriber._protocol.leaser:Thread-LeaseMaintainer exiting.\r\n```\r\n\r\nPinning to 1.16.0 in requirements.txt fixes the issue.","author":{"url":"https://github.com/bill-within","@type":"Person","name":"bill-within"},"datePublished":"2020-04-15T20:25:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/25/python-api-core/issues/25"}
| 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:52f5c6b1-caad-c9da-5287-cac313c7fdc4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 83CE:951F5:24A39E6:350781C:6A4D172C |
| html-safe-nonce | 2f46f66d9aed6e0f0963ac6b4d8618f50786076ab73511b02dfc93008a92a5ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0NFOjk1MUY1OjI0QTM5RTY6MzUwNzgxQzo2QTREMTcyQyIsInZpc2l0b3JfaWQiOiI2Nzg2MjgyMDQ4Njk4NzgzNTMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8c7ec83a2a33cba2fa5449ca7eaf13c6b12eeab0624835d59d34ff6f7f488182 |
| hovercard-subject-tag | issue:600566569 |
| 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/python-api-core/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/835fac39a1bb5b3448bea04af421ff29e978d42edd366e5249f9c21a956b616b/googleapis/python-api-core/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/835fac39a1bb5b3448bea04af421ff29e978d42edd366e5249f9c21a956b616b/googleapis/python-api-core/issues/25 |
| og:image:alt | Hi all, Just a heads-up - 1.17.0 appears to be breaking the current pubsub client. Lots of time spent debugging this, hopefully it will help some other poor bastards out there: DEBUG:google.api_cor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bill-within |
| hostname | github.com |
| expected-hostname | github.com |
| None | bcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992456 |
| octolytics-dimension-repository_nwo | googleapis/python-api-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992456 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-api-core |
| 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 | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width