OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: scream on August 06, 2019, 04:13:24 pm

Title: ICAP protocol error. after reboot of opnsense
Post by: scream on August 06, 2019, 04:13:24 pm
Hi together

I run web proxy (squid) with blacklist and ICAP is activated.
Then there is C-ICAP and ClamAV installed and configured.

Everything works fine but and also virus is filtered (if I try it with eicar).

After every reboot I can't open any webpage. There is always a error `ICAP protocol error.`

The error can be solved by just restart "squid" in the opnsense GUI. But it's anoying.

Any hints why this happens? Is this a known bug?

OPNsense 19.7.2-amd64
FreeBSD 11.2-RELEASE-p12-HBSD
OpenSSL 1.0.2s 28 May 2019
os-c-icap 1.7
os-clamav   1.7
squid 4.8_1


Title: Re: ICAP protocol error. after reboot of opnsense
Post by: fabian on August 06, 2019, 06:41:54 pm
I think this is the squid bug where it marks the service as down when it gets a request and the ICAP service is not yet started. The fix would be simply changing the start order of the services. Sadly I have no idea how to do that in rc.