-
Notifications
You must be signed in to change notification settings - Fork 81
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
Ping-related error: "session has been destroyed" #1143
Comments
Looks like one way to avoid this is to just check for the |
@srikrsna-buf I presume your comment is a note on how to fix this issue internally to the connect-es library. Yeah? |
@srikrsna-buf following up here |
Hey! I can't seem to reproduce this error. How often are you seeing this? Can you share a runnable code that can reproduce the error? |
Thanks for looking at this again. |
Closing, but please feel free to re-open with a reproducible example. |
Describe the bug
The following error can be thrown when using pings on a grpc transport when the connection is closed:
To Reproduce
Setup a grpc transport and use it for long lived streaming.
Environment:
1.4.0
1.4.0
20.12.2
Additional context
Speculation:
If a stream cancellation happens, it looks like some race condition can result in the ping task executing against a closed http/2 session, causing the error. Just before the error I often see messages like:
The text was updated successfully, but these errors were encountered: