protobuf错误类似 String field 'xxx' contains invalid UTF-8 data when serializing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
错误的原因是.proto文件中存在中文的string字段类型 ,将string改为bytes即可。
重新编译proto文件
错误的原因是.proto文件中存在中文的string字段类型 ,将string改为bytes即可。
重新编译proto文件