On Fri, Apr 12, 2024 at 11:53 AM R Chinmay <[email protected]> wrote:

> In both cases we receive a generic log with status DEADLINE_EXCEEDED.


I see "[grpc-Java]" in the email subject. Are you actually using grpc-java?
gRPC Java provides a lot of information in the string part of the status.


> 1. Can you provide code reference where client calls ping to server and
> waits for the ack?


Why are you talking about pings?

4. We saw that some of the calls receive `waiting_for_connection` in the
> description of the deadline exceeded exception on client side. Is it due to
> the ping call timing out or the method call timing out?
>

waiting_for_connection is part of the additional details that grpc-java
provides. To tell you what is happening, we need that debug information.

waiting_for_connection means the load balancer hadn't selected a connection
for the RPC. So that means the RPC was never sent. This is commonly caused
by slow DNS or connection establishment, or the server being unavailable.
waiting_for_connection is temporary; after a while the connection attempt
will fail and RPCs will fail, or the connection attempt succeeds and RPCs
are sent to a server.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oPVN3_RsCq%2BUhYaYyNkTe1iy8bvjxtxKC11dF%3D2utQoNQ%40mail.gmail.com.

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

Reply via email to