Pub/Sub: logs littered with "The bidirectional RPC exited". #8803
Labels
api: core
api: pubsub
Issues related to the Pub/Sub API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I am creating subscriptions to PubSub topics and reading messages from those subscriptions into queues. This is done interactively in a Jupyter notebook, so subscriptions can be created and destroyed repeatedly. In about ~20% of cases, I end up getting an error message logged to the console saying
ERROR:google.api_core.bidi:The bidirectional RPC exited.
However, I do not see that I am doing anything wrong?Looking at the code where the error messages are emitted, it does not seem that anything pathological is going on. Maybe the severity of this error message should be reduced from
_LOGGER.error("The bidirectional RPC exited.")
to_LOGGER.info(...)
or_LOGGER.debug(...)
?Environment details
Debian GNU/Linux rodete
Python 2.7.15
google-cloud-core=1.0.2
google-cloud-pubsub=0.41.1
Steps to reproduce
Run the following code snippet multiple times. Some of the times we get the error message
ERROR:google.api_core.bidi:The bidirectional RPC exited
.Code example
Stack trace
The text was updated successfully, but these errors were encountered: