The client sends a keepalive ping after X time since the last read. The
server does similar. If the client receives the server's ping before it
does its own keepalive ping, that resets the "time since last read" timer;
the server's keepalive is enough for the client to know the connection is
still good.

On Mon, Jan 7, 2019 at 4:56 PM <[email protected]> wrote:

>
> Hi,
>
> I have enabled client side keepalive and also on the server side, enable
> permission to send ping via NettyServerBuilder.permitKeepAliveTime(),
>
> however, what I see from the wireshark, the keepalive ping seems to be
> initiated from server side (gRPC server listens on 9096):
>
> [image: Screen Shot 2019-01-07 at 4.29.01 PM.png]
>
>
> Any ideas why this happens ?
>
> Thanks a lot!
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/b6cca740-92f2-47b8-9c8b-d0bbadd825b1%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/b6cca740-92f2-47b8-9c8b-d0bbadd825b1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oNT%2Bs-1fsK-2sMLORzFtgHWGCbb9j1mk%2B9NviVw5yWAXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to