Recently, I encountered a problem when using golang grpc stream.
After receiving data for a period of time, the receiver suddenly prints grpc: failed to unmarshal the received message proto: can’t skip unknown wire type seven
And it’s not going to recover.
Check the source code, found that this error, generally is the incoming message out of the problem, resulting in parsing failure.
It is also possible that the Pb used is not updated, resulting in failure of alignment and parsing.
So I tried to update all the Pb used, and found that this problem has not been solved.
Then we put the doubt on the message.
Looking at the code, we found that after the sender sent the data, this part of the data was modified by other cooperators!
Read More:
- error: unknown type name ‘uint8_t‘ [Howt to Solve]
- How to Solve Angular Error: error NG8002: Can‘t bind to ‘ngModel‘ since it isn‘t a known property of ‘input‘.
- [Solved] npm Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.
- Sqoop Error: Can‘t parse input data: ‘\N‘ [How to Solve]
- How to Solve TypeError: type numpy.ndarray doesn‘t define __round__ method
- [Solved] selenium.common.exceptions.WebDriverException: Message: An unknown server-side error
- [Webpack Update] vue-loader Error: Compiled with problems : ERRORModule notfound: Error:Can‘ t resolve vue in
- [Solved] panic: proto: duplicate enum registered: raftpb.EntryType
- TensorFlow issue: Expected int32, got list containing Tensors of type ‘_Message’ instead.
- [Solved] redis Error: Can‘t save in background fork Cannot allocate memory
- [Solved] Error: Can‘t locate revision identified by ‘xxx‘
- [Solved] unknown error: DevToolsActivePort file doesn‘t exis
- [Solved] Error dropping database (can‘t rmdir “emos“ errno: 39)
- Module not found: Error: Can‘t resolve ‘sass-loader‘
- [Solved] Yolox Run Error: can‘t find starting number
- Module not found: Error: Can‘t resolve ‘sass-loader‘ in…
- [Solved] MYSQLD: Can‘t create directory ‘/usr/local/mysql/data/’(Errcode:2 -No such file or directory)
- [Solved] Fatal message conversion error; message rejected; it will be dropped or routed to a dead letter exchan
- [Solved] react Error: Can‘t perform a React state update on an unmounted component
- [Solved] spark sql Error: Can‘t zip RDDs with unequal numbers of partitions