-
Notifications
You must be signed in to change notification settings - Fork 0
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
Client connection silent reset when moving to a different network #6
Comments
Did a little testing with this. It looks like we need to add a ping to the client.
My gut is saying go with 2 since this would allow us to ping the client from the server and clean up dead connections before trying to send a hook. |
After talking to some GRPC people from the gopher grpc slack channel, Introducing a ping doesn't actual gain us anything. The GRPC connection has a backoff strategy and will keep trying to connect to the server if the connection is lost. We can just tailer this strategy to match our needs and everything should work. The last bug is handling the error on the server when the connection has been lost, the server tries to |
Still no luck figuring out what is causing that http2Server frame read failure. I'm going to leave this ticket open as a reminder to try out some things to fix it:
|
Latest Update: Looks like the
Will get back to this thread after some experimenting. |
When switching to a different network, the client thinks it's still connected, but the servers session becomes invalid so hooks don't get sent to the client.
Maybe introduce a simple ping message from the client so it can tell when the connection is bad and needs to be reset.
The text was updated successfully, but these errors were encountered: