Title: Thread-ConsumeBidirectionalStream caught unexpected exception 'NoneType' object has no attribute 'Call' and will exit · Issue #309 · googleapis/python-api-core · GitHub
Open Graph Title: Thread-ConsumeBidirectionalStream caught unexpected exception 'NoneType' object has no attribute 'Call' and will exit · Issue #309 · googleapis/python-api-core
X Title: Thread-ConsumeBidirectionalStream caught unexpected exception 'NoneType' object has no attribute 'Call' and will exit · Issue #309 · googleapis/python-api-core
Description: Environment details OS type and version: FROM python:3.7.9-slim-stretch Python version: python --version 3.7.9 pip version: pip --version 20.2 google-api-core version: pip show google-api-core 2.2.2 Steps to reproduce Make a Subscriber u...
Open Graph Description: Environment details OS type and version: FROM python:3.7.9-slim-stretch Python version: python --version 3.7.9 pip version: pip --version 20.2 google-api-core version: pip show google-api-core 2.2....
X Description: Environment details OS type and version: FROM python:3.7.9-slim-stretch Python version: python --version 3.7.9 pip version: pip --version 20.2 google-api-core version: pip show google-api-core 2.2....
Opengraph URL: https://github.com/googleapis/python-api-core/issues/309
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Thread-ConsumeBidirectionalStream caught unexpected exception 'NoneType' object has no attribute 'Call' and will exit","articleBody":"\r\n#### Environment details\r\n\r\n - OS type and version:\r\n - `FROM python:3.7.9-slim-stretch`\r\n - Python version: `python --version`\r\n - `3.7.9`\r\n - pip version: `pip --version`\r\n - `20.2`\r\n - `google-api-core` version: `pip show google-api-core`\r\n - `2.2.2`\r\n\r\n#### Steps to reproduce\r\n\r\n 1. Make a `Subscriber` using `google-cloud-pubsub 2.9.0`\r\n 2. await new messages\r\n 3. After 30 minutes you get the unexpected exception\r\n\r\n#### Stack trace\r\n```\r\nThread-ConsumeBidirectionalStream caught unexpected exception 'NoneType' object has no attribute 'Call' and will exit.\r\n\r\nTraceback (most recent call last):\r\n File \"/root/.local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py\", line 106, in __next__\r\n return next(self._wrapped)\r\n File \"/root/.local/lib/python3.7/site-packages/grpc/_channel.py\", line 426, in __next__\r\n return self._next()\r\n File \"/root/.local/lib/python3.7/site-packages/grpc/_channel.py\", line 826, in _next\r\n raise self\r\ngrpc._channel._MultiThreadedRendezvous: \u003c_MultiThreadedRendezvous of RPC that terminated with:\r\n status = StatusCode.INTERNAL\r\n details = \"Received RST_STREAM with error code 2\"\r\n debug_error_string = \"{\"created\":\"@1637058210.761422301\",\"description\":\"Error received from peer ipv4:173.194.210.95:443\",\"file\":\"src/core/lib/surface/call.cc\",\"file_line\":1069,\"grpc_message\":\"Received RST_STREAM with error code 2\",\"grpc_status\":13}\"\r\n \r\n \r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"/root/.local/lib/python3.7/site-packages/google/api_core/bidi.py\", line 655, in _thread_main\r\n response = self._bidi_rpc.recv()\r\n File \"/root/.local/lib/python3.7/site-packages/google/api_core/bidi.py\", line 561, in recv\r\n return self._recoverable(self._recv)\r\n File \"/root/.local/lib/python3.7/site-packages/google/api_core/bidi.py\", line 520, in _recoverable\r\n raise exc\r\n File \"/root/.local/lib/python3.7/site-packages/google/api_core/bidi.py\", line 504, in _recoverable\r\n return method(*args, **kwargs)\r\n File \"/root/.local/lib/python3.7/site-packages/google/api_core/bidi.py\", line 558, in _recv\r\n return next(call)\r\n File \"/root/.local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py\", line 109, in __next__\r\n raise exceptions.from_grpc_error(exc) from exc\r\n File \"/root/.local/lib/python3.7/site-packages/google/api_core/exceptions.py\", line 532, in from_grpc_error\r\n if isinstance(rpc_exc, grpc.Call) or _is_informative_grpc_error(rpc_exc):\r\nAttributeError: 'NoneType' object has no attribute 'Call'\"\r\n```","author":{"url":"https://github.com/orby","@type":"Person","name":"orby"},"datePublished":"2021-11-16T13:19:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/309/python-api-core/issues/309"}
| 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:0ee06e48-cc7d-c1ba-4283-d39111bc2922 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8996:6474B:55C9A0:75746B:6A4DCB7A |
| html-safe-nonce | f7c89687e28a53852f5f5a3f0808fce1aaf580bac34789e367fd0324dfd10a6a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTk2OjY0NzRCOjU1QzlBMDo3NTc0NkI6NkE0RENCN0EiLCJ2aXNpdG9yX2lkIjoiODQ2NDUwNDIxMzEyMzc1Njc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fd97260c021db75e9380b443399d46f6b5702fbbf1fa382d8f90d7265ff15b86 |
| hovercard-subject-tag | issue:1054873196 |
| 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/309/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2f8acbb19806d0e5876edd74177e9c06ac5c622b138a457f4e8290329392ce2a/googleapis/python-api-core/issues/309 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2f8acbb19806d0e5876edd74177e9c06ac5c622b138a457f4e8290329392ce2a/googleapis/python-api-core/issues/309 |
| og:image:alt | Environment details OS type and version: FROM python:3.7.9-slim-stretch Python version: python --version 3.7.9 pip version: pip --version 20.2 google-api-core version: pip show google-api-core 2.2.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | orby |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width