Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Sqstat Issue

    Scheduled Pinned Locked Moved Cache/Proxy
    17 Posts 5 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      azaer
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • A
        azaer
        last edited by

        No One !!!!!!!!!!!!!!!!!!!!!!!

        C 1 Reply Last reply Reply Quote 0
        • C
          CZvacko @azaer
          last edited by

          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.
          80488fd2-e01a-4315-b63a-63a9a40a6b32-image.png

          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

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Almost always because you have set Squid to listen on specific interfaces only and didn't include localhost.

            C 1 Reply Last reply Reply Quote 0
            • C
              CZvacko @stephenw10
              last edited by

              @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...

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Is there actually any data to be displayed yet?

                C 1 Reply Last reply Reply Quote 0
                • C
                  CZvacko @stephenw10
                  last edited by

                  @stephenw10 Yes, users use proxy already and Lightsquid can display summary.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Oh, so what actually fails in your install?

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      CZvacko @stephenw10
                      last edited by

                      @stephenw10 Sqstat should display current/online connections, but fails with above error.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Hmm, that works fine here but note it's using the actual proxy port:
                        Screenshot from 2024-01-11 14-37-12.png

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          CZvacko @stephenw10
                          last edited by

                          @stephenw10 My proxy port was changed to 8080, in other system it didn't caused any troubles (with SQStat).

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            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?

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              CZvacko @stephenw10
                              last edited by CZvacko

                              @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 ?

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                That system is running 23.09.1. It's almost identical to 2.7.2 for Squid/Lightsquid.

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  CZvacko @stephenw10
                                  last edited by

                                  @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 ?

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S stephenw10 moved this topic from General pfSense Questions on
                                  • A
                                    anemacuore
                                    last edited by

                                    Alguém encontrou solução para este problema?

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      nozim @anemacuore
                                      last edited by

                                      @anemacuore 2.8.0 is work (update)

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.