rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: PROTOCOL_ERROR
使用grpc-go调用grpc服务端时,出现rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: PROTOCOL_ERROR报错时。
注意检查metadata里面的key有没有大写字母,建议使用metadata.MD带的Set方法,它会处理好大小写的问题。