Information regarding the SSL/transport layer error handling in gRPC

56 views
Skip to first unread message

Ujjal Raj

unread,
Apr 14, 2021, 9:01:30 PM4/14/21
to grp...@googlegroups.com
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

Sanjay Pujare

unread,
Apr 14, 2021, 9:23:44 PM4/14/21
to Ujjal Raj, grpc.io
Which language are you going to use gRPC in?

--
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 grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CADGSt1s_N83c%2Bnw-s85nv0jBvtez1zemHN6PoKG6E1_fZHV2TQ%40mail.gmail.com.
Message has been deleted

Ujjal Raj

unread,
Apr 15, 2021, 12:34:30 AM4/15/21
to Sanjay Pujare, grpc.io
Thanks for the reply. I am using C++.
Thanks
--
Ujjal Sikdar

Zhen Lian

unread,
Apr 15, 2021, 2:29:21 PM4/15/21
to grpc.io
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.

Reply all
Reply to author
Forward
0 new messages