ASN1Parse is healthy but stops to emit tuples

This can occur if the input data contains padding bytes.

Symptoms

The nBytesReceivedTotal and nBytesReceived metric values increase but the operator does not emit any tuples. You can use the optional metrics/statistics output port to diagnose the problem. The nBytesDropped() custom output function will show a value greater than zero, if this problem occurs.

Causes

This can happen if the input binary data contains padding bytes between ASN.1 data structures. Although this is not compliant to the ASN.1 standards, some network elements emit files in this format.

Resolving the problem

Configure the parser to ignore additional padding bytes between ASN.1 data structures. You can set the value of the bytes to ignore. For example to ignore padding bytes with the value zero, set the operator parameter to:


padding: 0ub;