gRPC currently doesn't have a way for knowing specific transport errors, except the general status code(https://github.com/grpc/grpc/blob/master/doc/statuscodes.md). Some specific transport errors are logged, but processing logs is generally not a recommended way to handle such tasks(Since logs are not part of the API, and they can change over time). We considered supporting such things in https://github.com/grpc/grpc/issues/25626, but it is still in a very early stage.
On Wednesday, April 14, 2021 at 9:34:30 PM UTC-7 Ujjal Raj wrote: > Thanks for the reply. I am using C++. > Thanks > > On Wed, Apr 14, 2021 at 7:23 PM Sanjay Pujare <[email protected]> > wrote: > >> Which language are you going to use gRPC in? >> >> On Wed, Apr 14, 2021 at 6:01 PM Ujjal Raj <[email protected]> wrote: >> >>> Hello Team >>> I have recently started using gRPC and have a simple question. Is there >>> a way to know the error happening at the transport layer especially incase >>> when TLS/SSL is being used ? >>> if yes then how those errors are pushed to the client application ? It >>> is really important for the client to know about the error happening at the >>> below layer and if interested can take some action on it. This is >>> especially required for server side implementation. >>> If possible please let me know or redirect me to any tutorial. >>> Thanks in advance >>> >>> Thanks >>> Raj >>> >>> -- >>> 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/CADGSt1s_N83c%2Bnw-s85nv0jBvtez1zemHN6PoKG6E1_fZHV2TQ%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/grpc-io/CADGSt1s_N83c%2Bnw-s85nv0jBvtez1zemHN6PoKG6E1_fZHV2TQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> > > -- > Ujjal Sikdar > -- 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/746149ba-5e71-433d-b36b-b46a6fbf6f69n%40googlegroups.com.
