Sqstat Issue
-
Hi all,
I have pfSense 2.3.2 with LightSquid, Squid proxy and SquidGuard filter.
squid is configured (http/https non transperant) through WPAD file using DHCP and everything is working fine except one thing:
when i enable SquidGuard i no more can access LightSquid SQStat and i get this error:Error (1): Cannot get data. Server answered: HTTP/1.1 404 Not Found
it's working fine when i disable SguidGuard
Any one can help please?
Thank You
-
No One !!!!!!!!!!!!!!!!!!!!!!!
-
I'm also facing this problem, with a new system (based on version 2.7.2).
In other running systems it works normally, I don't know what makes the difference.
Instead of (unknown) there is usually something like squid/5.8
grep "404.*active_requests" /var/squid/logs/access.log shows multiple lines as below
1704890200.079 0 127.0.0.1 TCP_MISS/404 3945 GET cache_object://localhost/active_requests - HIER_NONE/- text/html -
Almost always because you have set Squid to listen on specific interfaces only and didn't include localhost.
-
@stephenw10
Hi, after installing packages, squid didn't listen on loopback interface, thats true. But when I config LightSquid, it asked me to select also loopback, so I did it. I also tried change some setting in LightSquid (use SSL, report language), restarted services and whole system, still unresolved... -
Is there actually any data to be displayed yet?
-
@stephenw10 Yes, users use proxy already and Lightsquid can display summary.
-
Oh, so what actually fails in your install?
-
@stephenw10 Sqstat should display current/online connections, but fails with above error.
-
Hmm, that works fine here but note it's using the actual proxy port:
-
@stephenw10 My proxy port was changed to 8080, in other system it didn't caused any troubles (with SQStat).
-
Hmm, works fine on port 8080 for me too.
It's throwing that error because the page isn't present. Do you have local caching disabled maybe?
-
@stephenw10 Local caching was disabled till now, but when I enabled it now, nothing changed. Squid+Lightsquid service restarted...
Edit: maybe its some bug in 2.7.2, I have other running systems, 2 almost exact, one with 2.7.0 - there is SQStat functional, second with 2.7.2 and here I noticed same 404 problem. I think SQStat was functional in second. Your system is what version ?
-
That system is running 23.09.1. It's almost identical to 2.7.2 for Squid/Lightsquid.
-
@stephenw10 To do some debug, I compared packages in first system (with 2.7.0) against second system (with 2.7.2) and they are same. Even system files in usr/local/www/sqstat/ are identical.
BTW, are you able move this topic into correct Cache/Proxy category ?
-
-
Alguém encontrou solução para este problema?