-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pub/Sub 0.32.0 | Exception "google.api_core.exceptions.Unknown: None Stream removed" #4989
Comments
@PicardParis is this on Raspberry Pi? |
With version 0.32.0, for the time being, I have only produced this exact issue on Win10 but previously had the same issues on both envs. I'm currently updating a Raspberry Pi and will run the same subscriber code... |
Hi @PicardParis. Could you provide your |
I haven't been getting consistent results between Windows & Raspbian (didn't get the exception so far) and didn't keep the original environments. Here is the log extract I kept on Windows:
Right now, on the Pi, if I query outdated modules, I get this > pip list -o --format=columns
Package Version Latest Type
--------------- ------- ------ -----
google-api-core 0.1.4 1.0.0 wheel Might it be the issue? I'm changing the sample code to detect potentially missed msgs and will run new tests. |
Could you post the version of grpc you're using here? Thanks for helping debug! |
Also just to confirm, you're getting errors on the raspberry pi but not on windows? |
grpc info grpc-google-iam-v1 (0.11.4)
grpcio (1.10.0) Tests so far
Tests are not consistent. No conclusion fttb. |
Thanks. I'll see if I can snag a windows laptop and repro. Let me know if you find out anything else - and again, thanks for helping debug. |
Update
|
Hi @PicardParis. Thanks for this repro, much appreciated. I wasn't able to get a windows laptop yesterday, and am out of the office today. However! We have two raspberry pi's rush ordered and should have a windows laptop on monday, so hopefully I can start digging into this soon. Sorry for the delay, hope we can figure out what's going on soon! |
In the meantime @PicardParis , if you could try running your app with |
The error could be reproduced with traces. See gist. |
Okay, after some discussion the proper thing for us to do here is retry on |
I was seeing the same error messages, but it was caused by a different bug with the latest |
Context
Subscriber console | Fails w/ exception after a random time (from 15 min to 3 h)
Publisher console | Completes as expected
> python pubsub_publish.py Messages sent: 0 + 300 Messages sent: 300 + 3000 Messages sent: 3300 + 30000 Messages sent: 33300 + 30 Messages sent: 33330 + 5 Messages sent: 33335 + 3 Messages sent: 33338 + 2 Messages sent: 33340 + 30000 Messages sent: 63340 + 3000 Messages sent: 66340 + 300 Total messages sent: 66640
Initialization
GOOGLE_CLOUD_PROJECT
PUBSUB_TOPIC
GOOGLE_CLOUD_PROJECT
&PUBSUB_TOPIC
Subscriber sample code
<pubsub_subscribe.py>
Publisher sample code
<pubsub_publish.py>
The text was updated successfully, but these errors were encountered: