C++ grpc 1.0.0 client connect to grpc 1.38 server got the erro_code 14 without error_message

24 views
Skip to first unread message

winters kwok

unread,
Apr 20, 2022, 11:20:52 PM4/20/22
to grpc.io
C++ test cases between grpc 1.0.0 client and grpc 1.38.1 server. 

gRPC client log code pieces:
if (status.ok())
{
  ...
}
else
{
  std::cout << status.error_code() << ": " << status.error_message() << std::endl;
}

The logs show as follow: 
"14:"
Nothing else.

The test run a couple of hours and got more than 10 erro_code "14:", but did not get any error_message.

How to figure out what is the issue? any suggestion? Thank you very much!

veb...@google.com

unread,
May 25, 2022, 6:27:57 PM5/25/22
to grpc.io
14 means UNAVAILABLE indicating that the backend isn't available. If you can get extra logging & tracing by https://github.com/grpc/grpc/blob/master/TROUBLESHOOTING.md, it would be helpful for you to understand what happened.
And gRPC C++ 1.0 is really old so I recommend to upgrade to the latest.

Reply all
Reply to author
Forward
0 new messages