flowd_aggregate service crashing after the last system update

Started by hakuna, March 01, 2021, 05:57:28 AM

Previous topic - Next topic
Hi guys,

Since the last system update, I can no longer see Trafic Graphic, Traffic or Insight.
Also, the service flowd_aggregate crashes every time I try to start it.
This is what the logs shows:

2021-03-01T15:43:22 /flowd_aggregate.py[9821] flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 160, in run aggregate_flowd(self.config, do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 80, in aggregate_flowd stream_agg_object.add(copy.copy(flow_record)) File "/usr/local/opnsense/scripts/netflow/lib/aggregates/source.py", line 107, in add flow['service_port'] = min(flow['dst_port'], flow['src_port']) KeyError: 'dst_port'

Before the update which I did a few weeks ago when it was released, everything was working fine.
I did find some old post back in 2016 I believe reporting the same issues so I am not sure if this is a known bug returning.

I appreciate any help.

Thanks guys.