BrokenPipeError: [Errno 32] Broken pipe

Started by thomas-hn, October 03, 2020, 06:23:22 PM

Previous topic - Next topic
Hello,

in the log "System => Log Files => Backend" of my OPNsense 20.7.3-amd64 I'm getting a lot of errors regarding "Broken Pipe":


2020-10-03T18:22:04 configd.py[99296] unable to sendback response [OK ] for [dyndns][reload][None] {9760f158-f647-47c8-a6bf-4636d2ebf47a}, message was Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 202, in run self.connection.sendall(('%s\n' % result).encode()) BrokenPipeError: [Errno 32] Broken pipe

2020-10-03T18:12:04 configd.py[99296] unable to sendback response [OK ] for [dyndns][reload][None] {8bae6717-80e7-4052-a4c2-de7c14ee0e35}, message was Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 202, in run self.connection.sendall(('%s\n' % result).encode()) BrokenPipeError: [Errno 32] Broken pipe

2020-10-03T18:05:02 configd.py[99296] unable to sendback response [OK ] for [interface][newip][['ix0']] {2002f95d-cf17-4130-8dad-27338170a6a1}, message was Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 202, in run self.connection.sendall(('%s\n' % result).encode()) BrokenPipeError: [Errno 32] Broken pipe

2020-10-03T18:04:52 configd.py[99296] unable to sendback response [OK ] for [interface][linkup][['start', 'ix0']] {fa705b72-dcbe-49af-95f2-bd4966c646f7}, message was Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 202, in run self.connection.sendall(('%s\n' % result).encode()) BrokenPipeError: [Errno 32] Broken pipe


As far as I know, the problem is that OPNsense loses its Pipe to the specific backend service. Whenever a module runs into the "BrokenPipeError" the GUI cannot provide any data about this module anymore (e.g. loading "Services => Dynamic DNS" hangs).

Does someone know this problem and how to fix it? As you can see in my attached lines of the log, different modules are affected.

Thanks,

Thomas

It seems that the IPS (Services => Intrusion Detection) blocked something which causes the pipes between OPNsense and its Backend to break. After deactivating the IPS, the problems with the BrokenPipes seem to be gone.