gnmic icon indicating copy to clipboard operation
gnmic copied to clipboard

Event plugin does not handle int64 values

Open netixx opened this issue 3 months ago • 2 comments

Hello,

I chased down a bug recently in our processing system. We use event-plugin system in our pipeline.

I found that if the "values" contain an int64 value, then the plugin communication will fail with the following message:

2025/09/22 09:04:34.640184 [event-plugin] RPC client call error: reading body unexpected EOF
...
2025/09/22 09:05:34.665183 [event-plugin] RPC client call error: connection is shut down

Casting the values to int "fixes" the issue. I don't know what the underlying issue could be, probably something around serialization of messages in the socket between plugin and gnmic ?

netixx avatar Sep 22 '25 09:09 netixx

Do you see some logs on your plugin side? Something like this maybe: gob: type not registered for interface: int64 ?

karimra avatar Sep 22 '25 17:09 karimra

I don't have any logs of the kind on the plugin side (I don't have any other logs than the ones I programmed in the plugin actually).

netixx avatar Sep 23 '25 08:09 netixx