Title: Firestore: what possible cause of this exception: InternalServerError: 500 Received RST_STREAM with error code 0 · Issue #282 · firebase/firebase-admin-python · GitHub
Open Graph Title: Firestore: what possible cause of this exception: InternalServerError: 500 Received RST_STREAM with error code 0 · Issue #282 · firebase/firebase-admin-python
X Title: Firestore: what possible cause of this exception: InternalServerError: 500 Received RST_STREAM with error code 0 · Issue #282 · firebase/firebase-admin-python
Description: [READ] Step 1: Are you in the right place? For issues or feature requests related to the code in this repository file a Github issue. If this is a feature request make sure the issue title starts with "FR:". For general technical questio...
Open Graph Description: [READ] Step 1: Are you in the right place? For issues or feature requests related to the code in this repository file a Github issue. If this is a feature request make sure the issue title starts w...
X Description: [READ] Step 1: Are you in the right place? For issues or feature requests related to the code in this repository file a Github issue. If this is a feature request make sure the issue title starts w...
Opengraph URL: https://github.com/firebase/firebase-admin-python/issues/282
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Firestore: what possible cause of this exception: InternalServerError: 500 Received RST_STREAM with error code 0","articleBody":"### [READ] Step 1: Are you in the right place?\r\n\r\n * For issues or feature requests related to __the code in this repository__\r\n file a Github issue.\r\n * If this is a __feature request__ make sure the issue title starts with \"FR:\".\r\n * For general technical questions, post a question on [StackOverflow](http://stackoverflow.com/)\r\n with the firebase tag.\r\n * For general Firebase discussion, use the [firebase-talk](https://groups.google.com/forum/#!forum/firebase-talk)\r\n google group.\r\n * For help troubleshooting your application that does not fall under one\r\n of the above categories, reach out to the personalized\r\n [Firebase support channel](https://firebase.google.com/support/).\r\n\r\n### [REQUIRED] Step 2: Describe your environment\r\n\r\n * Operating System version: _Ubuntu 18.04 + openerp 7____\r\n * Firebase SDK version: _____\r\n * Library version: _from pip freeze:\r\n`firebase-admin==2.16.0\r\nfuncsigs==1.0.2\r\nfuture==0.16.0\r\nfutures==3.2.0\r\ngax-google-logging-v2==0.8.3\r\ngax-google-pubsub-v1==0.8.3\r\ngcloud==0.18.3\r\ngdata==2.0.18\r\ngoogle-api-core==1.9.0\r\ngoogle-auth==1.6.3\r\ngoogle-cloud==0.34.0\r\ngoogle-cloud-core==0.29.1\r\ngoogle-cloud-firestore==0.32.1\r\ngoogle-cloud-storage==1.15.0\r\ngoogle-gax==0.16.0\r\ngoogle-resumable-media==0.3.2\r\ngoogleapis-common-protos==1.5.9\r\ngrpc-google-logging-v2==0.11.1\r\ngrpc-google-pubsub-v1==0.11.1\r\n`\r\n * Firebase Product: _firestore____ (auth, database, storage, etc)\r\n\r\n### [REQUIRED] Step 3: Describe the problem\r\nI'm developing a system to store orders into openerp that came from a mobile app.\r\nSo I've integrated a firestore listener on a query snapshot on \"orders\" collection,\r\n`BookingAppFirestore.uniqdb.collection('orders')\r\n .where('new_order', '==', True)\r\n .where('nxscm_order_id', '==', None)\r\n .on_snapshot(self.new_orders_on_snapshot)`\r\n\r\nSometimes during the executions of my proofs I get this exception when an order is wrote on firestore and is received from the listener.\r\n\r\n#### Steps to reproduce:\r\n\r\nWhat happened? How can we make the problem occur?\r\nThis could be a description, log/console output, etc.\r\n\r\nthe exception trace from openerp log system\r\n```\r\nException in thread Thread-OnRpcTerminated:\r\nTraceback (most recent call last):\r\n File \"/usr/lib/python2.7/threading.py\", line 801, in __bootstrap_inner\r\n self.run()\r\n File \"/usr/lib/python2.7/threading.py\", line 754, in run\r\n self.__target(*self.__args, **self.__kwargs)\r\n File \"/home/nix/Sviluppo/venvs/odoo-dev/local/lib/python2.7/site-packages/google/cloud/firestore_v1/watch.py\", line 290, in close\r\n raise reason\r\nInternalServerError: 500 Received RST_STREAM with error code 0\r\n\r\n2019-04-26 10:00:50,011 9102 INFO ? google.cloud.firestore_v1.watch: RPC termination has signaled manager shutdown.\r\n2019-04-26 10:00:50,011 9102 ERROR db_dev google.api_core.bidi: Thread-ConsumeBidirectionalStream caught unexpected exception \u003c_Rendezvous of RPC that terminated with:\r\n\tstatus = StatusCode.INTERNAL\r\n\tdetails = \"Received RST_STREAM with error code 0\"\r\n\tdebug_error_string = \"{\"created\":\"@1556272850.010768238\",\"description\":\"Error received from peer\",\"file\":\"src/core/lib/surface/call.cc\",\"file_line\":1095,\"grpc_message\":\"Received RST_STREAM with error code 0\",\"grpc_status\":13}\"\r\n\u003e and will exit.\r\nTraceback (most recent call last):\r\n File \"/home/nix/Sviluppo/venvs/odoo-dev/local/lib/python2.7/site-packages/google/api_core/bidi.py\", line 543, in _thread_main\r\n response = self._bidi_rpc.recv()\r\n File \"/home/nix/Sviluppo/venvs/odoo-dev/local/lib/python2.7/site-packages/google/api_core/bidi.py\", line 454, in recv\r\n return self._recoverable(self._recv)\r\n File \"/home/nix/Sviluppo/venvs/odoo-dev/local/lib/python2.7/site-packages/google/api_core/bidi.py\", line 413, in _recoverable\r\n raise exc\r\n_Rendezvous: \u003c_Rendezvous of RPC that terminated with:\r\n\tstatus = StatusCode.INTERNAL\r\n\tdetails = \"Received RST_STREAM with error code 0\"\r\n\tdebug_error_string = \"{\"created\":\"@1556272850.010768238\",\"description\":\"Error received from peer\",\"file\":\"src/core/lib/surface/call.cc\",\"file_line\":1095,\"grpc_message\":\"Received RST_STREAM with error code 0\",\"grpc_status\":13}\"\r\n\u003e\r\n2019-04-26 10:00:50,011 9102 INFO db_dev google.api_core.bidi: Thread-ConsumeBidirectionalStream exiting\r\n```\r\n```\r\n// TODO(you): code here to reproduce the problem\r\n```\r\n","author":{"url":"https://github.com/gbonline","@type":"Person","name":"gbonline"},"datePublished":"2019-04-26T13:32:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":36},"url":"https://github.com/282/firebase-admin-python/issues/282"}
| 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:5dc993b5-ac1b-0dc3-2254-7e222ada14fd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB46:C5112:785E:9610:6A510B2A |
| html-safe-nonce | fabc3d3141e888a2fb29f6ad74399bb89707f0d1ebd93c75b986dc20bfe0dfd4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjQ2OkM1MTEyOjc4NUU6OTYxMDo2QTUxMEIyQSIsInZpc2l0b3JfaWQiOiIxMDcxMjMzMTk0Mzg5MDQxMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7e4615bac87bd256cc5b2dd71d9c741287dc6e4ba342a7a1dd2488e6005e65d7 |
| hovercard-subject-tag | issue:437674901 |
| 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/firebase/firebase-admin-python/282/issue_layout |
| twitter:image | https://opengraph.githubassets.com/01519bbabeb9801c960b63008db980140489ceee0e74a339b13e31f260a0ccf6/firebase/firebase-admin-python/issues/282 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01519bbabeb9801c960b63008db980140489ceee0e74a339b13e31f260a0ccf6/firebase/firebase-admin-python/issues/282 |
| og:image:alt | [READ] Step 1: Are you in the right place? For issues or feature requests related to the code in this repository file a Github issue. If this is a feature request make sure the issue title starts w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gbonline |
| hostname | github.com |
| expected-hostname | github.com |
| None | b076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d |
| turbo-cache-control | no-preview |
| go-import | github.com/firebase/firebase-admin-python git https://github.com/firebase/firebase-admin-python.git |
| octolytics-dimension-user_id | 1335026 |
| octolytics-dimension-user_login | firebase |
| octolytics-dimension-repository_id | 84979152 |
| octolytics-dimension-repository_nwo | firebase/firebase-admin-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 84979152 |
| octolytics-dimension-repository_network_root_nwo | firebase/firebase-admin-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 | 2d129404fc45ea64edb1b98567c53e55b395536f |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width