grpc: gRPC throws "Did not read entire message" for unknown reason

What version of gRPC and what language are you using?

v1.24.3, C++, Python

What operating system (Linux, Windows,…) and version?

Linux, Ubuntu 18.04, x64

What runtime / compiler are you using (e.g. python version or version of gcc)

gcc --version
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
python3 --version
Python 3.6.8

What did you do?

We use gRPC in our product (thank you for it). Our testers reported a bug that one of the APIs didn’t work.

What did you expect to see?

Working rpc.

What did you see instead?

"Did not read entire message","grpc_status":13"

For no reason we faced the error ^^ above. I did some investigations and figured out that the issue could be fixed simply by the variables re-ordering in that particular message.

Sample application

I’ve written a sample application to confirm the bug https://github.com/AntonQubecinema/grpc-issue. Please refer to README for the details.

If you need any help, feel free to contact me here.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 21 (15 by maintainers)

Most upvoted comments

@yashykt @lidizheng Me added C++ client to the demo Both tests passed for C++ client. See the tracing logs attached. test-client.log test-server.log