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
Received DATA frame for an unknown stream error #4651
Comments
Cancellation or deadline-exceeded should not cause this error. |
The stream id varies, is not always "2001". I do have multiple apps/client connected to the host though. Yeah I do see deadline exceeded on the client side but don't think it is always, so might not be necessarily related to the deadline issue. |
/cc @ejona86 , @carl-mastrangelo |
Yes, this can happen when cancellation is triggered. When the cancellation is triggered (due to the deadline) the server forgets about the stream and if there was data still in-transit, when it arrives the server won't remember the stream. (Note that the client will also be cancelling, so this message isn't guaranteed to happen; it's racy.) I think this is a dupe of #3548. That said, a fix for this problem is being worked on in netty/netty#8028 |
Closing as duplicate of #3548. |
Grpc Version: 1.13.1
Hi - We are seeing few sporadic "Received DATA frame for an unknown stream" error on server side. On the client side we are making a unary call with deadline. Is this error expected on server side when the client deadline has been exceeded?
On the server side we do check if the context hasn't been cancelled via something like:
Here's the stack trace:
The text was updated successfully, but these errors were encountered: