libprotobuf error for non utf-8 characters in VNM.OUT
search cancel

libprotobuf error for non utf-8 characters in VNM.OUT

book

Article ID: 198708

calendar_today

Updated On:

Products

Spectrum Network Observability

Issue/Introduction

The following error is logged in the VNM.OUT file:

****************************************************
[libprotobuf ERROR ..\..\..\..\third_party\protobuf\src\google\protobuf\wire_format_lite.cc:629] String field 'SpectrumCMGRPC.ConfigText.configText' contains invalid UTF-8 data when serializing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
******************************************

The following error is also seen in the NCMSERV.OUT file

SEVERE: Exception while executing runnable io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1@6b93a571
io.grpc.StatusRuntimeException: INTERNAL: Invalid protobuf byte sequence

Environment

Release : 10.4.3, 21.2.8

Component : SPCAPP - NCM

Cause

Protobuf errors are displayed on VNM.OUT when non-utf-8 characters sent to ncmservice on the configText.

Resolution

For Spectrum 21.2.8 please open up a support issue and request patch 21.02.08.D66

This problem is also solved natively in Spectrum 22.2.1 release :

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/22-2/release-information/issues-resolved.html#concept.dita_188e7983f62d76af958724885263d22e54228d46_div_1