No Live View of firewall log

Started by JeroenS, April 16, 2025, 09:11:58 PM

Previous topic - Next topic
I am trying to setup a new VPN connecting and want to see how the firewall is behaving in de log.

However the webinterface is showing me nothing eventhough I have rules enabled to be logged.

In the Backend log I get these errors when i try to view the logs.

2025-04-16T21:06:52 Error configd.py [b77a5230-2a2a-44ff-82b0-6322d482dba2] Script action failed with Command '/usr/local/opnsense/scripts/filter/read_log.py /limit '1000' /digest ''' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 78, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/filter/read_log.py /limit '1000' /digest ''' returned non-zero exit status 1.
2025-04-16T21:06:52 Notice configd.py [b77a5230-2a2a-44ff-82b0-6322d482dba2] request filter log output
2025-04-16T21:06:51 Error configd.py [ea9623b7-2099-4bdf-a351-b0614a176364] Script action failed with Command '/usr/local/opnsense/scripts/filter/read_log.py /limit '1000' /digest ''' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 78, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/filter/read_log.py /limit '1000' /digest ''' returned non-zero exit status 1.
2025-04-16T21:06:51 Notice configd.py [ea9623b7-2099-4bdf-a351-b0614a176364] request filter log output

Has somebody any suggestions on how to fix this?

Please update to the latest (hotfix) version.


Cheers,
Franco

Curious.... So, I still have no live-view logs.... Seeing this post gave me hope...

however:
root@evey /home/wolfspyre]#  /usr/local/opnsense/scripts/filter/read_log.py --limit '1000'  --stream
event: keepalive
data:
event: keepalive
data:
event: keepalive
data:
event: keepalive
data:
event: keepalive
data:
event: keepalive
data:
[root@evey /home/wolfspyre]# opnsense-version
OPNsense 25.7.a_329 (amd64)


got any suggestions on what to look into?

Dear franco,

Thanks for the fix.

I can confirm that the problem is solved.